Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009943/0.0009943, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009911/0.0009911, allocations: 162.5 kB / 25.7 MB, free: 8.406 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.8451/0.8451, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.438e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008625/0.00865, allocations: 10.43 MB / 262 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.01309, allocations: 3.677 MB / 265.6 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006141/0.0137, allocations: 47.75 kB / 265.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005225/0.01892, allocations: 8.157 MB / 273.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.02317, allocations: 4.697 MB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.02454, allocations: 0.9398 MB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004053/0.0286, allocations: 5.407 MB / 284.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006404/0.02924, allocations: 0.5707 MB / 285.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.03156, allocations: 3.552 MB / 289 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/0.0345, allocations: 4.575 MB / 293.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003362/0.03484, allocations: 344 kB / 293.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.03531, allocations: 383.9 kB / 294.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009383/0.03625, allocations: 1.9 MB / 296.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008936/0.03714, allocations: 1.408 MB / 297.6 MB, free: 9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.04, allocations: 4.346 MB / 301.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.04, allocations: 3.938 kB / 301.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.04001, allocations: 0 / 301.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.04004, allocations: 0 / 301.9 MB, free: 4.633 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.005507/0.04555, allocations: 7.637 MB / 309.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.04558, allocations: 15.98 kB / 309.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.04609, allocations: 0.6253 MB / 310.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.04796, allocations: 2.744 MB / 313 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.04805, allocations: 156.5 kB / 313.1 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.04823, allocations: 208.4 kB / 313.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.04977, allocations: 1.568 MB / 314.9 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.04981, allocations: 11.88 kB / 314.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.04991, allocations: 80 kB / 315 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.04994, allocations: 56 kB / 315 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.05078, allocations: 0.6105 MB / 315.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005584/0.05637, allocations: 4.422 MB / 320.1 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.05776, allocations: 1.256 MB / 321.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009101/0.05867, allocations: 0.7796 MB / 322.1 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.05877, allocations: 54.3 kB / 322.2 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007384/0.05951, allocations: 0.8782 MB / 323 MB, free: 15.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 3.416e-06/0.05951, allocations: 0 / 323 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=367): time 0.02495/0.08447, allocations: 13.64 MB / 336.7 MB, free: 1.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0115/0.09597, allocations: 8.492 MB / 345.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1221/0.2181, allocations: 8.652 MB / 353.8 MB, free: 94.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004403/0.2186, allocations: 88.08 kB / 353.9 MB, free: 94.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.2203, allocations: 1.586 MB / 355.5 MB, free: 94.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007243/0.221, allocations: 1.27 MB / 356.8 MB, free: 93.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005476/0.2216, allocations: 0.5211 MB / 357.3 MB, free: 93.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.521e-05/0.2216, allocations: 305.1 kB / 357.6 MB, free: 93.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/0.2224, allocations: 485 kB / 358.1 MB, free: 93.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/0.2233, allocations: 0.9813 MB / 359 MB, free: 93.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.2249, allocations: 1.481 MB / 360.5 MB, free: 92.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.2249, allocations: 4.938 kB / 360.5 MB, free: 92.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.003975/0.2289, allocations: 2.756 MB / 363.3 MB, free: 92.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2289, allocations: 7.906 kB / 363.3 MB, free: 92.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.2289, allocations: 5.188 kB / 363.3 MB, free: 92.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003713/0.2326, allocations: 1.759 MB / 365.1 MB, free: 92.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.2337, allocations: 0.5236 MB / 365.6 MB, free: 92.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008874/0.2426, allocations: 16.34 MB / 381.9 MB, free: 78.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2436, allocations: 109.2 kB / 382 MB, free: 78.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.2437, allocations: 79.97 kB / 382.1 MB, free: 78.27 MB / 330.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.0007052/0.2444, allocations: 293.2 kB / 382.4 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/0.2448, allocations: 0.5521 MB / 382.9 MB, free: 77.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.248, allocations: 2.961 MB / 385.9 MB, free: 74.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.248, allocations: 36 kB / 385.9 MB, free: 74.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.248, allocations: 4 kB / 385.9 MB, free: 74.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.248, allocations: 23.94 kB / 386 MB, free: 74.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006012/0.2541, allocations: 5.546 MB / 391.5 MB, free: 69.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2541, allocations: 0 / 391.5 MB, free: 69.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/0.255, allocations: 447.4 kB / 391.9 MB, free: 68.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/0.2589, allocations: 2.292 MB / 394.2 MB, free: 66.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.259, allocations: 75.97 kB / 394.3 MB, free: 66.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007545/0.2666, allocations: 15.22 MB / 409.5 MB, free: 50.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008415/0.275, allocations: 7.541 MB / 417.1 MB, free: 42.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.279, allocations: 3.484 MB / 420.6 MB, free: 38.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/0.2794, allocations: 0.6759 MB / 421.2 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/0.2797, allocations: 68 kB / 421.3 MB, free: 38.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.2805, allocations: 95.95 kB / 421.4 MB, free: 38.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/0.2809, allocations: 283.2 kB / 421.7 MB, free: 37.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.519e-05/0.281, allocations: 71.97 kB / 421.7 MB, free: 37.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002643/0.2837, allocations: 4.753 MB / 426.5 MB, free: 32.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2837, allocations: 4 kB / 426.5 MB, free: 32.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002007/0.2857, allocations: 1.076 MB / 427.6 MB, free: 31.89 MB / 330.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.001102/0.2868, allocations: 0.6075 MB / 428.2 MB, free: 31.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.2893, allocations: 3.154 MB / 431.3 MB, free: 28.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.621e-05/0.2894, allocations: 84.5 kB / 431.4 MB, free: 27.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.2909, allocations: 2.472 MB / 433.9 MB, free: 25.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.2923, allocations: 0.5586 MB / 434.4 MB, free: 24.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009901/0.3022, allocations: 13.13 MB / 447.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.3032, allocations: 1.56 MB / 449.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008387/0.3041, allocations: 292.8 kB / 449.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/0.3049, allocations: 467 kB / 449.9 MB, free: 9.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3049, allocations: 0 / 449.9 MB, free: 9.238 MB / 330.7 MB Notification: Performance of Templates: time 0.1792/0.4841, allocations: 69.39 MB / 0.5071 GB, free: 98.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.126546150073409]