Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.000963, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 145.7 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9113/0.9113, allocations: 173.4 MB / 201.5 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 268.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.499e-05, allocations: 5.406 kB / 268.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.008471/0.008496, allocations: 10.6 MB / 279.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006722/0.01522, allocations: 3.774 MB / 282.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.01696, allocations: 43.81 kB / 282.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005809/0.02277, allocations: 8.161 MB / 291.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00525/0.02802, allocations: 4.693 MB / 295.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.03008, allocations: 0.9553 MB / 296.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005477/0.03555, allocations: 5.396 MB / 302.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.03663, allocations: 0.5746 MB / 302.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/0.04145, allocations: 3.56 MB / 306.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.04589, allocations: 4.567 MB / 310.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005357/0.04643, allocations: 344 kB / 311.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.04702, allocations: 383.9 kB / 311.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008566/0.04788, allocations: 1.908 MB / 313.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.04889, allocations: 1.4 MB / 314.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.05229, allocations: 4.346 MB / 319.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.0523, allocations: 0 / 319.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0523, allocations: 0 / 319.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.259e-05/0.05238, allocations: 0 / 319.2 MB, free: 6.867 MB / 298.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.006322/0.05871, allocations: 7.637 MB / 326.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.05874, allocations: 8.031 kB / 326.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.05933, allocations: 0.6292 MB / 327.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.06138, allocations: 2.752 MB / 330.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/0.06147, allocations: 156.5 kB / 330.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.06165, allocations: 212.3 kB / 330.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.06337, allocations: 1.556 MB / 332.1 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.06341, allocations: 7.922 kB / 332.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.06351, allocations: 92 kB / 332.2 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.06353, allocations: 48 kB / 332.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.06439, allocations: 0.6105 MB / 332.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006306/0.0707, allocations: 4.43 MB / 337.3 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.07207, allocations: 1.257 MB / 338.6 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009044/0.07297, allocations: 0.7912 MB / 339.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.46e-05/0.07306, allocations: 50.3 kB / 339.4 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007589/0.07382, allocations: 0.8821 MB / 340.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 3.506e-06/0.07383, allocations: 0 / 340.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=367): time 0.1328/0.2067, allocations: 13.62 MB / 353.9 MB, free: 68.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01237/0.219, allocations: 8.519 MB / 362.4 MB, free: 61.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005951/0.225, allocations: 8.653 MB / 371.1 MB, free: 53.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000384/0.2254, allocations: 85.7 kB / 371.2 MB, free: 53.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008124/0.2262, allocations: 1.59 MB / 372.8 MB, free: 51.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007684/0.227, allocations: 1.27 MB / 374 MB, free: 50.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005713/0.2275, allocations: 0.5154 MB / 374.6 MB, free: 50.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 2.272e-05/0.2275, allocations: 313.2 kB / 374.9 MB, free: 50.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009563/0.2285, allocations: 483.3 kB / 375.3 MB, free: 49.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2295, allocations: 0.9821 MB / 376.3 MB, free: 48.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.2312, allocations: 1.475 MB / 377.8 MB, free: 46.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.2312, allocations: 4 kB / 377.8 MB, free: 46.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.004393/0.2356, allocations: 2.75 MB / 380.6 MB, free: 44.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.2356, allocations: 8 kB / 380.6 MB, free: 44.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.2356, allocations: 4 kB / 380.6 MB, free: 44.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004619/0.2403, allocations: 1.775 MB / 382.3 MB, free: 42.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.2421, allocations: 0.5968 MB / 382.9 MB, free: 41.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.2537, allocations: 16.37 MB / 399.3 MB, free: 24.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.2556, allocations: 110.6 kB / 399.4 MB, free: 24.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.2558, allocations: 88 kB / 399.5 MB, free: 24.41 MB / 314.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.001013/0.2568, allocations: 290.8 kB / 399.8 MB, free: 24.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/0.2574, allocations: 0.5501 MB / 400.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/0.2615, allocations: 2.959 MB / 403.3 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.2615, allocations: 39.98 kB / 403.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.2616, allocations: 4 kB / 403.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.2616, allocations: 19.94 kB / 403.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/0.27, allocations: 5.54 MB / 408.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.27, allocations: 3.938 kB / 408.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.2713, allocations: 0.5082 MB / 409.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005042/0.2764, allocations: 2.285 MB / 411.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/0.2767, allocations: 71.97 kB / 411.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.287, allocations: 15.26 MB / 427 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01216/0.2992, allocations: 7.544 MB / 434.6 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006027/0.3052, allocations: 3.491 MB / 438.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.3063, allocations: 0.6766 MB / 438.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/0.3068, allocations: 72 kB / 438.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.3079, allocations: 95.95 kB / 438.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006125/0.3085, allocations: 290.9 kB / 439.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.3087, allocations: 67.97 kB / 439.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005031/0.3137, allocations: 4.757 MB / 444 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3137, allocations: 0 / 444 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003392/0.3171, allocations: 1.077 MB / 445.1 MB, free: 9.629 MB / 346.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.001522/0.3186, allocations: 0.6114 MB / 445.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004066/0.3227, allocations: 3.147 MB / 448.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.832e-05/0.3228, allocations: 88.62 kB / 448.9 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002811/0.3256, allocations: 2.479 MB / 451.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.3278, allocations: 0.5544 MB / 452 MB, free: 2.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.3451, allocations: 13.12 MB / 465.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/0.3471, allocations: 1.564 MB / 466.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001624/0.3487, allocations: 296.8 kB / 466.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.3498, allocations: 475.8 kB / 467.4 MB, free: 3.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3498, allocations: 0 / 467.4 MB, free: 3.16 MB / 362.7 MB Notification: Performance of Templates: time 0.1922/0.542, allocations: 69.79 MB / 0.5246 GB, free: 82.12 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.152914641890675]