Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0008942/0.0008942, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001012/0.001012, allocations: 169 kB / 24.82 MB, free: 9.266 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.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.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.593e-05, allocations: 6.25 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004154/0.00417, allocations: 4.569 MB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.006204, allocations: 1.952 MB / 279.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.006402, allocations: 15.94 kB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.006944, allocations: 418.1 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005806/0.007524, allocations: 481.2 kB / 280.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.007917, allocations: 327.3 kB / 281.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006708/0.008587, allocations: 1.067 MB / 282.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.008825, allocations: 199 kB / 282.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.009291, allocations: 0.6198 MB / 283 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.009663, allocations: 447 kB / 283.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.117e-05/0.009744, allocations: 92 kB / 283.5 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.009886, allocations: 135.9 kB / 283.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.01002, allocations: 235.2 kB / 283.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.0102, allocations: 307.2 kB / 284.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.01075, allocations: 0.7123 MB / 284.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.01075, allocations: 0 / 284.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.01075, allocations: 0 / 284.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.01076, allocations: 4 kB / 284.9 MB, free: 5.719 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001185/0.01195, allocations: 1.262 MB / 286.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.01198, allocations: 8.031 kB / 286.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.01227, allocations: 172.3 kB / 286.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.01268, allocations: 0.489 MB / 286.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.01271, allocations: 53.69 kB / 286.9 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.01277, allocations: 68.11 kB / 287 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.01323, allocations: 478.4 kB / 287.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.01325, allocations: 0 / 287.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.01328, allocations: 28 kB / 287.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01329, allocations: 15.94 kB / 287.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.01355, allocations: 212.9 kB / 287.7 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.01542, allocations: 1.917 MB / 289.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.01574, allocations: 261.5 kB / 289.8 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.01595, allocations: 169 kB / 290 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.01599, allocations: 16.48 kB / 290 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.01601, allocations: 41.89 kB / 290.1 MB, free: 376 kB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.573e-06/0.01601, allocations: 0 / 290.1 MB, free: 376 kB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.122/0.1381, allocations: 0.8227 MB / 290.9 MB, free: 23.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1381, allocations: 58.44 kB / 290.9 MB, free: 23.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.1388, allocations: 0.7111 MB / 291.7 MB, free: 23.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.1388, allocations: 37.2 kB / 291.7 MB, free: 23.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.1391, allocations: 490.3 kB / 292.2 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1392, allocations: 223.6 kB / 292.4 MB, free: 23.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.1394, allocations: 129.5 kB / 292.5 MB, free: 23.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1395, allocations: 0.5795 MB / 293.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1397, allocations: 75.25 kB / 293.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1399, allocations: 210.8 kB / 293.4 MB, free: 22.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.1403, allocations: 311.7 kB / 293.7 MB, free: 22.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1403, allocations: 3.688 kB / 293.7 MB, free: 22.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003672/0.1439, allocations: 457.6 kB / 294.1 MB, free: 22.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.144, allocations: 6.781 kB / 294.1 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.144, allocations: 3.625 kB / 294.1 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.144, allocations: 7.406 kB / 294.1 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.1445, allocations: 164 kB / 294.3 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1445, allocations: 6.344 kB / 294.3 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1448, allocations: 32.33 kB / 294.3 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.1448, allocations: 21.08 kB / 294.4 MB, free: 22.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.145, allocations: 194.4 kB / 294.6 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1451, allocations: 104.1 kB / 294.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/0.1457, allocations: 381.2 kB / 295 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1457, allocations: 7.516 kB / 295 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.1457, allocations: 0 / 295 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1457, allocations: 7.891 kB / 295 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/0.1502, allocations: 1.198 MB / 296.2 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1502, allocations: 2.25 kB / 296.2 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.1505, allocations: 121.9 kB / 296.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1506, allocations: 5.844 kB / 296.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.1506, allocations: 19.08 kB / 296.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1506, allocations: 5.969 kB / 296.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1506, allocations: 2.875 kB / 296.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.1511, allocations: 0.6116 MB / 297 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1513, allocations: 129.2 kB / 297.1 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.1513, allocations: 15.72 kB / 297.1 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1516, allocations: 22.55 kB / 297.2 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.1517, allocations: 49.27 kB / 297.2 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.1517, allocations: 17.95 kB / 297.2 MB, free: 21.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004352/0.1521, allocations: 450.2 kB / 297.7 MB, free: 21.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1521, allocations: 2.844 kB / 297.7 MB, free: 21.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003515/0.1556, allocations: 155.3 kB / 297.8 MB, free: 21.15 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007455/0.1564, allocations: 357.5 kB / 298.2 MB, free: 21.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.1568, allocations: 309.8 kB / 298.5 MB, free: 21.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1568, allocations: 1.094 kB / 298.5 MB, free: 21.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.157, allocations: 160 kB / 298.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.1576, allocations: 148.6 kB / 298.8 MB, free: 21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.1624, allocations: 1.38 MB / 300.2 MB, free: 20.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.1626, allocations: 174.4 kB / 300.3 MB, free: 20.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.1629, allocations: 87.12 kB / 300.4 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.1632, allocations: 208.3 kB / 300.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1632, allocations: 0 / 300.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of Templates: time 0.02965/0.1928, allocations: 8.508 MB / 309.1 MB, free: 16.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.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: 2.91332617495209]