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.001339/0.001339, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009707/0.0009707, allocations: 148.2 kB / 24.81 MB, free: 9.27 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.9659/0.9659, allocations: 173.3 MB / 201.4 MB, free: 9.227 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.754e-06/1.754e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.587e-05, allocations: 2.312 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.04091/0.04094, allocations: 10.56 MB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006644/0.04758, allocations: 3.615 MB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.05008, allocations: 43.75 kB / 282.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.123/0.1731, allocations: 8.143 MB / 290.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.1805, allocations: 4.694 MB / 295.5 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.1827, allocations: 0.9597 MB / 296.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007732/0.1904, allocations: 5.406 MB / 301.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.1915, allocations: 0.5525 MB / 302.4 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007593/0.1991, allocations: 3.559 MB / 305.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005606/0.2047, allocations: 5.458 MB / 311.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008332/0.2055, allocations: 344 kB / 311.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008094/0.2063, allocations: 380.8 kB / 312.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.207, allocations: 1.907 MB / 314 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.2081, allocations: 1.401 MB / 315.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.2107, allocations: 4.35 MB / 319.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2107, allocations: 0.8125 kB / 319.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2107, allocations: 0 / 319.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001209/0.2108, allocations: 0 / 319.8 MB, free: 4.637 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.007828/0.2186, allocations: 8.339 MB / 328.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2187, allocations: 12.92 kB / 328.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009556/0.2196, allocations: 1.057 MB / 329.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.2222, allocations: 3.082 MB / 332.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2223, allocations: 156.5 kB / 332.4 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.2225, allocations: 208.3 kB / 332.6 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.2243, allocations: 1.515 MB / 334.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.2244, allocations: 3.047 kB / 334.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.2245, allocations: 95.92 kB / 334.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.2245, allocations: 48 kB / 334.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2256, allocations: 0.7202 MB / 335 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00833/0.2339, allocations: 6.491 MB / 341.5 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.2355, allocations: 1.357 MB / 342.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.2365, allocations: 0.845 MB / 343.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.2366, allocations: 49.17 kB / 343.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008819/0.2375, allocations: 0.8946 MB / 344.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=242): time 5.931e-06/0.2375, allocations: 0 / 344.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=367): time 0.02783/0.2654, allocations: 13.16 MB / 357.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01526/0.2806, allocations: 10.58 MB / 368.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008027/0.2886, allocations: 9.332 MB / 377.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005061/0.2892, allocations: 85.64 kB / 377.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003019/0.2922, allocations: 4.267 MB / 382 MB, free: 8.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.2934, allocations: 1.274 MB / 383.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009035/0.2943, allocations: 0.5306 MB / 383.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2945, allocations: 480.8 kB / 384.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009965/0.2955, allocations: 0.5101 MB / 384.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.2967, allocations: 1.101 MB / 385.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.2988, allocations: 1.553 MB / 387.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.2988, allocations: 4 kB / 387.5 MB, free: 2.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.005372/0.3042, allocations: 3.647 MB / 391.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3042, allocations: 8.625 kB / 391.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.3042, allocations: 4 kB / 391.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004599/0.3088, allocations: 1.846 MB / 393 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.3105, allocations: 0.5248 MB / 393.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/0.3279, allocations: 22.86 MB / 416.4 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.3301, allocations: 115.9 kB / 416.5 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/0.3304, allocations: 79.97 kB / 416.6 MB, free: 4.777 MB / 362.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.001437/0.3319, allocations: 334.6 kB / 416.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/0.333, allocations: 0.9708 MB / 417.9 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005752/0.3388, allocations: 3.429 MB / 421.3 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.3388, allocations: 40.03 kB / 421.3 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.3388, allocations: 8 kB / 421.3 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-05/0.3389, allocations: 19.98 kB / 421.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.351, allocations: 7.479 MB / 428.8 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.351, allocations: 4 kB / 428.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.3523, allocations: 451.4 kB / 429.3 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/0.3572, allocations: 1.796 MB / 431.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003622/0.3575, allocations: 75.97 kB / 431.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1585/0.516, allocations: 21.21 MB / 452.4 MB, free: 93.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01232/0.5283, allocations: 9.366 MB / 461.7 MB, free: 89.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006722/0.535, allocations: 4.387 MB / 466.1 MB, free: 88.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.5363, allocations: 0.7214 MB / 466.8 MB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/0.5368, allocations: 69.25 kB / 466.9 MB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5379, allocations: 98.34 kB / 467 MB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/0.5386, allocations: 282.2 kB / 467.3 MB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.5387, allocations: 79.83 kB / 467.4 MB, free: 88.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004556/0.5432, allocations: 5.35 MB / 472.7 MB, free: 88.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5432, allocations: 0 / 472.7 MB, free: 88.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003997/0.5472, allocations: 1.076 MB / 473.8 MB, free: 88.1 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.001552/0.5488, allocations: 484.6 kB / 474.3 MB, free: 87.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005226/0.554, allocations: 3.805 MB / 478.1 MB, free: 85.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.554, allocations: 4.016 kB / 478.1 MB, free: 85.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003082/0.5571, allocations: 3.055 MB / 481.1 MB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.5596, allocations: 0.5625 MB / 481.7 MB, free: 82.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.5744, allocations: 13.44 MB / 495.1 MB, free: 69.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.5762, allocations: 1.558 MB / 496.7 MB, free: 68.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001383/0.5776, allocations: 297 kB / 497 MB, free: 68.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008921/0.5784, allocations: 0.5097 MB / 497.5 MB, free: 67.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5784, allocations: 0 / 497.5 MB, free: 67.56 MB / 378.7 MB Notification: Performance of Templates: time 0.08685/0.6653, allocations: 69.87 MB / 0.5541 GB, free: 14.14 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: 5.690298365894705]