Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007929/0.0007929, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003281/0.003281, allocations: 162.5 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8807/0.8807, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.521e-05, allocations: 6.219 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.007896/0.007921, allocations: 9.873 MB / 335.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006405/0.01433, allocations: 3.814 MB / 339.5 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.01625, allocations: 47.75 kB / 339.6 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005298/0.02154, allocations: 8.165 MB / 347.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.02688, allocations: 4.778 MB / 352.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.02878, allocations: 0.932 MB / 353.4 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005235/0.03402, allocations: 5.515 MB / 359 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008705/0.03489, allocations: 0.5554 MB / 359.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.03892, allocations: 3.591 MB / 363.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004358/0.04328, allocations: 5.484 MB / 368.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004859/0.04377, allocations: 356 kB / 368.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.04438, allocations: 399.9 kB / 369.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.04541, allocations: 1.935 MB / 371.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.0465, allocations: 1.439 MB / 372.7 MB, free: 416 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.05125, allocations: 7.171 MB / 379.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.05126, allocations: 0 / 379.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.05126, allocations: 0 / 379.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001392/0.0514, allocations: 3.938 kB / 379.9 MB, free: 9.203 MB / 346.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.007343/0.05874, allocations: 7.874 MB / 387.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.05878, allocations: 8.031 kB / 387.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.05978, allocations: 0.9519 MB / 388.7 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.06286, allocations: 3.233 MB / 391.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.06309, allocations: 160.1 kB / 392.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.06331, allocations: 208 kB / 392.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.06598, allocations: 2.222 MB / 394.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.06602, allocations: 3.953 kB / 394.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.06614, allocations: 88 kB / 394.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.06617, allocations: 52 kB / 394.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.06848, allocations: 1.848 MB / 396.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009613/0.0781, allocations: 7.563 MB / 404.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.08055, allocations: 2.028 MB / 406.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.08228, allocations: 1.276 MB / 407.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-05/0.08238, allocations: 38.3 kB / 407.4 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.08365, allocations: 1.254 MB / 408.7 MB, free: 11.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 4.238e-06/0.08366, allocations: 4 kB / 408.7 MB, free: 11.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=371): time 0.03527/0.1189, allocations: 22.2 MB / 430.9 MB, free: 5.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01694/0.1359, allocations: 13.13 MB / 444 MB, free: 8.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1749/0.3107, allocations: 15.05 MB / 459 MB, free: 105.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005267/0.3113, allocations: 86.7 kB / 459.1 MB, free: 105.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.3132, allocations: 3.569 MB / 462.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009481/0.3141, allocations: 1.275 MB / 464 MB, free: 103 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006557/0.3148, allocations: 0.5197 MB / 464.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.112e-05/0.3148, allocations: 304.6 kB / 464.8 MB, free: 102.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.3164, allocations: 1.235 MB / 466 MB, free: 101.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.3181, allocations: 1.731 MB / 467.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.3211, allocations: 2.968 MB / 470.7 MB, free: 99.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.3211, allocations: 0 / 470.7 MB, free: 99.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006327/0.3275, allocations: 5.213 MB / 475.9 MB, free: 95.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.3275, allocations: 8 kB / 475.9 MB, free: 95.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.3275, allocations: 4 kB / 476 MB, free: 95.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/0.3305, allocations: 1.407 MB / 477.4 MB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.3322, allocations: 0.5286 MB / 477.9 MB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.3497, allocations: 22.52 MB / 0.4887 GB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.3525, allocations: 113.9 kB / 0.4888 GB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/0.3528, allocations: 127.6 kB / 0.4889 GB, free: 70.99 MB / 410.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.003374/0.3562, allocations: 2.19 MB / 0.491 GB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009404/0.3572, allocations: 0.8691 MB / 0.4919 GB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/0.3643, allocations: 5.253 MB / 0.497 GB, free: 62.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.3644, allocations: 36 kB / 0.4971 GB, free: 62.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/0.3644, allocations: 7.984 kB / 0.4971 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.3644, allocations: 19.94 kB / 0.4971 GB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.3792, allocations: 9.897 MB / 0.5068 GB, free: 52.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.3792, allocations: 0 / 0.5068 GB, free: 52.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.3806, allocations: 451.4 kB / 0.5072 GB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/0.3834, allocations: 1.349 MB / 0.5085 GB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/0.3838, allocations: 75.97 kB / 0.5086 GB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.3987, allocations: 20.43 MB / 0.5285 GB, free: 29.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01364/0.4124, allocations: 11.45 MB / 0.5397 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009781/0.4221, allocations: 6.923 MB / 0.5465 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.4239, allocations: 0.7306 MB / 0.5472 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006323/0.4245, allocations: 80.2 kB / 0.5473 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.4258, allocations: 95.95 kB / 0.5473 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007143/0.4265, allocations: 283.3 kB / 0.5476 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.4267, allocations: 99.91 kB / 0.5477 GB, free: 9.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008948/0.4356, allocations: 11.2 MB / 0.5586 GB, free: 14.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4356, allocations: 4 kB / 0.5587 GB, free: 14.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00482/0.4404, allocations: 1.092 MB / 0.5597 GB, free: 13.31 MB / 426.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.001161/0.4416, allocations: 0.5284 MB / 0.5602 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006602/0.4482, allocations: 4.592 MB / 0.5647 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4482, allocations: 0 / 0.5647 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003871/0.4521, allocations: 3.14 MB / 0.5678 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.4549, allocations: 0.5576 MB / 0.5683 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/0.4796, allocations: 18.4 MB / 0.5863 GB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/0.4826, allocations: 3.572 MB / 0.5898 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.4837, allocations: 204.4 kB / 0.59 GB, free: 14.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.512e-06/0.4837, allocations: 4 kB / 0.59 GB, free: 14.21 MB / 458.7 MB Notification: Performance of Templates: time 1.105/1.589, allocations: 0.5512 GB / 1.141 GB, free: 166.8 MB / 490.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 11.64202533941716]