Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9565/0.9565, allocations: 158.6 MB / 187.5 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 251.5 MB, free: 7.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.737e-05, allocations: 2.312 kB / 251.5 MB, free: 7.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005932/0.00596, allocations: 4.163 MB / 255.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.009269, allocations: 1.636 MB / 257.3 MB, free: 1.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.009733, allocations: 12 kB / 257.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.01149, allocations: 1.05 MB / 258.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.01205, allocations: 266 kB / 258.6 MB, free: 168 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.01299, allocations: 0.716 MB / 259.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.01341, allocations: 0.653 MB / 260 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.01389, allocations: 469.3 kB / 260.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.0142, allocations: 403.1 kB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.01445, allocations: 287.2 kB / 261.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.01451, allocations: 56 kB / 261.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.01483, allocations: 255.6 kB / 261.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.0149, allocations: 143.4 kB / 261.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.01504, allocations: 223.4 kB / 261.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.01564, allocations: 0.6928 MB / 262.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01564, allocations: 0 / 262.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01565, allocations: 0 / 262.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.01565, allocations: 0 / 262.5 MB, free: 12.29 MB / 250.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.002032/0.01768, allocations: 1.315 MB / 263.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.01772, allocations: 15.98 kB / 263.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.01851, allocations: 347.9 kB / 264.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.01862, allocations: 187.7 kB / 264.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.01865, allocations: 54.38 kB / 264.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.01872, allocations: 72.38 kB / 264.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.01928, allocations: 0.5857 MB / 265 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01929, allocations: 192 / 265 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.01933, allocations: 32.38 kB / 265 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.01935, allocations: 19.94 kB / 265.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.01967, allocations: 276.8 kB / 265.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/0.02462, allocations: 2.218 MB / 267.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.02589, allocations: 0.6721 MB / 268.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.02622, allocations: 181.2 kB / 268.4 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-05/0.02629, allocations: 24.62 kB / 268.4 MB, free: 6.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.02633, allocations: 46.27 kB / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.495e-06/0.02633, allocations: 224 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001551/0.02788, allocations: 0.6568 MB / 269.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.02794, allocations: 123.4 kB / 269.3 MB, free: 5.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.02819, allocations: 300 kB / 269.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.02823, allocations: 37.7 kB / 269.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.02843, allocations: 359 kB / 269.9 MB, free: 4.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.02862, allocations: 265.7 kB / 270.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.02883, allocations: 152.2 kB / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.02901, allocations: 0.5273 MB / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.0292, allocations: 97.91 kB / 271 MB, free: 3.457 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.02957, allocations: 330.8 kB / 271.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.03016, allocations: 437 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.03017, allocations: 4 kB / 271.7 MB, free: 2.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001026/0.03119, allocations: 0.5864 MB / 272.3 MB, free: 1.945 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.03121, allocations: 8.031 kB / 272.3 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.03122, allocations: 11.94 kB / 272.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.03181, allocations: 159.2 kB / 272.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.03231, allocations: 155.8 kB / 272.6 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.03532, allocations: 4.381 MB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.03568, allocations: 79.44 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.03572, allocations: 20 kB / 277.1 MB, free: 12.91 MB / 266.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.0001945/0.03592, allocations: 200.4 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.03605, allocations: 71.66 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.03695, allocations: 0.5049 MB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.03696, allocations: 11.94 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.03696, allocations: 4 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.03697, allocations: 3.984 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.0387, allocations: 1.025 MB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.0387, allocations: 4 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.03911, allocations: 107.8 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.03962, allocations: 147.6 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.03966, allocations: 19.98 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/0.04213, allocations: 3.81 MB / 283 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.04214, allocations: 0 / 283 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.0432, allocations: 0.8067 MB / 283.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.04326, allocations: 59.52 kB / 283.9 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.04331, allocations: 12 kB / 283.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.04361, allocations: 16 kB / 283.9 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.04371, allocations: 60.48 kB / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.04374, allocations: 15.98 kB / 284 MB, free: 5.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.04388, allocations: 197.1 kB / 284.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04388, allocations: 0 / 284.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007694/0.04465, allocations: 227.5 kB / 284.4 MB, free: 5.289 MB / 266.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.0002338/0.04488, allocations: 158.8 kB / 284.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.04586, allocations: 0.7581 MB / 285.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.04586, allocations: 0 / 285.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.04644, allocations: 0.5626 MB / 285.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.0469, allocations: 56.36 kB / 285.9 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.04882, allocations: 1.007 MB / 286.9 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.04895, allocations: 136.6 kB / 287.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003302/0.04928, allocations: 88.31 kB / 287.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.04953, allocations: 138.2 kB / 287.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04953, allocations: 0 / 287.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of Templates: time 0.008917/0.05844, allocations: 6.624 MB / 293.9 MB, free: 11.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7692642332985997]