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.001112/0.001112, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.00151/0.00151, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.968/0.968, allocations: 177.1 MB / 205 MB, free: 5.582 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.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.735e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01144/0.01147, allocations: 11.17 MB / 284.1 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00642/0.01789, allocations: 3.845 MB / 288 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.01911, allocations: 47.75 kB / 288 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1262/0.1454, allocations: 8.164 MB / 296.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.1505, allocations: 4.78 MB / 301 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.1521, allocations: 0.9349 MB / 301.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005071/0.1572, allocations: 5.506 MB / 307.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.158, allocations: 0.5593 MB / 308 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.1614, allocations: 3.613 MB / 311.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.1646, allocations: 5.494 MB / 317.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.165, allocations: 348.5 kB / 317.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.1656, allocations: 398.9 kB / 317.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006364/0.1662, allocations: 1.923 MB / 319.7 MB, free: 32 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.1679, allocations: 1.434 MB / 321.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003486/0.1714, allocations: 4.422 MB / 325.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1714, allocations: 0 / 325.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1714, allocations: 0 / 325.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001966/0.1716, allocations: 0 / 325.6 MB, free: 10.5 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.007988/0.1796, allocations: 8.363 MB / 334 MB, free: 2.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1796, allocations: 17.25 kB / 334 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.1807, allocations: 1.104 MB / 335.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.1833, allocations: 3.16 MB / 338.2 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.1834, allocations: 156.2 kB / 338.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.1836, allocations: 208 kB / 338.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.1857, allocations: 1.651 MB / 340.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.1858, allocations: 0 / 340.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.1859, allocations: 88 kB / 340.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.1859, allocations: 48 kB / 340.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.1882, allocations: 0.9386 MB / 341.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.2014, allocations: 7.92 MB / 349.2 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.2042, allocations: 1.5 MB / 350.7 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.2059, allocations: 0.9337 MB / 351.7 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2061, allocations: 60.28 kB / 351.7 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.2075, allocations: 0.9532 MB / 352.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 5.721e-06/0.2075, allocations: 0 / 352.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.03516/0.2426, allocations: 18.37 MB / 371.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01634/0.259, allocations: 11.03 MB / 382.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008326/0.2673, allocations: 9.805 MB / 391.9 MB, free: 8.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005381/0.2678, allocations: 85.7 kB / 392 MB, free: 7.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002889/0.2707, allocations: 4.038 MB / 396 MB, free: 3.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.2717, allocations: 1.265 MB / 397.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006613/0.2724, allocations: 0.5349 MB / 397.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.2725, allocations: 476.8 kB / 398.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.2736, allocations: 0.5805 MB / 398.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.275, allocations: 1.15 MB / 400 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.2776, allocations: 1.777 MB / 401.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.2776, allocations: 0 / 401.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005978/0.2836, allocations: 3.947 MB / 405.7 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.2836, allocations: 8 kB / 405.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.2836, allocations: 4 kB / 405.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004815/0.2884, allocations: 1.904 MB / 407.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.2901, allocations: 0.5249 MB / 408.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1507/0.4408, allocations: 23.49 MB / 431.7 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.4434, allocations: 112.9 kB / 431.8 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.4437, allocations: 113.8 kB / 431.9 MB, free: 106.6 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,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.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,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.001301/0.445, allocations: 340 kB / 432.2 MB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009724/0.446, allocations: 0.9805 MB / 433.2 MB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007387/0.4534, allocations: 3.741 MB / 436.9 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.4534, allocations: 37.23 kB / 437 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-05/0.4534, allocations: 9.25 kB / 437 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/0.4534, allocations: 20.62 kB / 437 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.467, allocations: 9.114 MB / 446.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.467, allocations: 0 / 446.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.4681, allocations: 453.1 kB / 446.6 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004656/0.4728, allocations: 1.867 MB / 448.4 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.473, allocations: 71.66 kB / 448.5 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/0.4853, allocations: 21.8 MB / 470.3 MB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01168/0.4969, allocations: 9.769 MB / 480.1 MB, free: 81.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007476/0.5044, allocations: 4.846 MB / 484.9 MB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.5055, allocations: 0.7356 MB / 485.7 MB, free: 76.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/0.5059, allocations: 64 kB / 485.7 MB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/0.5069, allocations: 95.97 kB / 485.8 MB, free: 76.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/0.5074, allocations: 291.2 kB / 486.1 MB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.5075, allocations: 95.97 kB / 486.2 MB, free: 75.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005118/0.5126, allocations: 6.074 MB / 492.3 MB, free: 69.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5126, allocations: 0 / 492.3 MB, free: 69.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002694/0.5153, allocations: 1.094 MB / 493.4 MB, free: 68.73 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.00113/0.5165, allocations: 485.4 kB / 493.8 MB, free: 68.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004058/0.5205, allocations: 4.044 MB / 497.9 MB, free: 64.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.5205, allocations: 0 / 497.9 MB, free: 64.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.523, allocations: 3.185 MB / 0.4893 GB, free: 60.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.5252, allocations: 0.5763 MB / 0.4899 GB, free: 60.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.5386, allocations: 13.81 MB / 0.5034 GB, free: 46.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.5396, allocations: 1.58 MB / 0.5049 GB, free: 44.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001223/0.5409, allocations: 313.1 kB / 0.5052 GB, free: 44.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.5413, allocations: 172.5 kB / 0.5054 GB, free: 44.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5413, allocations: 0 / 0.5054 GB, free: 44.34 MB / 378.7 MB Notification: Performance of Templates: time 0.192/0.7333, allocations: 69.76 MB / 0.5735 GB, free: 119.5 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.92600591480732]