Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.001498/0.001498, 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.001884/0.001884, 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.495/1.495, allocations: 173.4 MB / 200.8 MB, free: 9.285 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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.164e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01128/0.01132, allocations: 5.621 MB / 272.9 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.01634, allocations: 1.772 MB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009943/0.01733, allocations: 23.88 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.01824, allocations: 214.1 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.01979, allocations: 416.6 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.02084, allocations: 375.4 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.02344, allocations: 1.537 MB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008227/0.02427, allocations: 317.8 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.02595, allocations: 0.8421 MB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.02686, allocations: 454.7 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.02716, allocations: 163.9 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.02747, allocations: 160 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.02785, allocations: 314.9 kB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007416/0.02859, allocations: 459 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.03155, allocations: 1.912 MB / 281.8 MB, free: 8.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.03156, allocations: 4 kB / 281.8 MB, free: 8.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03156, allocations: 4 kB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.03159, allocations: 0 / 281.8 MB, free: 8.094 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004288/0.03587, allocations: 1.381 MB / 283.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.03592, allocations: 8.922 kB / 283.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000486/0.03641, allocations: 204.2 kB / 283.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.03823, allocations: 0.6382 MB / 284.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.03835, allocations: 74.38 kB / 284.1 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.0386, allocations: 100.3 kB / 284.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.04167, allocations: 1.056 MB / 285.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/0.04171, allocations: 4.188 kB / 285.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.04186, allocations: 40.38 kB / 285.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.0419, allocations: 27.94 kB / 285.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.04479, allocations: 0.8561 MB / 286.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00717/0.05196, allocations: 2.752 MB / 289 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.05408, allocations: 0.7728 MB / 289.7 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1143/0.1684, allocations: 427.1 kB / 290.2 MB, free: 32.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.1685, allocations: 17.23 kB / 290.2 MB, free: 32.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1685, allocations: 47.73 kB / 290.2 MB, free: 32.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 3.085e-06/0.1685, allocations: 1.188 kB / 290.2 MB, free: 32.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.009062/0.1776, allocations: 3.958 MB / 294.2 MB, free: 30.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1776, allocations: 90.36 kB / 294.3 MB, free: 30.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006953/0.1783, allocations: 0.548 MB / 294.8 MB, free: 30.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.1783, allocations: 46.8 kB / 294.9 MB, free: 30.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.1786, allocations: 446.5 kB / 295.3 MB, free: 30.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.1788, allocations: 410.8 kB / 295.7 MB, free: 29.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.1791, allocations: 185.4 kB / 295.9 MB, free: 29.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1792, allocations: 390.1 kB / 296.3 MB, free: 29.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/0.18, allocations: 387 kB / 296.6 MB, free: 29.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/0.1808, allocations: 0.5058 MB / 297.1 MB, free: 28.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.1824, allocations: 0.8916 MB / 298 MB, free: 28.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1824, allocations: 0 / 298 MB, free: 28.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002311/0.1847, allocations: 1.225 MB / 299.3 MB, free: 27.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1847, allocations: 11.05 kB / 299.3 MB, free: 27.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1847, allocations: 2.688 kB / 299.3 MB, free: 27.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.1853, allocations: 148 kB / 299.4 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.1864, allocations: 251.4 kB / 299.7 MB, free: 27.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.1891, allocations: 4.584 MB / 304.3 MB, free: 23.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.1898, allocations: 52.27 kB / 304.3 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.1899, allocations: 38.02 kB / 304.3 MB, free: 23.57 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 (128): * Single equations (assignments): 125 * 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.0004022/0.1903, allocations: 280 kB / 304.6 MB, free: 23.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.1905, allocations: 119.5 kB / 304.7 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.192, allocations: 0.7703 MB / 305.5 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.192, allocations: 16.38 kB / 305.5 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.192, allocations: 2.75 kB / 305.5 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.192, allocations: 7.281 kB / 305.5 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.1955, allocations: 2.213 MB / 307.7 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1955, allocations: 3.75 kB / 307.7 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.1963, allocations: 205.5 kB / 307.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007126/0.197, allocations: 182.4 kB / 308.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.1971, allocations: 27.56 kB / 308.1 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/0.1998, allocations: 5.488 MB / 313.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1998, allocations: 0 / 313.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.2024, allocations: 1.772 MB / 315.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.2026, allocations: 83.47 kB / 315.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2027, allocations: 23.95 kB / 315.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.2032, allocations: 55.95 kB / 315.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.2034, allocations: 80.5 kB / 315.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.2034, allocations: 27.98 kB / 315.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003861/0.2038, allocations: 394.8 kB / 316.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2038, allocations: 0 / 316.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008699/0.2047, allocations: 252 kB / 316.3 MB, free: 13.34 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 (104): * Single equations (assignments): 100 * 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.0001427/0.2048, allocations: 133.9 kB / 316.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.2068, allocations: 1.299 MB / 317.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2068, allocations: 0 / 317.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.2079, allocations: 0.9676 MB / 318.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009084/0.2088, allocations: 201.4 kB / 318.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.2117, allocations: 2.028 MB / 320.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.212, allocations: 440.7 kB / 321.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004462/0.2124, allocations: 111.3 kB / 321.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.2126, allocations: 80.47 kB / 321.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2126, allocations: 0 / 321.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of Templates: time 0.01932/0.232, allocations: 12.06 MB / 333.6 MB, free: 12.13 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.0660382229834795]