Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 164.7 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9086/0.9086, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.782e-05, allocations: 6.25 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008699/0.008717, allocations: 10.74 MB / 261.8 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006341/0.01506, allocations: 3.542 MB / 265.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.01607, allocations: 43.81 kB / 265.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007035/0.0231, allocations: 8.161 MB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004379/0.02748, allocations: 4.685 MB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.02879, allocations: 0.9437 MB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.03261, allocations: 5.407 MB / 284.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009825/0.03359, allocations: 0.5434 MB / 285.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.03645, allocations: 3.556 MB / 288.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.03995, allocations: 5.468 MB / 294.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.0403, allocations: 340 kB / 294.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.04074, allocations: 384 kB / 294.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000855/0.0416, allocations: 1.908 MB / 296.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008848/0.04248, allocations: 1.393 MB / 298.1 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.0454, allocations: 4.35 MB / 302.5 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.0454, allocations: 0 / 302.5 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.0454, allocations: 7.938 kB / 302.5 MB, free: 3.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.532e-05/0.04544, allocations: 0 / 302.5 MB, free: 3.84 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.006822/0.05226, allocations: 8.246 MB / 310.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.0523, allocations: 15.98 kB / 310.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008028/0.05311, allocations: 1.054 MB / 311.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.0556, allocations: 3.101 MB / 314.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.0557, allocations: 160.5 kB / 315.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.0559, allocations: 208.4 kB / 315.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.05799, allocations: 1.653 MB / 316.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.05804, allocations: 15.88 kB / 316.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.05815, allocations: 84 kB / 317 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.05818, allocations: 48 kB / 317.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.0597, allocations: 0.939 MB / 318 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008091/0.0678, allocations: 7.864 MB / 325.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.06956, allocations: 1.508 MB / 327.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.0711, allocations: 0.9402 MB / 328.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.07121, allocations: 42.31 kB / 328.4 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.07223, allocations: 0.9609 MB / 329.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 3.617e-06/0.07223, allocations: 0 / 329.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=367): time 0.02979/0.102, allocations: 18.6 MB / 347.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1523/0.2543, allocations: 10.94 MB / 358.9 MB, free: 77.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008137/0.2624, allocations: 9.684 MB / 368.5 MB, free: 76.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000453/0.2629, allocations: 85.36 kB / 368.6 MB, free: 76.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.2649, allocations: 3.982 MB / 372.6 MB, free: 74.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.2656, allocations: 1.258 MB / 373.9 MB, free: 74.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005958/0.2662, allocations: 0.519 MB / 374.4 MB, free: 74.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.2663, allocations: 476.8 kB / 374.9 MB, free: 73.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009724/0.2672, allocations: 0.5908 MB / 375.4 MB, free: 73.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.2684, allocations: 1.153 MB / 376.6 MB, free: 72.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.2704, allocations: 1.763 MB / 378.4 MB, free: 71.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.2705, allocations: 0 / 378.4 MB, free: 71.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.005365/0.2758, allocations: 3.911 MB / 382.3 MB, free: 68.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2758, allocations: 11.94 kB / 382.3 MB, free: 68.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.2759, allocations: 4 kB / 382.3 MB, free: 68.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004351/0.2802, allocations: 1.883 MB / 384.2 MB, free: 66.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.2814, allocations: 0.5355 MB / 384.7 MB, free: 66.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.2938, allocations: 23.47 MB / 408.2 MB, free: 42.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.295, allocations: 113.9 kB / 408.3 MB, free: 42.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.2951, allocations: 116 kB / 408.4 MB, free: 42.34 MB / 330.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.0008321/0.2959, allocations: 329.5 kB / 408.7 MB, free: 42.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/0.2965, allocations: 0.9708 MB / 409.7 MB, free: 41.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/0.3011, allocations: 3.711 MB / 413.4 MB, free: 37.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.3011, allocations: 36 kB / 413.4 MB, free: 37.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.3011, allocations: 9.031 kB / 413.4 MB, free: 37.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.3011, allocations: 19.92 kB / 413.5 MB, free: 37.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009112/0.3102, allocations: 9.039 MB / 422.5 MB, free: 28.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3102, allocations: 4.75 kB / 422.5 MB, free: 28.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.3114, allocations: 455.1 kB / 423 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004318/0.3157, allocations: 1.847 MB / 424.8 MB, free: 26.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.3159, allocations: 67.98 kB / 424.9 MB, free: 25.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.3264, allocations: 21.77 MB / 446.6 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01276/0.3392, allocations: 9.701 MB / 456.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007011/0.3462, allocations: 4.807 MB / 461.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.3468, allocations: 0.7247 MB / 461.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/0.3472, allocations: 71.89 kB / 461.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009174/0.3481, allocations: 103.2 kB / 462 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/0.3485, allocations: 279.2 kB / 462.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.3486, allocations: 102 kB / 462.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005183/0.3538, allocations: 6 MB / 468.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3538, allocations: 0 / 468.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002863/0.3567, allocations: 1.084 MB / 469.5 MB, free: 12.13 MB / 362.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.0009477/0.3576, allocations: 477.7 kB / 470 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004269/0.3619, allocations: 4.037 MB / 474 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3619, allocations: 0 / 474 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003126/0.365, allocations: 3.184 MB / 477.2 MB, free: 4.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.3667, allocations: 0.5626 MB / 477.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.3806, allocations: 13.66 MB / 491.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.382, allocations: 1.56 MB / 493 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009315/0.3829, allocations: 300.8 kB / 493.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.3834, allocations: 172.4 kB / 493.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3834, allocations: 0 / 493.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of Templates: time 0.2032/0.5866, allocations: 68.49 MB / 0.5487 GB, free: 67.26 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.019246039912105]