Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.0009155/0.0009155, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001299/0.001299, allocations: 140 kB / 24.89 MB, free: 9.227 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.8781/0.8781, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 268.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.64e-05, allocations: 2.312 kB / 268.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01179/0.01182, allocations: 10.58 MB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.01944, allocations: 3.762 MB / 282.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.02076, allocations: 39.81 kB / 282.8 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1137/0.1345, allocations: 8.151 MB / 291 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005903/0.1404, allocations: 4.697 MB / 295.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1424, allocations: 0.9614 MB / 296.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008264/0.1507, allocations: 5.402 MB / 302 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1518, allocations: 0.5807 MB / 302.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006873/0.1587, allocations: 3.556 MB / 306.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.1629, allocations: 4.569 MB / 310.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006487/0.1636, allocations: 344 kB / 311.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.1642, allocations: 380.8 kB / 311.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.1648, allocations: 1.909 MB / 313.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.1662, allocations: 1.4 MB / 314.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.169, allocations: 4.345 MB / 319.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.169, allocations: 0.8125 kB / 319.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.169, allocations: 0 / 319.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000264/0.1693, allocations: 0.8125 kB / 319.1 MB, free: 5.5 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.005637/0.1749, allocations: 7.634 MB / 326.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1749, allocations: 8.922 kB / 326.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.1756, allocations: 0.6292 MB / 327.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.1777, allocations: 2.749 MB / 330.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/0.1778, allocations: 156.5 kB / 330.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.178, allocations: 212.3 kB / 330.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.1797, allocations: 1.564 MB / 332.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.1798, allocations: 0 / 332.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.1799, allocations: 88 kB / 332.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1799, allocations: 55.88 kB / 332.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.1807, allocations: 0.6141 MB / 332.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006779/0.1875, allocations: 4.428 MB / 337.2 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.1888, allocations: 1.251 MB / 338.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008928/0.1897, allocations: 0.7856 MB / 339.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.1898, allocations: 50.3 kB / 339.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/0.1905, allocations: 0.8779 MB / 340.2 MB, free: 1.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=242): time 4.789e-06/0.1905, allocations: 0 / 340.2 MB, free: 1.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=367): time 0.0255/0.216, allocations: 13.63 MB / 353.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01132/0.2274, allocations: 8.514 MB / 362.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006154/0.2335, allocations: 8.647 MB / 371 MB, free: 3.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003815/0.2339, allocations: 85.7 kB / 371.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009122/0.2348, allocations: 1.591 MB / 372.7 MB, free: 2.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/0.2356, allocations: 1.266 MB / 373.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005647/0.2362, allocations: 0.5232 MB / 374.5 MB, free: 416 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.2363, allocations: 301.1 kB / 374.8 MB, free: 112 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009135/0.2372, allocations: 491.3 kB / 375.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.2382, allocations: 0.983 MB / 376.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.2398, allocations: 1.483 MB / 377.7 MB, free: 13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2399, allocations: 0 / 377.7 MB, free: 13 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.00399/0.2438, allocations: 2.752 MB / 380.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2439, allocations: 10.97 kB / 380.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.2439, allocations: 8 kB / 380.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/0.2478, allocations: 1.772 MB / 382.2 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.249, allocations: 0.521 MB / 382.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.2607, allocations: 16.34 MB / 399.1 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.2627, allocations: 111.9 kB / 399.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.2629, allocations: 79.97 kB / 399.3 MB, free: 6.785 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,4,100.0%), (1,3,100.0%), (1,5,100.0%), (1,4,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.00112/0.264, allocations: 290.6 kB / 399.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008087/0.2648, allocations: 0.5501 MB / 400.1 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/0.27, allocations: 2.958 MB / 403.1 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/0.27, allocations: 36 kB / 403.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.27, allocations: 4 kB / 403.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.27, allocations: 15.94 kB / 403.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.2801, allocations: 5.536 MB / 408.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.2801, allocations: 0 / 408.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.2815, allocations: 447.4 kB / 409.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005745/0.2873, allocations: 2.3 MB / 411.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.2875, allocations: 75.97 kB / 411.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.3005, allocations: 15.22 MB / 426.7 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01274/0.3132, allocations: 7.543 MB / 434.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1197/0.4329, allocations: 3.481 MB / 437.7 MB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009815/0.4339, allocations: 0.6809 MB / 438.4 MB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007199/0.4346, allocations: 69.47 kB / 438.5 MB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.4356, allocations: 98.58 kB / 438.6 MB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005495/0.4362, allocations: 288 kB / 438.9 MB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.4363, allocations: 70.12 kB / 438.9 MB, free: 113.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005121/0.4414, allocations: 4.757 MB / 443.7 MB, free: 113.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4414, allocations: 0.7188 kB / 443.7 MB, free: 113.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003106/0.4446, allocations: 1.081 MB / 444.8 MB, free: 113.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.4459, allocations: 0.6003 MB / 445.4 MB, free: 113.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003695/0.4496, allocations: 3.156 MB / 448.5 MB, free: 112.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00011/0.4497, allocations: 84.19 kB / 448.6 MB, free: 112.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.4519, allocations: 2.472 MB / 451.1 MB, free: 111.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.4541, allocations: 0.5567 MB / 451.6 MB, free: 111.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.4676, allocations: 13.14 MB / 464.8 MB, free: 105.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.469, allocations: 1.551 MB / 466.3 MB, free: 104.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001187/0.4702, allocations: 297.2 kB / 466.6 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/0.471, allocations: 465.1 kB / 467.1 MB, free: 103.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.471, allocations: 0 / 467.1 MB, free: 103.6 MB / 378.7 MB Notification: Performance of Templates: time 0.07962/0.5507, allocations: 69.4 MB / 0.5239 GB, free: 38.82 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.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: 5.18514319928363]