Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009731/0.0009731, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9278/0.9278, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 7.938 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/2.051e-05, allocations: 5.266 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008843/0.008864, allocations: 11.17 MB / 284.1 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006775/0.01564, allocations: 3.853 MB / 287.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.0168, allocations: 43.75 kB / 288 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1228/0.1396, allocations: 8.166 MB / 296.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006133/0.1457, allocations: 4.779 MB / 300.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.1476, allocations: 0.9236 MB / 301.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005523/0.1531, allocations: 5.516 MB / 307.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009249/0.1541, allocations: 0.5573 MB / 307.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.1586, allocations: 3.614 MB / 311.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00433/0.1629, allocations: 5.497 MB / 317 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006164/0.1635, allocations: 354.8 kB / 317.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.1642, allocations: 391.1 kB / 317.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008279/0.165, allocations: 1.927 MB / 319.7 MB, free: 72 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.1666, allocations: 1.427 MB / 321.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.1709, allocations: 4.42 MB / 325.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1709, allocations: 0 / 325.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1709, allocations: 0 / 325.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001513/0.1711, allocations: 0 / 325.5 MB, free: 10.55 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.01037/0.1814, allocations: 8.365 MB / 333.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1815, allocations: 11.98 kB / 333.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.1829, allocations: 1.108 MB / 335 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.1863, allocations: 3.149 MB / 338.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.1865, allocations: 161.5 kB / 338.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.1868, allocations: 213 kB / 338.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.1902, allocations: 1.645 MB / 340.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-05/0.1903, allocations: 5.25 kB / 340.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.1905, allocations: 88 kB / 340.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.1905, allocations: 48 kB / 340.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.1928, allocations: 0.9347 MB / 341.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.2033, allocations: 7.924 MB / 349.2 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.2055, allocations: 1.516 MB / 350.7 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.2069, allocations: 0.9315 MB / 351.6 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.207, allocations: 54.3 kB / 351.7 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.2081, allocations: 0.9559 MB / 352.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 5.26e-06/0.2081, allocations: 0 / 352.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.03188/0.2399, allocations: 18.37 MB / 371 MB, free: 13.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01568/0.2556, allocations: 11.02 MB / 382 MB, free: 1.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007946/0.2636, allocations: 9.807 MB / 391.8 MB, free: 8.098 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004109/0.264, allocations: 85.7 kB / 391.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.2665, allocations: 4.035 MB / 395.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.2677, allocations: 1.273 MB / 397.2 MB, free: 2.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006879/0.2684, allocations: 0.531 MB / 397.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2685, allocations: 476.8 kB / 398.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.2696, allocations: 0.5844 MB / 398.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.2709, allocations: 1.15 MB / 399.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.2733, allocations: 1.776 MB / 401.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2733, allocations: 0 / 401.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006128/0.2794, allocations: 3.933 MB / 405.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.2795, allocations: 14.75 kB / 405.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.2795, allocations: 4 kB / 405.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004899/0.2844, allocations: 1.916 MB / 407.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.2858, allocations: 0.5244 MB / 408.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1376/0.4235, allocations: 23.49 MB / 431.6 MB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.426, allocations: 107.7 kB / 431.7 MB, free: 108.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/0.4264, allocations: 117.4 kB / 431.8 MB, free: 108.1 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.00111/0.4275, allocations: 333.8 kB / 432.2 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000944/0.4284, allocations: 0.9838 MB / 433.1 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/0.4357, allocations: 3.738 MB / 436.9 MB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/0.4357, allocations: 36.12 kB / 436.9 MB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/0.4357, allocations: 7.062 kB / 436.9 MB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/0.4358, allocations: 19.97 kB / 436.9 MB, free: 107.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.4498, allocations: 9.119 MB / 446.1 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.4498, allocations: 6.719 kB / 446.1 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.4513, allocations: 454.8 kB / 446.5 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005851/0.4571, allocations: 1.865 MB / 448.4 MB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/0.4573, allocations: 77.28 kB / 448.4 MB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.4706, allocations: 21.8 MB / 470.2 MB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01176/0.4824, allocations: 9.763 MB / 480 MB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006726/0.4891, allocations: 4.842 MB / 484.9 MB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.4899, allocations: 0.7357 MB / 485.6 MB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/0.4903, allocations: 64 kB / 485.7 MB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.4913, allocations: 91.97 kB / 485.7 MB, free: 77.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.4918, allocations: 290.2 kB / 486 MB, free: 77.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.4919, allocations: 95.97 kB / 486.1 MB, free: 77.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005217/0.4971, allocations: 6.074 MB / 492.2 MB, free: 71.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4971, allocations: 4 kB / 492.2 MB, free: 71.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002595/0.4997, allocations: 1.097 MB / 493.3 MB, free: 70.31 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.001043/0.5008, allocations: 489.3 kB / 493.8 MB, free: 70.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00395/0.5047, allocations: 4.033 MB / 497.8 MB, free: 65.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5047, allocations: 4.188 kB / 497.8 MB, free: 65.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.507, allocations: 3.18 MB / 0.4892 GB, free: 62.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.5088, allocations: 0.5827 MB / 0.4898 GB, free: 61.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.5202, allocations: 13.81 MB / 0.5033 GB, free: 48.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009906/0.5212, allocations: 1.57 MB / 0.5048 GB, free: 46.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001182/0.5224, allocations: 313.1 kB / 0.5051 GB, free: 46.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.5228, allocations: 176.5 kB / 0.5053 GB, free: 45.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5229, allocations: 0 / 0.5053 GB, free: 45.95 MB / 378.7 MB Notification: Performance of Templates: time 0.182/0.7048, allocations: 69.76 MB / 0.5734 GB, free: 120.3 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.991050926037133]