Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.0009443/0.0009443, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.001011/0.001011, allocations: 173.8 kB / 24.82 MB, free: 8.883 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.9963/0.9963, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.331e-05, allocations: 2.312 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008739/0.008773, allocations: 6.294 MB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.0141, allocations: 2.361 MB / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.01537, allocations: 23.88 kB / 282.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.01615, allocations: 353.7 kB / 282.4 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.01731, allocations: 0.5585 MB / 283 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.01806, allocations: 459.1 kB / 283.4 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.0196, allocations: 1.615 MB / 285 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004636/0.02006, allocations: 334 kB / 285.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.02127, allocations: 0.916 MB / 286.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.02196, allocations: 0.5376 MB / 286.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.02218, allocations: 156 kB / 287 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.02247, allocations: 196 kB / 287.2 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.0227, allocations: 330.8 kB / 287.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.02311, allocations: 466.9 kB / 287.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.02419, allocations: 1.036 MB / 289 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.0242, allocations: 0 / 289 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.0242, allocations: 0 / 289 MB, free: 1.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.02422, allocations: 0 / 289 MB, free: 1.617 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1178/0.142, allocations: 1.58 MB / 290.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1421, allocations: 10.75 kB / 290.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/0.1428, allocations: 234 kB / 290.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008886/0.1437, allocations: 0.6466 MB / 291.4 MB, free: 24.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.1437, allocations: 72.47 kB / 291.5 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.1438, allocations: 102.2 kB / 291.6 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.1448, allocations: 0.7157 MB / 292.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.1448, allocations: 1.984 kB / 292.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.1448, allocations: 44.59 kB / 292.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.1448, allocations: 23.91 kB / 292.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.1453, allocations: 317.1 kB / 292.7 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.1483, allocations: 2.665 MB / 295.4 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/0.1492, allocations: 400.9 kB / 295.8 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1493, allocations: 152 kB / 295.9 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.1494, allocations: 21.42 kB / 295.9 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1494, allocations: 48 kB / 296 MB, free: 23.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.835e-06/0.1494, allocations: 1.125 kB / 296 MB, free: 23.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001506/0.1509, allocations: 0.8326 MB / 296.8 MB, free: 23.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.151, allocations: 87.02 kB / 296.9 MB, free: 23.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.1517, allocations: 0.7553 MB / 297.7 MB, free: 22.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1517, allocations: 36.11 kB / 297.7 MB, free: 22.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.152, allocations: 0.6326 MB / 298.3 MB, free: 22.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1521, allocations: 244.5 kB / 298.6 MB, free: 22.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.1523, allocations: 174.2 kB / 298.7 MB, free: 22.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1524, allocations: 0.5821 MB / 299.3 MB, free: 21.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.1526, allocations: 95.14 kB / 299.4 MB, free: 21.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.1529, allocations: 357.7 kB / 299.8 MB, free: 21.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.1533, allocations: 499.4 kB / 300.2 MB, free: 21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1533, allocations: 1.844 kB / 300.2 MB, free: 21 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0007272/0.154, allocations: 0.6042 MB / 300.8 MB, free: 20.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.154, allocations: 13.53 kB / 300.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.154, allocations: 6.5 kB / 300.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.1541, allocations: 9.625 kB / 300.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.1546, allocations: 245.5 kB / 301.1 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.1546, allocations: 18.52 kB / 301.1 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.155, allocations: 39.86 kB / 301.2 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.155, allocations: 31.92 kB / 301.2 MB, free: 20.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0001913/0.1552, allocations: 207.4 kB / 301.4 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.1553, allocations: 114.8 kB / 301.5 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.1557, allocations: 219.7 kB / 301.7 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.1557, allocations: 11 kB / 301.7 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.1557, allocations: 4.969 kB / 301.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.1557, allocations: 7.625 kB / 301.8 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.1574, allocations: 1.573 MB / 303.3 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.1574, allocations: 6.875 kB / 303.3 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.1578, allocations: 176.3 kB / 303.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.1578, allocations: 13.62 kB / 303.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.1579, allocations: 22.23 kB / 303.5 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.1579, allocations: 15.44 kB / 303.6 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1579, allocations: 12.19 kB / 303.6 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.1585, allocations: 0.912 MB / 304.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1586, allocations: 106.2 kB / 304.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.1587, allocations: 23.28 kB / 304.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1589, allocations: 35.64 kB / 304.6 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.159, allocations: 71.95 kB / 304.7 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.159, allocations: 23.91 kB / 304.7 MB, free: 18.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003459/0.1594, allocations: 464.8 kB / 305.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1594, allocations: 0 / 305.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006243/0.16, allocations: 212.4 kB / 305.4 MB, free: 18.39 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0007583/0.1607, allocations: 373.2 kB / 305.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004806/0.1612, allocations: 392.2 kB / 306.1 MB, free: 18.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1612, allocations: 4.062 kB / 306.1 MB, free: 18.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1614, allocations: 181.5 kB / 306.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.1621, allocations: 220.2 kB / 306.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1641, allocations: 1.788 MB / 308.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.1643, allocations: 192.8 kB / 308.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.1646, allocations: 113.4 kB / 308.6 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.1649, allocations: 276 kB / 308.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1649, allocations: 0 / 308.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of Templates: time 0.01417/0.1791, allocations: 11.56 MB / 320.5 MB, free: 5.238 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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.9770360770635307]