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.0009108/0.0009108, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009558/0.0009558, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.9689/0.9689, allocations: 177 MB / 205.2 MB, free: 5.055 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 1.613e-06/1.613e-06, allocations: 3.938 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.185e-05, allocations: 5.125 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.00899/0.009012, allocations: 10.88 MB / 284.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007525/0.01654, allocations: 3.988 MB / 288.3 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.01865, allocations: 39.81 kB / 288.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1286/0.1472, allocations: 8.166 MB / 296.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.1532, allocations: 4.776 MB / 301.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.1553, allocations: 0.9327 MB / 302.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006474/0.1618, allocations: 5.507 MB / 307.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.1628, allocations: 0.5862 MB / 308.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/0.1679, allocations: 3.612 MB / 311.9 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.1718, allocations: 4.611 MB / 316.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008113/0.1726, allocations: 354 kB / 316.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.1734, allocations: 391.9 kB / 317.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007874/0.1742, allocations: 1.933 MB / 319.2 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.1759, allocations: 1.43 MB / 320.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.1802, allocations: 4.418 MB / 325 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1802, allocations: 0 / 325 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1802, allocations: 0 / 325 MB, free: 10.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003279/0.1805, allocations: 4 kB / 325 MB, free: 10.98 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.008132/0.1887, allocations: 7.739 MB / 332.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1887, allocations: 15.92 kB / 332.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1898, allocations: 0.676 MB / 333.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.1928, allocations: 2.785 MB / 336.3 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.1929, allocations: 161.5 kB / 336.4 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.1932, allocations: 216.9 kB / 336.6 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.195, allocations: 1.541 MB / 338.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.1951, allocations: 7.938 kB / 338.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/0.1952, allocations: 84 kB / 338.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.1952, allocations: 52 kB / 338.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.1962, allocations: 0.6102 MB / 338.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008051/0.2042, allocations: 4.453 MB / 343.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2056, allocations: 1.263 MB / 344.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000935/0.2065, allocations: 0.7805 MB / 345.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/0.2066, allocations: 49.48 kB / 345.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008158/0.2075, allocations: 0.8835 MB / 346.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 6.722e-06/0.2075, allocations: 3.938 kB / 346.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=371): time 0.02719/0.2346, allocations: 13.34 MB / 359.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0127/0.2474, allocations: 8.587 MB / 368.3 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008025/0.2554, allocations: 8.658 MB / 376.9 MB, free: 9.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.2559, allocations: 85.7 kB / 377 MB, free: 9.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.2573, allocations: 1.605 MB / 378.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.2583, allocations: 1.289 MB / 379.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008003/0.2591, allocations: 0.5194 MB / 380.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.2592, allocations: 305.2 kB / 380.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.2603, allocations: 487.4 kB / 381.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.2614, allocations: 0.9778 MB / 382.2 MB, free: 3.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.2632, allocations: 1.485 MB / 383.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.2632, allocations: 3.938 kB / 383.7 MB, free: 2.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.004765/0.268, allocations: 2.779 MB / 386.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.268, allocations: 9.234 kB / 386.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.268, allocations: 8 kB / 386.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004619/0.2726, allocations: 1.791 MB / 388.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.2744, allocations: 0.5989 MB / 388.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.2874, allocations: 16.39 MB / 405.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.2893, allocations: 108.1 kB / 405.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/0.2896, allocations: 87.91 kB / 405.4 MB, free: 12.05 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 (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,4,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.001127/0.2907, allocations: 291 kB / 405.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007304/0.2914, allocations: 0.558 MB / 406.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/0.296, allocations: 2.981 MB / 409.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.296, allocations: 40 kB / 409.3 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.296, allocations: 4 kB / 409.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.296, allocations: 19.92 kB / 409.3 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/0.3057, allocations: 5.586 MB / 414.9 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.3057, allocations: 7.875 kB / 414.9 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.3071, allocations: 0.5072 MB / 415.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006811/0.3139, allocations: 2.316 MB / 417.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004462/0.3144, allocations: 75.91 kB / 417.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1343/0.4486, allocations: 15.27 MB / 433.1 MB, free: 109.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01133/0.46, allocations: 7.6 MB / 440.7 MB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007046/0.467, allocations: 3.502 MB / 444.2 MB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.4681, allocations: 0.6896 MB / 444.9 MB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/0.4686, allocations: 67.05 kB / 444.9 MB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/0.4696, allocations: 91.05 kB / 445 MB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/0.4701, allocations: 293.7 kB / 445.3 MB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.4703, allocations: 68.94 kB / 445.4 MB, free: 105.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004339/0.4746, allocations: 4.816 MB / 450.2 MB, free: 105.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4746, allocations: 0 / 450.2 MB, free: 105.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003085/0.4777, allocations: 1.096 MB / 451.3 MB, free: 105.7 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.001338/0.479, allocations: 0.6002 MB / 451.9 MB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003333/0.4824, allocations: 3.158 MB / 455.1 MB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.537e-05/0.4825, allocations: 83.06 kB / 455.1 MB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.4845, allocations: 2.483 MB / 457.6 MB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.4869, allocations: 0.5805 MB / 458.2 MB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.4997, allocations: 13.26 MB / 471.5 MB, free: 92.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.5013, allocations: 1.573 MB / 473 MB, free: 91.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001245/0.5025, allocations: 312.6 kB / 473.3 MB, free: 90.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000906/0.5034, allocations: 488.4 kB / 473.8 MB, free: 90.51 MB / 378.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5034, allocations: 0 / 473.8 MB, free: 90.51 MB / 378.7 MB Notification: Performance of Templates: time 0.08489/0.5883, allocations: 71.04 MB / 0.5321 GB, free: 20.62 MB / 378.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 -s gbode -gbm=radauIIA3 -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.111502271145582]