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.001063/0.001063, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0008995/0.0008995, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9812/0.9812, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.743e-06/1.743e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.793e-05, allocations: 14.19 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.00918/0.009208, allocations: 10.88 MB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005805/0.01501, allocations: 3.623 MB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.01604, allocations: 47.75 kB / 282.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1296/0.1456, allocations: 8.139 MB / 290.7 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006561/0.1522, allocations: 4.694 MB / 295.4 MB, free: 18.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.1541, allocations: 0.9526 MB / 296.3 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006454/0.1605, allocations: 5.412 MB / 301.7 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.1613, allocations: 0.5542 MB / 302.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.1651, allocations: 3.542 MB / 305.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.1686, allocations: 5.477 MB / 311.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.169, allocations: 348 kB / 311.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.1695, allocations: 390.9 kB / 312 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007319/0.1702, allocations: 1.915 MB / 313.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009795/0.1712, allocations: 1.415 MB / 315.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.1742, allocations: 4.381 MB / 319.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1742, allocations: 0.7812 kB / 319.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1742, allocations: 0 / 319.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.396e-05/0.1743, allocations: 0.8125 kB / 319.7 MB, free: 4.742 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.006535/0.1808, allocations: 8.278 MB / 328 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1808, allocations: 16.86 kB / 328 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/0.1816, allocations: 1.055 MB / 329.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.1841, allocations: 3.167 MB / 332.3 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.1842, allocations: 156.5 kB / 332.4 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.1845, allocations: 212.3 kB / 332.6 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.1867, allocations: 1.658 MB / 334.3 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.1868, allocations: 0 / 334.3 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1869, allocations: 87.94 kB / 334.4 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.1869, allocations: 48 kB / 334.4 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.1885, allocations: 0.9385 MB / 335.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008402/0.1969, allocations: 7.877 MB / 343.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.1987, allocations: 1.514 MB / 344.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.2, allocations: 0.925 MB / 345.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.2002, allocations: 54.3 kB / 345.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.2012, allocations: 0.9512 MB / 346.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=242): time 3.817e-06/0.2012, allocations: 0 / 346.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=367): time 0.02959/0.2308, allocations: 18.61 MB / 365.3 MB, free: 7.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01592/0.2467, allocations: 10.95 MB / 376.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008272/0.255, allocations: 9.682 MB / 385.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004372/0.2554, allocations: 81.7 kB / 386 MB, free: 2.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002517/0.2579, allocations: 3.986 MB / 390 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008602/0.2588, allocations: 1.262 MB / 391.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/0.2594, allocations: 0.5231 MB / 391.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2595, allocations: 480.7 kB / 392.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.2608, allocations: 0.5883 MB / 392.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.2621, allocations: 1.154 MB / 394 MB, free: 10.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.2644, allocations: 1.758 MB / 395.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2644, allocations: 4 kB / 395.7 MB, free: 8.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.005877/0.2703, allocations: 3.905 MB / 399.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.2703, allocations: 14.95 kB / 399.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2703, allocations: 4 kB / 399.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/0.2752, allocations: 1.878 MB / 401.5 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.2766, allocations: 0.5254 MB / 402.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.2956, allocations: 23.47 MB / 425.5 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.2978, allocations: 127.9 kB / 425.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.298, allocations: 116 kB / 425.8 MB, free: 9.379 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 (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,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,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.001268/0.2993, allocations: 322.8 kB / 426.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009696/0.3002, allocations: 0.9664 MB / 427.1 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00718/0.3074, allocations: 3.717 MB / 430.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.3074, allocations: 36 kB / 430.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.3075, allocations: 11.94 kB / 430.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.3075, allocations: 15.94 kB / 430.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1382/0.4457, allocations: 9.044 MB / 439.9 MB, free: 115.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4457, allocations: 1.188 kB / 439.9 MB, free: 115.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.447, allocations: 450.5 kB / 440.3 MB, free: 115.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004971/0.452, allocations: 1.849 MB / 442.2 MB, free: 115.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.4521, allocations: 76.27 kB / 442.2 MB, free: 115.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.4638, allocations: 21.77 MB / 464 MB, free: 98.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0115/0.4753, allocations: 9.696 MB / 473.7 MB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/0.4816, allocations: 4.818 MB / 478.5 MB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/0.4822, allocations: 0.7178 MB / 479.2 MB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.4825, allocations: 67.94 kB / 479.3 MB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/0.4834, allocations: 105.6 kB / 479.4 MB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/0.4838, allocations: 289.1 kB / 479.7 MB, free: 91.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.484, allocations: 91.31 kB / 479.8 MB, free: 91.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004657/0.4886, allocations: 6.001 MB / 485.8 MB, free: 86.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4886, allocations: 0 / 485.8 MB, free: 86.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002154/0.4908, allocations: 1.08 MB / 486.9 MB, free: 85.2 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.001082/0.4919, allocations: 494.8 kB / 487.3 MB, free: 84.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.4954, allocations: 4.042 MB / 491.4 MB, free: 80.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4955, allocations: 0 / 491.4 MB, free: 80.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.4976, allocations: 3.18 MB / 494.6 MB, free: 77.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.4992, allocations: 0.5529 MB / 495.1 MB, free: 76.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.5103, allocations: 13.66 MB / 0.4969 GB, free: 63.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5113, allocations: 1.56 MB / 0.4984 GB, free: 61.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009392/0.5123, allocations: 304.8 kB / 0.4987 GB, free: 61.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.5127, allocations: 176.4 kB / 0.4988 GB, free: 61 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5127, allocations: 0 / 0.4988 GB, free: 61 MB / 378.7 MB Notification: Performance of Templates: time 0.07654/0.5893, allocations: 66.12 MB / 0.5634 GB, free: 11.34 MB / 394.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: 6.2958997008390725]