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.0009522/0.0009522, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001177/0.001177, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9553/0.9553, allocations: 177.1 MB / 206 MB, free: 4.484 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.232e-06/1.232e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.724e-05, allocations: 3.938 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.009185/0.009212, allocations: 10.83 MB / 285 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006717/0.01593, allocations: 3.832 MB / 288.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.01795, allocations: 43.75 kB / 288.9 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006153/0.0241, allocations: 8.169 MB / 297.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.02944, allocations: 4.786 MB / 301.8 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.03126, allocations: 0.9242 MB / 302.8 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005824/0.03709, allocations: 5.515 MB / 308.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.03815, allocations: 0.5554 MB / 308.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004561/0.04271, allocations: 3.607 MB / 312.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005494/0.04821, allocations: 5.499 MB / 317.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008071/0.04901, allocations: 352 kB / 318.3 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008418/0.04985, allocations: 395.9 kB / 318.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.05095, allocations: 1.924 MB / 320.6 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.05271, allocations: 1.428 MB / 322 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.05668, allocations: 4.424 MB / 326.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.05669, allocations: 0 / 326.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.05669, allocations: 0 / 326.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.05682, allocations: 0 / 326.4 MB, free: 15.96 MB / 314.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.00885/0.06567, allocations: 8.464 MB / 334.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.06571, allocations: 8.031 kB / 334.9 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.06725, allocations: 1.104 MB / 336 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.07008, allocations: 3.134 MB / 339.2 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.0702, allocations: 156.2 kB / 339.3 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.07051, allocations: 219.9 kB / 339.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.07249, allocations: 1.497 MB / 341 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.07253, allocations: 3.984 kB / 341 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.07266, allocations: 87.98 kB / 341.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.07269, allocations: 56 kB / 341.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.07377, allocations: 0.7208 MB / 341.9 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1424/0.2162, allocations: 6.474 MB / 348.4 MB, free: 66.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.2183, allocations: 1.36 MB / 349.7 MB, free: 65.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.2193, allocations: 0.8391 MB / 350.6 MB, free: 65.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.131e-05/0.2194, allocations: 51.44 kB / 350.6 MB, free: 65.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000756/0.2202, allocations: 0.8949 MB / 351.5 MB, free: 65.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 4.88e-06/0.2202, allocations: 0 / 351.5 MB, free: 65.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=371): time 0.02475/0.2449, allocations: 12.86 MB / 364.4 MB, free: 55.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01399/0.2589, allocations: 10.66 MB / 375 MB, free: 44.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007991/0.2669, allocations: 9.316 MB / 384.3 MB, free: 35.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000455/0.2674, allocations: 93.73 kB / 384.4 MB, free: 35.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002281/0.2697, allocations: 4.549 MB / 389 MB, free: 31.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008151/0.2705, allocations: 1.28 MB / 390.3 MB, free: 29.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006037/0.2711, allocations: 0.5463 MB / 390.8 MB, free: 29.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.2711, allocations: 480.7 kB / 391.3 MB, free: 28.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008927/0.272, allocations: 0.5102 MB / 391.8 MB, free: 28.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/0.273, allocations: 1.092 MB / 392.9 MB, free: 27.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.2746, allocations: 1.568 MB / 394.4 MB, free: 25.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2746, allocations: 0 / 394.4 MB, free: 25.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00479/0.2794, allocations: 3.667 MB / 398.1 MB, free: 21.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.2794, allocations: 12.06 kB / 398.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2794, allocations: 4 kB / 398.1 MB, free: 21.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005532/0.285, allocations: 1.882 MB / 400 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.2869, allocations: 0.5188 MB / 400.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03698/0.3239, allocations: 22.89 MB / 423.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008617/0.3325, allocations: 106.5 kB / 423.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004397/0.3329, allocations: 87.97 kB / 423.6 MB, free: 11.29 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 (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.001366/0.3343, allocations: 330.8 kB / 423.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004093/0.3384, allocations: 0.9825 MB / 424.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009377/0.3478, allocations: 3.455 MB / 428.4 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.3478, allocations: 36 kB / 428.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.3478, allocations: 8 kB / 428.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.3478, allocations: 19.94 kB / 428.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.3591, allocations: 7.531 MB / 436 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3591, allocations: 0 / 436 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.3603, allocations: 451.4 kB / 436.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004947/0.3653, allocations: 1.827 MB / 438.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.3654, allocations: 71.97 kB / 438.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.3815, allocations: 21.25 MB / 459.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01338/0.3949, allocations: 9.422 MB / 469 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006596/0.4015, allocations: 4.413 MB / 473.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.4025, allocations: 0.7272 MB / 474.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/0.4029, allocations: 75.94 kB / 474.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.4039, allocations: 87.97 kB / 474.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005373/0.4045, allocations: 291.1 kB / 474.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.4046, allocations: 75.97 kB / 474.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004833/0.4094, allocations: 5.409 MB / 480 MB, free: 1.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4094, allocations: 0 / 480 MB, free: 1.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003048/0.4125, allocations: 1.098 MB / 481.1 MB, free: 204 kB / 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.1111/0.5236, allocations: 485.7 kB / 481.6 MB, free: 113.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004602/0.5282, allocations: 3.795 MB / 485.4 MB, free: 111.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5282, allocations: 5.125 kB / 485.4 MB, free: 111.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/0.5311, allocations: 3.061 MB / 488.5 MB, free: 110.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.5334, allocations: 0.5818 MB / 489 MB, free: 110.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.5466, allocations: 13.57 MB / 0.4908 GB, free: 104.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.5482, allocations: 1.579 MB / 0.4924 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001228/0.5494, allocations: 305.6 kB / 0.4927 GB, free: 103.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009304/0.5503, allocations: 0.5278 MB / 0.4932 GB, free: 103.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.954e-06/0.5503, allocations: 0 / 0.4932 GB, free: 103.1 MB / 378.7 MB Notification: Performance of Templates: time 0.08689/0.6372, allocations: 72.53 MB / 0.564 GB, free: 34.18 MB / 378.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 240] 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","",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.202250632923096]