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.001157/0.001157, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.00152/0.00152, allocations: 170.2 kB / 25.69 MB, free: 8.438 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.9366/0.9366, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.102e-06/1.102e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.103e-05, allocations: 6.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008915/0.008936, allocations: 10.48 MB / 262.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00708/0.01602, allocations: 3.681 MB / 265.7 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.01795, allocations: 43.81 kB / 265.8 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005882/0.02383, allocations: 8.165 MB / 273.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.02898, allocations: 4.689 MB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.03091, allocations: 0.9359 MB / 279.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0055/0.03641, allocations: 5.407 MB / 285 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009731/0.03738, allocations: 0.5668 MB / 285.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005216/0.0426, allocations: 3.556 MB / 289.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004533/0.04713, allocations: 4.579 MB / 293.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007638/0.04789, allocations: 340 kB / 294 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.04853, allocations: 383.9 kB / 294.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009415/0.04947, allocations: 1.908 MB / 296.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.05095, allocations: 1.393 MB / 297.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.05446, allocations: 4.35 MB / 302 MB, free: 4.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.05446, allocations: 4 kB / 302 MB, free: 4.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.05447, allocations: 0 / 302 MB, free: 4.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.05458, allocations: 0 / 302 MB, free: 4.551 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.006534/0.06112, allocations: 7.633 MB / 309.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.06116, allocations: 15.92 kB / 309.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.06181, allocations: 0.6292 MB / 310.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.06406, allocations: 2.756 MB / 313.1 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-05/0.06416, allocations: 160.5 kB / 313.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.06435, allocations: 204.4 kB / 313.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.06611, allocations: 1.56 MB / 315 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.06615, allocations: 15.88 kB / 315 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.06626, allocations: 80 kB / 315.1 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.06629, allocations: 52 kB / 315.1 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009203/0.06721, allocations: 0.6105 MB / 315.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007047/0.07426, allocations: 4.422 MB / 320.2 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.07566, allocations: 1.256 MB / 321.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009515/0.07662, allocations: 0.7835 MB / 322.2 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.07673, allocations: 46.3 kB / 322.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000833/0.07756, allocations: 0.886 MB / 323.1 MB, free: 15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 4.559e-06/0.07756, allocations: 3.938 kB / 323.1 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=367): time 0.02802/0.1056, allocations: 13.63 MB / 336.8 MB, free: 1.246 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01212/0.1177, allocations: 8.514 MB / 345.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1216/0.2393, allocations: 8.649 MB / 353.9 MB, free: 94.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.2397, allocations: 84.17 kB / 354 MB, free: 94.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.2416, allocations: 1.584 MB / 355.6 MB, free: 94.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008784/0.2425, allocations: 1.268 MB / 356.9 MB, free: 93.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.243, allocations: 0.5204 MB / 357.4 MB, free: 93.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.927e-05/0.2431, allocations: 306.6 kB / 357.7 MB, free: 93.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/0.2439, allocations: 485.7 kB / 358.2 MB, free: 93.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009216/0.2448, allocations: 0.979 MB / 359.1 MB, free: 93.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.2464, allocations: 1.483 MB / 360.6 MB, free: 92.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.2464, allocations: 5.25 kB / 360.6 MB, free: 92.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.004072/0.2505, allocations: 2.749 MB / 363.4 MB, free: 92.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2505, allocations: 7.875 kB / 363.4 MB, free: 92.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.2505, allocations: 7.656 kB / 363.4 MB, free: 92.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/0.2544, allocations: 1.763 MB / 365.2 MB, free: 92.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.2557, allocations: 0.6011 MB / 365.8 MB, free: 92.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009758/0.2655, allocations: 16.37 MB / 382.1 MB, free: 78.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.2673, allocations: 113 kB / 382.2 MB, free: 78.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.2675, allocations: 83.97 kB / 382.3 MB, free: 77.98 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,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 (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,4,100.0%), (1,3,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.001078/0.2686, allocations: 297.8 kB / 382.6 MB, free: 77.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005484/0.2691, allocations: 0.5463 MB / 383.2 MB, free: 77.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/0.2726, allocations: 2.957 MB / 386.1 MB, free: 74.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.2726, allocations: 39.94 kB / 386.1 MB, free: 74.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.2726, allocations: 4.625 kB / 386.2 MB, free: 74.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.2727, allocations: 19.94 kB / 386.2 MB, free: 74.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.2794, allocations: 5.545 MB / 391.7 MB, free: 68.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.2794, allocations: 0 / 391.7 MB, free: 68.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.2806, allocations: 0.509 MB / 392.2 MB, free: 68.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/0.2846, allocations: 2.284 MB / 394.5 MB, free: 65.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.2849, allocations: 71.98 kB / 394.6 MB, free: 65.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00827/0.2931, allocations: 15.26 MB / 409.8 MB, free: 49.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008583/0.3017, allocations: 7.556 MB / 417.4 MB, free: 42.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/0.306, allocations: 3.481 MB / 420.9 MB, free: 38.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.3067, allocations: 0.6759 MB / 421.5 MB, free: 37.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.307, allocations: 75.94 kB / 421.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.3078, allocations: 95.95 kB / 421.7 MB, free: 37.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/0.3083, allocations: 291.2 kB / 422 MB, free: 37.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.57e-05/0.3084, allocations: 67.97 kB / 422.1 MB, free: 37.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002542/0.3109, allocations: 4.753 MB / 426.8 MB, free: 32.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3109, allocations: 3.828 kB / 426.8 MB, free: 32.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002295/0.3132, allocations: 1.076 MB / 427.9 MB, free: 31.5 MB / 330.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.00109/0.3143, allocations: 0.6038 MB / 428.5 MB, free: 30.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002864/0.3172, allocations: 3.15 MB / 431.7 MB, free: 27.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.876e-05/0.3172, allocations: 92.62 kB / 431.7 MB, free: 27.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.319, allocations: 2.475 MB / 434.2 MB, free: 25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.3207, allocations: 0.5586 MB / 434.8 MB, free: 24.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.3317, allocations: 13.13 MB / 447.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.3328, allocations: 1.557 MB / 449.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001173/0.334, allocations: 300.8 kB / 449.8 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.3348, allocations: 473.1 kB / 450.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3348, allocations: 3.938 kB / 450.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of Templates: time 0.184/0.5188, allocations: 69.76 MB / 0.5078 GB, free: 95.55 MB / 362.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 -s gbode -gbm=radauIIA3 -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: 5.509147532749921]