Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.94e-05, allocations: 6.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008742/0.008771, allocations: 5.719 MB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.0131, allocations: 1.839 MB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008368/0.01394, allocations: 23.88 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.01465, allocations: 214.1 kB / 280 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.01589, allocations: 436.5 kB / 280.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.01676, allocations: 383.4 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.0189, allocations: 1.553 MB / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000625/0.01952, allocations: 321.9 kB / 282.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.02086, allocations: 0.8732 MB / 283.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.02158, allocations: 458.7 kB / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.0218, allocations: 160 kB / 284.1 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.02208, allocations: 168 kB / 284.3 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.0224, allocations: 314.9 kB / 284.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.02299, allocations: 471 kB / 285.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.02527, allocations: 1.943 MB / 287 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02528, allocations: 0 / 287 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02528, allocations: 0 / 287 MB, free: 2.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.0253, allocations: 0 / 287 MB, free: 2.906 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003065/0.02836, allocations: 1.388 MB / 288.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.0284, allocations: 11.98 kB / 288.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000691/0.02909, allocations: 232.1 kB / 288.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.03049, allocations: 0.6537 MB / 289.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.03057, allocations: 74.38 kB / 289.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.03075, allocations: 99.94 kB / 289.5 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1151/0.1459, allocations: 1.025 MB / 290.5 MB, free: 28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/0.1459, allocations: 5.453 kB / 290.5 MB, free: 28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.146, allocations: 43 kB / 290.5 MB, free: 28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.146, allocations: 24.77 kB / 290.6 MB, free: 28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.1476, allocations: 0.7878 MB / 291.3 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.1523, allocations: 2.756 MB / 294.1 MB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.1536, allocations: 0.7474 MB / 294.8 MB, free: 25.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.1542, allocations: 409.1 kB / 295.2 MB, free: 25.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.1543, allocations: 21.95 kB / 295.3 MB, free: 25.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1543, allocations: 48.36 kB / 295.3 MB, free: 25.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.867e-06/0.1543, allocations: 0 / 295.3 MB, free: 25.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=119): time 0.008055/0.1624, allocations: 3.855 MB / 299.2 MB, free: 23.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1624, allocations: 89.92 kB / 299.3 MB, free: 23.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.1631, allocations: 0.5773 MB / 299.8 MB, free: 23.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.1632, allocations: 51.94 kB / 299.9 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.1634, allocations: 453.2 kB / 300.3 MB, free: 23.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.1636, allocations: 423.6 kB / 300.7 MB, free: 22.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.1639, allocations: 187.2 kB / 300.9 MB, free: 22.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.164, allocations: 393.5 kB / 301.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.1646, allocations: 342.7 kB / 301.6 MB, free: 22.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.1653, allocations: 492 kB / 302.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.1666, allocations: 0.8505 MB / 303 MB, free: 21.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1666, allocations: 1.375 kB / 303 MB, free: 21.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002031/0.1686, allocations: 1.19 MB / 304.2 MB, free: 20.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1687, allocations: 8 kB / 304.2 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1687, allocations: 4.906 kB / 304.2 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.1693, allocations: 149.5 kB / 304.3 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/0.1702, allocations: 243.1 kB / 304.6 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.1727, allocations: 4.576 MB / 309.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.1734, allocations: 35.14 kB / 309.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.1734, allocations: 39.23 kB / 309.2 MB, free: 16.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003957/0.1738, allocations: 285.7 kB / 309.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.174, allocations: 139.4 kB / 309.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.1753, allocations: 0.7414 MB / 310.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1753, allocations: 12 kB / 310.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.1753, allocations: 4 kB / 310.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1753, allocations: 9.203 kB / 310.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.1784, allocations: 2.159 MB / 312.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1784, allocations: 8.062 kB / 312.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.1792, allocations: 195.7 kB / 312.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007346/0.1799, allocations: 186.2 kB / 312.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.18, allocations: 27.98 kB / 313 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.1827, allocations: 5.48 MB / 318.4 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1827, allocations: 0 / 318.4 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.1851, allocations: 1.689 MB / 320.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.1854, allocations: 171.4 kB / 320.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1855, allocations: 24 kB / 320.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.1861, allocations: 31.98 kB / 320.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.1862, allocations: 92.36 kB / 320.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.1863, allocations: 32 kB / 320.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004178/0.1867, allocations: 410.8 kB / 320.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1867, allocations: 4 kB / 320.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009062/0.1876, allocations: 260 kB / 321.1 MB, free: 4.043 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.1878, allocations: 131.7 kB / 321.3 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.1895, allocations: 1.246 MB / 322.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1895, allocations: 0 / 322.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.1905, allocations: 0.9323 MB / 323.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.1915, allocations: 221.6 kB / 323.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.1947, allocations: 2.053 MB / 325.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.1953, allocations: 450.5 kB / 326.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005533/0.1958, allocations: 119.6 kB / 326.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.1961, allocations: 76.48 kB / 326.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1961, allocations: 4 kB / 326.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Templates: time 0.0255/0.2216, allocations: 12.6 MB / 338.9 MB, free: 2.332 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.911637268960476]