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.001948/0.001948, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00284/0.00284, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.564/1.564, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.562e-06/1.562e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.12e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.0158/0.01583, allocations: 11.09 MB / 283.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008682/0.02451, allocations: 3.834 MB / 287.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.02646, allocations: 43.81 kB / 287.2 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.129/0.1555, allocations: 8.164 MB / 295.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.1617, allocations: 4.771 MB / 300.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1636, allocations: 0.9337 MB / 301 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004931/0.1685, allocations: 5.51 MB / 306.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007831/0.1693, allocations: 0.5554 MB / 307.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.1725, allocations: 3.602 MB / 310.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.1763, allocations: 5.509 MB / 316.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005425/0.1768, allocations: 356 kB / 316.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000636/0.1775, allocations: 409.9 kB / 317 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008055/0.1783, allocations: 1.939 MB / 318.9 MB, free: 372 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.18, allocations: 1.439 MB / 320.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008571/0.1886, allocations: 7.18 MB / 327.5 MB, free: 8.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1886, allocations: 8 kB / 327.5 MB, free: 8.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1886, allocations: 0 / 327.5 MB, free: 8.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001665/0.1887, allocations: 3 kB / 327.5 MB, free: 8.055 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.01705/0.2058, allocations: 8.91 MB / 336.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2058, allocations: 15.98 kB / 336.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.2081, allocations: 1.113 MB / 337.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.2138, allocations: 3.279 MB / 340.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.214, allocations: 157.5 kB / 341 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/0.2144, allocations: 219.9 kB / 341.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00469/0.2191, allocations: 2.344 MB / 343.6 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.088e-05/0.2192, allocations: 3.938 kB / 343.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.2194, allocations: 88 kB / 343.6 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/0.2194, allocations: 48 kB / 343.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/0.2236, allocations: 1.79 MB / 345.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.2453, allocations: 11.34 MB / 356.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.2498, allocations: 2.117 MB / 358.9 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/0.2529, allocations: 1.316 MB / 360.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.2531, allocations: 46.3 kB / 360.3 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002498/0.2556, allocations: 1.401 MB / 361.7 MB, free: 5.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 7.484e-06/0.2556, allocations: 4 kB / 361.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.06555/0.3211, allocations: 21.82 MB / 383.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03739/0.3585, allocations: 15.22 MB / 398.7 MB, free: 380 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01694/0.3754, allocations: 10.92 MB / 409.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006089/0.3761, allocations: 93.72 kB / 409.8 MB, free: 5.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005652/0.3817, allocations: 4.398 MB / 414.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001877/0.3836, allocations: 1.386 MB / 415.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.3848, allocations: 0.656 MB / 416.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.3851, allocations: 484.7 kB / 416.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/0.3877, allocations: 1.194 MB / 417.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.3909, allocations: 1.904 MB / 419.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00619/0.3971, allocations: 3.392 MB / 423.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.3971, allocations: 0 / 423.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01311/0.4103, allocations: 5.381 MB / 428.5 MB, free: 2.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.4103, allocations: 11.94 kB / 428.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4103, allocations: 4 kB / 428.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/0.4217, allocations: 2.175 MB / 430.7 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1568/0.5786, allocations: 0.525 MB / 431.3 MB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02983/0.6084, allocations: 28.36 MB / 459.6 MB, free: 94.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/0.6119, allocations: 113.4 kB / 459.7 MB, free: 94.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005281/0.6124, allocations: 111.6 kB / 459.8 MB, free: 94.36 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.002027/0.6144, allocations: 0.5934 MB / 460.4 MB, free: 94.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.6159, allocations: 0.9812 MB / 461.4 MB, free: 94.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.6266, allocations: 5.039 MB / 466.4 MB, free: 92.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.6266, allocations: 38.09 kB / 466.5 MB, free: 92.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/0.6266, allocations: 10.38 kB / 466.5 MB, free: 92.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.6267, allocations: 18.28 kB / 466.5 MB, free: 92.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.6457, allocations: 11.92 MB / 478.4 MB, free: 85.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.6457, allocations: 2.688 kB / 478.4 MB, free: 85.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/0.6478, allocations: 460.2 kB / 478.9 MB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009671/0.6575, allocations: 2.115 MB / 481 MB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003868/0.6579, allocations: 79.97 kB / 481.1 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/0.6793, allocations: 25.91 MB / 0.4951 GB, free: 56.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0249/0.7041, allocations: 13.43 MB / 0.5082 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.7177, allocations: 7.245 MB / 0.5153 GB, free: 35.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/0.7194, allocations: 0.7324 MB / 0.516 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009309/0.7203, allocations: 67.95 kB / 0.5161 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/0.7228, allocations: 87.97 kB / 0.5162 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006842/0.7235, allocations: 295.2 kB / 0.5164 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/0.7237, allocations: 95.97 kB / 0.5165 GB, free: 33.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008423/0.7321, allocations: 6.574 MB / 0.523 GB, free: 27.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7321, allocations: 0 / 0.523 GB, free: 27.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004994/0.7371, allocations: 1.104 MB / 0.524 GB, free: 26.33 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.00335/0.7405, allocations: 0.5328 MB / 0.5246 GB, free: 26.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007756/0.7482, allocations: 5.375 MB / 0.5298 GB, free: 20.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.7482, allocations: 3.062 kB / 0.5298 GB, free: 20.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004501/0.7527, allocations: 3.91 MB / 0.5336 GB, free: 16.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/0.757, allocations: 0.5725 MB / 0.5342 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/0.777, allocations: 14.51 MB / 0.5483 GB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005399/0.7824, allocations: 3.307 MB / 0.5516 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002228/0.7846, allocations: 313.1 kB / 0.5519 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009311/0.7856, allocations: 176.5 kB / 0.552 GB, free: 13.36 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7856, allocations: 0 / 0.552 GB, free: 13.36 MB / 394.7 MB Notification: Performance of Templates: time 0.2149/1.001, allocations: 66.53 MB / 0.617 GB, free: 81.71 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.34032836300321]