Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001138/0.001138, allocations: 85.17 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.001718/0.001718, allocations: 147.2 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 1.072/1.072, allocations: 173.4 MB / 201.5 MB, free: 8.723 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.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.34e-05, allocations: 10.11 kB / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005887/0.005911, allocations: 6.24 MB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.00968, allocations: 2.231 MB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005694/0.01025, allocations: 23.88 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006869/0.01094, allocations: 353.7 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009508/0.01189, allocations: 0.5002 MB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.01261, allocations: 455.2 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.01394, allocations: 1.588 MB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.01435, allocations: 341.9 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008342/0.01519, allocations: 0.8849 MB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.01574, allocations: 0.5182 MB / 281.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.01589, allocations: 156 kB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.01611, allocations: 187.9 kB / 282 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.01631, allocations: 330.9 kB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.01665, allocations: 458.9 kB / 282.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009002/0.01755, allocations: 1.016 MB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.01756, allocations: 3.984 kB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01756, allocations: 0 / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.01757, allocations: 4 kB / 283.8 MB, free: 6.621 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001618/0.01919, allocations: 1.398 MB / 285.2 MB, free: 5.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.01923, allocations: 8.922 kB / 285.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.01939, allocations: 168.8 kB / 285.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.01996, allocations: 465.6 kB / 285.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.02001, allocations: 74.38 kB / 285.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.0201, allocations: 104.3 kB / 286 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.02085, allocations: 0.7401 MB / 286.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.02088, allocations: 11.92 kB / 286.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.02093, allocations: 39.94 kB / 286.7 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.02094, allocations: 20 kB / 286.8 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.02132, allocations: 280 kB / 287 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.0237, allocations: 2.095 MB / 289.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.02441, allocations: 435.8 kB / 289.6 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.02456, allocations: 151.8 kB / 289.7 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.0246, allocations: 15.84 kB / 289.7 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.02462, allocations: 46.88 kB / 289.8 MB, free: 420 kB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.214e-06/0.02463, allocations: 0 / 289.8 MB, free: 420 kB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.1138/0.1384, allocations: 0.8213 MB / 290.6 MB, free: 28.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1384, allocations: 85.31 kB / 290.7 MB, free: 28.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007415/0.1392, allocations: 0.6529 MB / 291.3 MB, free: 28.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.1392, allocations: 37.86 kB / 291.4 MB, free: 28.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.1394, allocations: 477.4 kB / 291.8 MB, free: 28.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1396, allocations: 235.2 kB / 292.1 MB, free: 28.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.1398, allocations: 159.5 kB / 292.2 MB, free: 28.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1399, allocations: 398.6 kB / 292.6 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.14, allocations: 84.48 kB / 292.7 MB, free: 27.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.1403, allocations: 281.8 kB / 293 MB, free: 27.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.1407, allocations: 431.1 kB / 293.4 MB, free: 27.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1407, allocations: 2 kB / 293.4 MB, free: 27.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000703/0.1415, allocations: 462.5 kB / 293.8 MB, free: 27.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1415, allocations: 7.812 kB / 293.8 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1415, allocations: 10.12 kB / 293.9 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.1415, allocations: 9.375 kB / 293.9 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.1423, allocations: 272.8 kB / 294.1 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.1423, allocations: 17.52 kB / 294.1 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.1427, allocations: 50.33 kB / 294.2 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.1427, allocations: 32.58 kB / 294.2 MB, free: 27.43 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 (108): * Single equations (assignments): 108 * 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.0002024/0.143, allocations: 167.1 kB / 294.4 MB, free: 27.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1431, allocations: 76.77 kB / 294.5 MB, free: 27.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1434, allocations: 199.5 kB / 294.7 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1434, allocations: 11.38 kB / 294.7 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1434, allocations: 1.062 kB / 294.7 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.1434, allocations: 3.328 kB / 294.7 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.1452, allocations: 1.182 MB / 295.9 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.1452, allocations: 6.719 kB / 295.9 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.1458, allocations: 196.4 kB / 296.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.1458, allocations: 9.656 kB / 296.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.1458, allocations: 24.27 kB / 296.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.1458, allocations: 16.72 kB / 296.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.1458, allocations: 10.62 kB / 296.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.1464, allocations: 0.6436 MB / 296.8 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1465, allocations: 81.38 kB / 296.8 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.1466, allocations: 21.94 kB / 296.9 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.1469, allocations: 36.78 kB / 296.9 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.147, allocations: 71.8 kB / 297 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.1471, allocations: 23.64 kB / 297 MB, free: 26.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.1474, allocations: 323 kB / 297.3 MB, free: 26.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1474, allocations: 0 / 297.3 MB, free: 26.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000696/0.1481, allocations: 200.4 kB / 297.5 MB, free: 26.23 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.001097/0.1492, allocations: 465.8 kB / 298 MB, free: 26.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.1498, allocations: 371 kB / 298.3 MB, free: 26.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-05/0.1499, allocations: 12.25 kB / 298.3 MB, free: 26.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.1501, allocations: 168.6 kB / 298.5 MB, free: 26.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.1508, allocations: 214.9 kB / 298.7 MB, free: 26.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.1533, allocations: 1.684 MB / 300.4 MB, free: 25.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.1535, allocations: 183.2 kB / 300.6 MB, free: 24.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.154, allocations: 109.8 kB / 300.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.1544, allocations: 222.2 kB / 300.9 MB, free: 24.9 MB / 266.7 MB Notification: Performance of SimCode: time 1.413e-06/0.1544, allocations: 0 / 300.9 MB, free: 24.9 MB / 266.7 MB Notification: Performance of Templates: time 0.0159/0.1703, allocations: 10.95 MB / 311.8 MB, free: 18.19 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9074725480750203]