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.0009501/0.0009501, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001127/0.001127, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9348/0.9348, allocations: 177.1 MB / 205 MB, free: 5.605 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 1.363e-06/1.363e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.988e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005365/0.005385, allocations: 6.455 MB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.00847, allocations: 2.373 MB / 281.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.008839, allocations: 23.88 kB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.009439, allocations: 357.7 kB / 282.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000882/0.01032, allocations: 0.5586 MB / 282.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.01096, allocations: 459.1 kB / 283.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.01218, allocations: 1.607 MB / 284.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.01258, allocations: 334 kB / 285.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009363/0.01352, allocations: 0.9199 MB / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.01401, allocations: 0.5415 MB / 286.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.01414, allocations: 156 kB / 286.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.01436, allocations: 188 kB / 286.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.01455, allocations: 334.9 kB / 287.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.01486, allocations: 474.9 kB / 287.7 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.01569, allocations: 1.032 MB / 288.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01569, allocations: 4 kB / 288.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01569, allocations: 0 / 288.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.01571, allocations: 0 / 288.7 MB, free: 1.672 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.001697/0.0174, allocations: 1.562 MB / 290.3 MB, free: 72 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.01744, allocations: 12.03 kB / 290.3 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1099/0.1274, allocations: 238.3 kB / 290.5 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/0.1282, allocations: 0.6487 MB / 291.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.1283, allocations: 72.25 kB / 291.3 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.1284, allocations: 98.5 kB / 291.4 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1295, allocations: 0.7737 MB / 292.1 MB, free: 24.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1295, allocations: 6.797 kB / 292.1 MB, free: 24.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.1296, allocations: 43.88 kB / 292.2 MB, free: 24.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.1296, allocations: 23.81 kB / 292.2 MB, free: 24.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.1303, allocations: 409 kB / 292.6 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.1334, allocations: 2.787 MB / 295.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/0.1343, allocations: 426.3 kB / 295.8 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.1346, allocations: 186.9 kB / 296 MB, free: 23.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1346, allocations: 13.34 kB / 296 MB, free: 23.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1346, allocations: 45.31 kB / 296 MB, free: 23.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.805e-06/0.1346, allocations: 0.6094 kB / 296 MB, free: 23.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001689/0.1363, allocations: 1.175 MB / 297.2 MB, free: 22.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.1363, allocations: 92.27 kB / 297.3 MB, free: 22.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/0.1371, allocations: 0.7874 MB / 298.1 MB, free: 22.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1371, allocations: 36.67 kB / 298.1 MB, free: 22.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.1373, allocations: 0.6221 MB / 298.8 MB, free: 22.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1374, allocations: 236.7 kB / 299 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1376, allocations: 168.6 kB / 299.2 MB, free: 21.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1378, allocations: 0.5693 MB / 299.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.138, allocations: 124.4 kB / 299.8 MB, free: 21.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.1383, allocations: 383.6 kB / 300.2 MB, free: 20.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.1389, allocations: 0.5257 MB / 300.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1389, allocations: 1.125 kB / 300.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0008589/0.1397, allocations: 0.6644 MB / 301.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1397, allocations: 14.7 kB / 301.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1398, allocations: 5.812 kB / 301.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.1398, allocations: 15.08 kB / 301.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.1403, allocations: 244.9 kB / 301.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1404, allocations: 14.36 kB / 301.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.1407, allocations: 46.27 kB / 301.7 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.1407, allocations: 37.61 kB / 301.8 MB, free: 20.23 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 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.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.0001666/0.1409, allocations: 203.9 kB / 302 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.141, allocations: 117.9 kB / 302.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.1413, allocations: 231.8 kB / 302.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.1413, allocations: 12.81 kB / 302.3 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.1413, allocations: 1.406 kB / 302.3 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1413, allocations: 3.375 kB / 302.3 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1432, allocations: 1.724 MB / 304.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1432, allocations: 15.3 kB / 304.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.1436, allocations: 175.8 kB / 304.2 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.1436, allocations: 9.375 kB / 304.3 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.1436, allocations: 21.47 kB / 304.3 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.1436, allocations: 15.03 kB / 304.3 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.1436, allocations: 9.906 kB / 304.3 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.1443, allocations: 0.951 MB / 305.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1444, allocations: 102.1 kB / 305.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.1445, allocations: 19.12 kB / 305.4 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.1447, allocations: 39.08 kB / 305.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.1448, allocations: 71.45 kB / 305.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.1448, allocations: 35.02 kB / 305.5 MB, free: 17.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003722/0.1452, allocations: 499.9 kB / 306 MB, free: 17.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1452, allocations: 0 / 306 MB, free: 17.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005204/0.1457, allocations: 210 kB / 306.2 MB, free: 17.6 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.0007302/0.1465, allocations: 370.4 kB / 306.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.147, allocations: 435 kB / 307 MB, free: 17.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.147, allocations: 7.297 kB / 307 MB, free: 17.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1472, allocations: 196.8 kB / 307.2 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.1478, allocations: 224.3 kB / 307.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1495, allocations: 1.791 MB / 309.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1496, allocations: 195.3 kB / 309.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.1499, allocations: 121.1 kB / 309.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.15, allocations: 68.48 kB / 309.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.15, allocations: 0 / 309.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01194/0.162, allocations: 11.27 MB / 320.8 MB, free: 4.449 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: 3.1515656621195376]