Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00077/0.00077, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003143/0.003143, allocations: 153.2 kB / 24.68 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8125/0.8125, allocations: 173.3 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.426e-05, allocations: 2.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003575/0.003599, allocations: 3.92 MB / 323.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.005473, allocations: 1.553 MB / 325.2 MB, free: 356 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.005635, allocations: 12 kB / 325.2 MB, free: 344 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.00692, allocations: 0.998 MB / 326.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.007312, allocations: 269.9 kB / 326.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009319/0.008244, allocations: 0.7459 MB / 327.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.00871, allocations: 0.6646 MB / 327.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006097/0.00932, allocations: 465.3 kB / 328.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.009704, allocations: 403.1 kB / 328.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.01001, allocations: 279.2 kB / 329 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.01007, allocations: 56 kB / 329 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.01071, allocations: 251.6 kB / 329.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.01078, allocations: 135.4 kB / 329.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.01091, allocations: 235.4 kB / 329.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.01165, allocations: 0.9929 MB / 330.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01165, allocations: 0 / 330.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01165, allocations: 0 / 330.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01166, allocations: 0 / 330.6 MB, free: 10.87 MB / 298.7 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.001945/0.01361, allocations: 1.192 MB / 331.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.01364, allocations: 8.922 kB / 331.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.01434, allocations: 216.3 kB / 332 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.01448, allocations: 184.9 kB / 332.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.01451, allocations: 54.38 kB / 332.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.01459, allocations: 72.38 kB / 332.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.01543, allocations: 0.7955 MB / 333.1 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.01545, allocations: 4.188 kB / 333.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.01549, allocations: 28.38 kB / 333.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.0155, allocations: 27.94 kB / 333.2 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.0163, allocations: 0.6571 MB / 333.9 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.01854, allocations: 2.185 MB / 336 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.01986, allocations: 0.8212 MB / 336.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.02024, allocations: 295.9 kB / 337.1 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.02029, allocations: 16.64 kB / 337.2 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.02032, allocations: 43.16 kB / 337.2 MB, free: 4.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.923e-06/0.02032, allocations: 0 / 337.2 MB, free: 4.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00146/0.02178, allocations: 0.9795 MB / 338.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.02183, allocations: 115.5 kB / 338.3 MB, free: 2.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.02202, allocations: 269.5 kB / 338.6 MB, free: 2.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.02206, allocations: 45.64 kB / 338.6 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.02218, allocations: 296.4 kB / 338.9 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.02229, allocations: 257.8 kB / 339.1 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.02242, allocations: 134.6 kB / 339.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.02251, allocations: 350.8 kB / 339.6 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.02281, allocations: 225.9 kB / 339.8 MB, free: 1.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.02319, allocations: 427.8 kB / 340.3 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.02388, allocations: 0.622 MB / 340.9 MB, free: 228 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.02389, allocations: 4 kB / 340.9 MB, free: 224 kB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009952/0.02488, allocations: 0.8307 MB / 341.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.0249, allocations: 8 kB / 341.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02491, allocations: 7.938 kB / 341.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.02518, allocations: 125.7 kB / 341.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.0255, allocations: 159.7 kB / 342 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.02776, allocations: 3.51 MB / 345.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.02801, allocations: 91.38 kB / 345.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.02804, allocations: 24 kB / 345.6 MB, free: 11.25 MB / 314.7 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.0001849/0.02823, allocations: 209.7 kB / 345.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.02828, allocations: 39.77 kB / 345.9 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008942/0.02917, allocations: 0.7414 MB / 346.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.02918, allocations: 8 kB / 346.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.02918, allocations: 4 kB / 346.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.02919, allocations: 3.984 kB / 346.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.0306, allocations: 1.29 MB / 347.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.03061, allocations: 3.938 kB / 347.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.03087, allocations: 115.8 kB / 348 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.03104, allocations: 105.6 kB / 348.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.03107, allocations: 16 kB / 348.2 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.03292, allocations: 3.073 MB / 351.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03292, allocations: 0 / 351.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.03406, allocations: 1.125 MB / 352.4 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.0341, allocations: 43.58 kB / 352.4 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.03413, allocations: 19.98 kB / 352.4 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.03431, allocations: 23.98 kB / 352.4 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.0344, allocations: 60.61 kB / 352.5 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.03442, allocations: 27.98 kB / 352.5 MB, free: 4.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.03453, allocations: 181.2 kB / 352.7 MB, free: 3.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03453, allocations: 4 kB / 352.7 MB, free: 3.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005795/0.03511, allocations: 219.5 kB / 352.9 MB, free: 3.656 MB / 314.7 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.0002415/0.03536, allocations: 147 kB / 353.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.03638, allocations: 0.856 MB / 353.9 MB, free: 2.621 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.03638, allocations: 1 kB / 353.9 MB, free: 2.621 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.03682, allocations: 0.5322 MB / 354.5 MB, free: 2.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.03712, allocations: 36.5 kB / 354.5 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.0385, allocations: 1.101 MB / 355.6 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.03868, allocations: 257.5 kB / 355.8 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.03881, allocations: 60.41 kB / 355.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of SimCode: time 9.61e-07/0.03881, allocations: 4 kB / 355.9 MB, free: 0.543 MB / 314.7 MB Notification: Performance of Templates: time 0.009275/0.04808, allocations: 11.8 MB / 367.7 MB, free: 4.742 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.826265045441687]