Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.0009192/0.0009192, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0008832/0.0008832, allocations: 168 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9707/0.9707, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.291e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.009657/0.009679, allocations: 10.82 MB / 284.2 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006431/0.01611, allocations: 3.836 MB / 288 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.01786, allocations: 47.75 kB / 288.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1181/0.136, allocations: 8.161 MB / 296.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.1416, allocations: 4.78 MB / 301 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1435, allocations: 0.928 MB / 302 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.1486, allocations: 5.515 MB / 307.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008081/0.1494, allocations: 0.555 MB / 308 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.1533, allocations: 3.613 MB / 311.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003822/0.1571, allocations: 5.503 MB / 317.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004058/0.1575, allocations: 348 kB / 317.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.158, allocations: 395.8 kB / 317.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.1586, allocations: 1.925 MB / 319.8 MB, free: 208 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.1597, allocations: 1.43 MB / 321.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.1629, allocations: 4.419 MB / 325.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.163, allocations: 4 kB / 325.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.163, allocations: 3.219 kB / 325.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.27e-05/0.163, allocations: 0 / 325.7 MB, free: 10.68 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.006712/0.1697, allocations: 8.451 MB / 334.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1698, allocations: 12.03 kB / 334.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.1708, allocations: 1.106 MB / 335.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.1733, allocations: 3.126 MB / 338.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.914e-05/0.1734, allocations: 164.2 kB / 338.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.1736, allocations: 215.2 kB / 338.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.1752, allocations: 1.508 MB / 340.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.1752, allocations: 0 / 340.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1753, allocations: 87.28 kB / 340.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.1753, allocations: 48 kB / 340.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.1763, allocations: 0.7247 MB / 341.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007928/0.1842, allocations: 6.482 MB / 347.6 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.1857, allocations: 1.364 MB / 348.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009654/0.1867, allocations: 0.8539 MB / 349.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/0.1868, allocations: 53.22 kB / 349.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008097/0.1876, allocations: 0.8955 MB / 350.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 4.95e-06/0.1876, allocations: 0 / 350.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=371): time 0.02483/0.2124, allocations: 12.86 MB / 363.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01418/0.2266, allocations: 10.65 MB / 374.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009459/0.2361, allocations: 9.323 MB / 383.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004284/0.2365, allocations: 85.7 kB / 383.6 MB, free: 2.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003685/0.2402, allocations: 4.55 MB / 388.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/0.2416, allocations: 1.289 MB / 389.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008508/0.2425, allocations: 0.5385 MB / 390 MB, free: 12.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2426, allocations: 476.8 kB / 390.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2437, allocations: 0.5063 MB / 391 MB, free: 11.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.2452, allocations: 1.095 MB / 392.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.2477, allocations: 1.567 MB / 393.7 MB, free: 8.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.2477, allocations: 0 / 393.7 MB, free: 8.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006829/0.2545, allocations: 3.674 MB / 397.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.2545, allocations: 8 kB / 397.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.2545, allocations: 4 kB / 397.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/0.2604, allocations: 1.873 MB / 399.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.2622, allocations: 0.5329 MB / 399.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.2809, allocations: 22.88 MB / 422.6 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.2832, allocations: 99.97 kB / 422.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.2834, allocations: 91.91 kB / 422.8 MB, free: 10.46 MB / 378.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 (313): * Single equations (assignments): 304 * 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,3,100.0%), (1,4,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.001124/0.2845, allocations: 331.5 kB / 423.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.2855, allocations: 0.9824 MB / 424.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006088/0.2916, allocations: 3.451 MB / 427.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.2917, allocations: 39.98 kB / 427.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.2917, allocations: 4 kB / 427.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.2917, allocations: 19.94 kB / 427.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1232/0.4149, allocations: 7.531 MB / 435.2 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4149, allocations: 1.094 kB / 435.2 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.4162, allocations: 454.6 kB / 435.6 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/0.4212, allocations: 1.823 MB / 437.4 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/0.4216, allocations: 77.11 kB / 437.5 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.4331, allocations: 21.26 MB / 458.8 MB, free: 94.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01108/0.4442, allocations: 9.414 MB / 468.2 MB, free: 90.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/0.4496, allocations: 4.409 MB / 472.6 MB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009551/0.4506, allocations: 0.7486 MB / 473.3 MB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/0.4511, allocations: 63.16 kB / 473.4 MB, free: 88.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.4524, allocations: 91.52 kB / 473.5 MB, free: 88.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006341/0.453, allocations: 284.2 kB / 473.8 MB, free: 88.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.4532, allocations: 74.8 kB / 473.8 MB, free: 88.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004548/0.4577, allocations: 5.416 MB / 479.3 MB, free: 85.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4577, allocations: 0 / 479.3 MB, free: 85.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003203/0.4609, allocations: 1.1 MB / 480.4 MB, free: 84.33 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 (260): * Single equations (assignments): 249 * 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.001177/0.4621, allocations: 494 kB / 480.8 MB, free: 84.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003862/0.466, allocations: 3.799 MB / 484.6 MB, free: 80.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.466, allocations: 4.5 kB / 484.7 MB, free: 80.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002552/0.4685, allocations: 3.069 MB / 487.7 MB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.4711, allocations: 0.5775 MB / 488.3 MB, free: 76.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.4856, allocations: 13.57 MB / 0.4901 GB, free: 63.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.4875, allocations: 1.571 MB / 0.4916 GB, free: 61.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001426/0.4889, allocations: 305.2 kB / 0.4919 GB, free: 61.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.49, allocations: 0.5292 MB / 0.4924 GB, free: 60.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.49, allocations: 0 / 0.4924 GB, free: 60.84 MB / 378.7 MB Notification: Performance of Templates: time 0.08748/0.5775, allocations: 71.15 MB / 0.5619 GB, free: 6.105 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6096523171290755]