Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.001195/0.001195, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001911/0.003107, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001144/0.001144, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002623, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9514/0.9514, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1787/1.13, allocations: 49.48 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.225e-05, allocations: 10.11 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004922/0.004935, allocations: 6.076 MB / 227.9 MB, free: 10.06 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.007824, allocations: 1.936 MB / 229.8 MB, free: 8.117 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.008186, allocations: 23.88 kB / 229.9 MB, free: 8.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.008528, allocations: 214.1 kB / 230.1 MB, free: 7.883 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005638/0.009092, allocations: 420.5 kB / 230.5 MB, free: 7.469 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.009552, allocations: 379.4 kB / 230.9 MB, free: 7.098 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009987/0.01055, allocations: 1.522 MB / 232.4 MB, free: 5.57 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.01093, allocations: 333.8 kB / 232.7 MB, free: 5.219 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.01164, allocations: 0.9502 MB / 233.7 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.01205, allocations: 474.7 kB / 234.1 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.01218, allocations: 156 kB / 234.3 MB, free: 3.652 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.01231, allocations: 152 kB / 234.4 MB, free: 3.504 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.01244, allocations: 231.3 kB / 234.7 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.01274, allocations: 379.4 kB / 235 MB, free: 2.906 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008374/0.01357, allocations: 0.872 MB / 235.9 MB, free: 2.031 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.01359, allocations: 4 kB / 235.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01359, allocations: 0 / 235.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.01361, allocations: 0 / 235.9 MB, free: 2.027 MB / 234.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.001931/0.01554, allocations: 1.543 MB / 237.4 MB, free: 464 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.01557, allocations: 12.02 kB / 237.5 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.01576, allocations: 156.8 kB / 237.6 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.01638, allocations: 435.6 kB / 238 MB, free: 15.83 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.01644, allocations: 74.38 kB / 238.1 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.01656, allocations: 96.38 kB / 238.2 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/0.01744, allocations: 0.7439 MB / 238.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.01747, allocations: 4.141 kB / 238.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.01753, allocations: 45.69 kB / 239 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.01754, allocations: 20 kB / 239 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.01801, allocations: 291.9 kB / 239.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.02073, allocations: 1.963 MB / 241.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.02129, allocations: 451.4 kB / 241.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.02153, allocations: 191.1 kB / 241.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.02158, allocations: 24.48 kB / 241.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.02161, allocations: 43.06 kB / 242 MB, free: 11.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 2.665e-06/0.02161, allocations: 0 / 242 MB, free: 11.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=113): time 0.004358/0.02597, allocations: 2.54 MB / 244.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.02603, allocations: 89.77 kB / 244.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.02642, allocations: 467.1 kB / 245 MB, free: 8.562 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.02647, allocations: 45.7 kB / 245.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.02665, allocations: 386.1 kB / 245.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.02688, allocations: 404.4 kB / 245.9 MB, free: 7.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.02709, allocations: 182.8 kB / 246 MB, free: 7.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.02723, allocations: 402.6 kB / 246.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.02741, allocations: 110.6 kB / 246.5 MB, free: 7.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.02769, allocations: 261.1 kB / 246.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.0282, allocations: 461.5 kB / 247.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02821, allocations: 4 kB / 247.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0007771/0.02899, allocations: 0.5847 MB / 247.8 MB, free: 5.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.029, allocations: 10.75 kB / 247.8 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.02901, allocations: 4.344 kB / 247.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.02931, allocations: 118.5 kB / 248 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.03009, allocations: 283.6 kB / 248.2 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.03233, allocations: 4.069 MB / 252.3 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.03264, allocations: 35.98 kB / 252.3 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.03269, allocations: 31.98 kB / 252.4 MB, free: 0.8438 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 124 * 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.0001937/0.03289, allocations: 173.7 kB / 252.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.03302, allocations: 91.89 kB / 252.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.0336, allocations: 446.4 kB / 253.1 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.03361, allocations: 15.98 kB / 253.1 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.03361, allocations: 3.938 kB / 253.1 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.03363, allocations: 7.984 kB / 253.1 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.03538, allocations: 1.262 MB / 254.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.03539, allocations: 4.062 kB / 254.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.03605, allocations: 244.3 kB / 254.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.03614, allocations: 67.48 kB / 254.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/0.03653, allocations: 155.3 kB / 254.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.03657, allocations: 23.98 kB / 254.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.03903, allocations: 4.865 MB / 259.7 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.03903, allocations: 4.188 kB / 259.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.04004, allocations: 0.8934 MB / 260.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.04011, allocations: 23.94 kB / 260.6 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.04042, allocations: 47.91 kB / 260.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.04054, allocations: 80.44 kB / 260.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.04057, allocations: 20 kB / 260.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.04078, allocations: 216.4 kB / 261 MB, free: 7.762 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.04078, allocations: 4 kB / 261 MB, free: 7.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006271/0.04141, allocations: 252 kB / 261.2 MB, free: 7.512 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 (102): * Single equations (assignments): 98 * 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.0001276/0.04153, allocations: 108.2 kB / 261.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009129/0.04245, allocations: 0.869 MB / 262.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.566e-05/0.04247, allocations: 12 kB / 262.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.0431, allocations: 0.7707 MB / 263 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.04378, allocations: 276 kB / 263.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.0487, allocations: 1.845 MB / 265.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.04887, allocations: 206.7 kB / 265.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.04924, allocations: 111.3 kB / 265.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.04964, allocations: 241.2 kB / 265.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.04964, allocations: 3.938 kB / 265.7 MB, free: 2.922 MB / 266.7 MB Notification: Performance of Templates: time 0.01941/0.06905, allocations: 13.65 MB / 279.3 MB, free: 5.281 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.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.984813518822193]