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.001726/0.001726, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.002088/0.002088, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 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.477/1.477, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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.423e-06/1.423e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.799e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009051/0.009079, allocations: 5.733 MB / 273.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.0139, allocations: 2.107 MB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008789/0.01478, allocations: 19.94 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.01595, allocations: 353.6 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.01769, allocations: 0.4926 MB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.01889, allocations: 451.1 kB / 276.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.02135, allocations: 1.592 MB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008199/0.02217, allocations: 333.9 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.02389, allocations: 0.8656 MB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.02499, allocations: 0.522 MB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.02534, allocations: 163.9 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.02584, allocations: 191.9 kB / 280.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.02627, allocations: 330.9 kB / 280.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008546/0.02712, allocations: 466.9 kB / 280.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.0296, allocations: 1.986 MB / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.0296, allocations: 0 / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0296, allocations: 0 / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.02962, allocations: 4 kB / 282.9 MB, free: 7.066 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.003343/0.03296, allocations: 1.489 MB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.033, allocations: 8.922 kB / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.03339, allocations: 216.1 kB / 284.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.03478, allocations: 0.6778 MB / 285.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.03487, allocations: 70.38 kB / 285.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.03505, allocations: 108.3 kB / 285.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.03731, allocations: 1.064 MB / 286.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.03735, allocations: 3.938 kB / 286.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.03745, allocations: 44 kB / 286.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.03748, allocations: 24 kB / 286.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.03971, allocations: 0.8718 MB / 287.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/0.1415, allocations: 2.908 MB / 290.4 MB, free: 31.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.1443, allocations: 0.8545 MB / 291.2 MB, free: 31.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.1451, allocations: 342.2 kB / 291.5 MB, free: 31.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.1451, allocations: 12.03 kB / 291.6 MB, free: 31.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1451, allocations: 44.22 kB / 291.6 MB, free: 31.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.184e-06/0.1451, allocations: 0 / 291.6 MB, free: 31.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.004678/0.1498, allocations: 1.83 MB / 293.4 MB, free: 30.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1498, allocations: 87.44 kB / 293.5 MB, free: 30.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/0.1508, allocations: 0.8503 MB / 294.4 MB, free: 30.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.1509, allocations: 35.64 kB / 294.4 MB, free: 30.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.1512, allocations: 0.5447 MB / 294.9 MB, free: 29.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1513, allocations: 238.2 kB / 295.2 MB, free: 29.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.1515, allocations: 159.4 kB / 295.3 MB, free: 29.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1516, allocations: 397.2 kB / 295.7 MB, free: 29.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008729/0.1525, allocations: 339.4 kB / 296 MB, free: 29.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00093/0.1534, allocations: 0.5257 MB / 296.6 MB, free: 28.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.1551, allocations: 0.8275 MB / 297.4 MB, free: 28.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1551, allocations: 1.125 kB / 297.4 MB, free: 28.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002227/0.1573, allocations: 1.044 MB / 298.4 MB, free: 28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1573, allocations: 7.094 kB / 298.5 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1574, allocations: 8.625 kB / 298.5 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.1574, allocations: 10.16 kB / 298.5 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.1586, allocations: 288.4 kB / 298.8 MB, free: 27.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.1586, allocations: 14.95 kB / 298.8 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007589/0.1594, allocations: 68.84 kB / 298.8 MB, free: 27.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.1595, allocations: 36.81 kB / 298.9 MB, free: 27.94 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 (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.0003479/0.1598, allocations: 290.6 kB / 299.2 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.16, allocations: 110.2 kB / 299.3 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.1609, allocations: 372.9 kB / 299.6 MB, free: 27.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1609, allocations: 10.31 kB / 299.6 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.1609, allocations: 1.156 kB / 299.6 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1609, allocations: 3.891 kB / 299.6 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.1643, allocations: 2.012 MB / 301.7 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.1643, allocations: 6.875 kB / 301.7 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.1652, allocations: 210.1 kB / 301.9 MB, free: 26.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.1652, allocations: 8.312 kB / 301.9 MB, free: 26.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.1652, allocations: 23.97 kB / 301.9 MB, free: 26.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.1652, allocations: 17.23 kB / 301.9 MB, free: 26.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1652, allocations: 7 kB / 301.9 MB, free: 26.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1667, allocations: 1.034 MB / 303 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1669, allocations: 97 kB / 303.1 MB, free: 25.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.167, allocations: 25.22 kB / 303.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.1676, allocations: 46.27 kB / 303.1 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1677, allocations: 65.95 kB / 303.2 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.1677, allocations: 34.06 kB / 303.2 MB, free: 25.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006143/0.1683, allocations: 0.5787 MB / 303.8 MB, free: 25.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1683, allocations: 0 / 303.8 MB, free: 25.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000852/0.1692, allocations: 211.1 kB / 304 MB, free: 25.21 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.001725/0.1709, allocations: 416.6 kB / 304.4 MB, free: 25.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.1725, allocations: 0.7286 MB / 305.1 MB, free: 24.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1725, allocations: 5.062 kB / 305.1 MB, free: 24.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.1732, allocations: 356.4 kB / 305.5 MB, free: 24.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.1743, allocations: 210.4 kB / 305.7 MB, free: 24.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.1766, allocations: 1.879 MB / 307.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1769, allocations: 430.8 kB / 308 MB, free: 22.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004207/0.1773, allocations: 118.8 kB / 308.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.1775, allocations: 68.47 kB / 308.2 MB, free: 21.92 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1775, allocations: 0 / 308.2 MB, free: 21.92 MB / 266.7 MB Notification: Performance of Templates: time 0.01393/0.1915, allocations: 10.23 MB / 318.4 MB, free: 11.89 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.612597099039704]