Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 64.36 kB / 307 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08501/0.08616, allocations: 50.53 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005411/0.09159, allocations: 4.318 MB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.09431, allocations: 1.724 MB / 363.5 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.09452, allocations: 12 kB / 363.5 MB, free: 8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.09673, allocations: 1.019 MB / 364.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.09724, allocations: 254.2 kB / 364.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.09869, allocations: 0.7625 MB / 365.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.09926, allocations: 0.6297 MB / 366.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007605/0.1, allocations: 0.5211 MB / 366.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.1004, allocations: 278.9 kB / 367 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.1008, allocations: 354.5 kB / 367.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.1009, allocations: 56 kB / 367.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.1014, allocations: 291.7 kB / 367.7 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1015, allocations: 139.5 kB / 367.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.1018, allocations: 326.4 kB / 368.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.1028, allocations: 0.9734 MB / 369.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1028, allocations: 0 / 369.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1028, allocations: 0 / 369.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1028, allocations: 0 / 369.1 MB, free: 2.414 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003533/0.1064, allocations: 1.264 MB / 370.4 MB, free: 1.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1064, allocations: 8.031 kB / 370.4 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1078, allocations: 204 kB / 370.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.108, allocations: 258.4 kB / 370.8 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.1081, allocations: 58.38 kB / 370.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1082, allocations: 72.38 kB / 371 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.162/0.2702, allocations: 0.7602 MB / 371.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.2703, allocations: 4.75 kB / 371.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.2704, allocations: 33.45 kB / 371.8 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.2704, allocations: 19.31 kB / 371.8 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.2718, allocations: 0.6622 MB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.2757, allocations: 3.268 MB / 375.7 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.2777, allocations: 2.071 MB / 377.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.2783, allocations: 321.2 kB / 378.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.2784, allocations: 180.9 kB / 378.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2784, allocations: 43.16 kB / 378.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/0.2784, allocations: 0 / 378.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00246/0.2809, allocations: 1.134 MB / 379.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.281, allocations: 111.8 kB / 379.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.2812, allocations: 281.4 kB / 379.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.2813, allocations: 38.12 kB / 379.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2814, allocations: 297.9 kB / 380.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2815, allocations: 243.6 kB / 380.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.2817, allocations: 143.6 kB / 380.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.2818, allocations: 347.3 kB / 380.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.2823, allocations: 230.7 kB / 381.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.2828, allocations: 381.5 kB / 381.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.2838, allocations: 0.6403 MB / 382.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2838, allocations: 0 / 382.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001412/0.2853, allocations: 0.8278 MB / 382.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2853, allocations: 5.688 kB / 382.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2853, allocations: 3.875 kB / 382.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.2857, allocations: 132.1 kB / 383.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.2863, allocations: 156.6 kB / 383.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.2889, allocations: 3.795 MB / 387 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.2893, allocations: 80.59 kB / 387.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.2894, allocations: 36.17 kB / 387.1 MB, free: 8.891 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.2896, allocations: 195.6 kB / 387.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2898, allocations: 44.47 kB / 387.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2913, allocations: 0.7394 MB / 388.1 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.2913, allocations: 8.406 kB / 388.1 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2914, allocations: 5.344 kB / 388.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.2914, allocations: 4.703 kB / 388.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.2938, allocations: 1.498 MB / 389.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2938, allocations: 5.484 kB / 389.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.2943, allocations: 108.8 kB / 389.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.2946, allocations: 115.9 kB / 389.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.2946, allocations: 18.08 kB / 389.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.2966, allocations: 3.349 MB / 393.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2967, allocations: 0.8438 kB / 393.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.2984, allocations: 1.117 MB / 394.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.2985, allocations: 127.5 kB / 394.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.2986, allocations: 16.64 kB / 394.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.299, allocations: 31.08 kB / 394.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.2991, allocations: 54.73 kB / 394.6 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.2992, allocations: 23.16 kB / 394.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.2993, allocations: 194.3 kB / 394.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2993, allocations: 0 / 394.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007459/0.3001, allocations: 215 kB / 395 MB, free: 3.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002319/0.3003, allocations: 153 kB / 395.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.302, allocations: 0.9122 MB / 396 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.302, allocations: 0 / 396 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006971/0.3027, allocations: 0.5507 MB / 396.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.3032, allocations: 48.53 kB / 396.6 MB, free: 2.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.305, allocations: 1.12 MB / 397.8 MB, free: 1.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3053, allocations: 0.8597 MB / 398.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.3056, allocations: 84.73 kB / 398.7 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3058, allocations: 47.58 kB / 398.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3058, allocations: 0 / 398.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of Templates: time 0.01071/0.3165, allocations: 6.198 MB / 405 MB, free: 14.23 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches