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.0009739/0.0009739, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 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.001207/0.001207, allocations: 177.5 kB / 26.4 MB, free: 7.992 MB / 18.57 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.9451/0.9451, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.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.263e-06/1.263e-06, allocations: 3.938 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.927e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00544/0.005459, allocations: 6.017 MB / 258.3 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.007923, allocations: 1.839 MB / 260.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.008311, allocations: 23.88 kB / 260.1 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.008747, allocations: 214.1 kB / 260.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006219/0.009369, allocations: 420.5 kB / 260.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.009841, allocations: 383.4 kB / 261.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.01086, allocations: 1.529 MB / 262.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.01123, allocations: 329.8 kB / 263 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/0.01189, allocations: 0.8538 MB / 263.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.01232, allocations: 470.7 kB / 264.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.01244, allocations: 152 kB / 264.4 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.01257, allocations: 156 kB / 264.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.01273, allocations: 303 kB / 264.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.01304, allocations: 455 kB / 265.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.01375, allocations: 0.946 MB / 266.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01375, allocations: 0 / 266.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01375, allocations: 0 / 266.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.01376, allocations: 0 / 266.3 MB, free: 9.148 MB / 250.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.001528/0.01529, allocations: 1.457 MB / 267.7 MB, free: 7.652 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01533, allocations: 11.98 kB / 267.7 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.01553, allocations: 204.1 kB / 267.9 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.01615, allocations: 0.596 MB / 268.5 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.01622, allocations: 74.38 kB / 268.6 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.01632, allocations: 100.4 kB / 268.7 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.01712, allocations: 0.73 MB / 269.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.01715, allocations: 12.06 kB / 269.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.01721, allocations: 40.38 kB / 269.5 MB, free: 5.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.01722, allocations: 27.94 kB / 269.5 MB, free: 5.805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.01765, allocations: 331.8 kB / 269.8 MB, free: 5.477 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.02028, allocations: 2.504 MB / 272.3 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.02082, allocations: 487.4 kB / 272.8 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.02105, allocations: 228 kB / 273 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.02109, allocations: 16.5 kB / 273.1 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.02112, allocations: 45.89 kB / 273.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 1.954e-06/0.02112, allocations: 4 kB / 273.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=113): time 0.003569/0.02469, allocations: 2.51 MB / 275.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.02472, allocations: 89.77 kB / 275.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.02506, allocations: 0.5217 MB / 276.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.0251, allocations: 45.7 kB / 276.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.02533, allocations: 491.6 kB / 276.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.02555, allocations: 412.4 kB / 277.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.02574, allocations: 192.5 kB / 277.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.02591, allocations: 0.574 MB / 277.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.02609, allocations: 130.5 kB / 278 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.02635, allocations: 313.8 kB / 278.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.02682, allocations: 0.4907 MB / 278.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02682, allocations: 0 / 278.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008168/0.02764, allocations: 0.75 MB / 279.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.02766, allocations: 11.94 kB / 279.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.02766, allocations: 0 / 279.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.02793, allocations: 127.1 kB / 279.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.02845, allocations: 235.7 kB / 280 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.03096, allocations: 5.923 MB / 285.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.03121, allocations: 48.05 kB / 285.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.03125, allocations: 28 kB / 286 MB, free: 4.578 MB / 266.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.0001987/0.03144, allocations: 216.3 kB / 286.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.03184, allocations: 127.4 kB / 286.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/0.03241, allocations: 0.5106 MB / 286.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.03241, allocations: 12 kB / 286.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.03242, allocations: 4 kB / 286.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.03243, allocations: 7.969 kB / 286.8 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.03402, allocations: 1.715 MB / 288.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.03403, allocations: 0 / 288.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.03445, allocations: 187.8 kB / 288.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/0.03477, allocations: 162.6 kB / 288.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.03481, allocations: 27.98 kB / 288.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.03786, allocations: 7.096 MB / 296 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.03787, allocations: 3.938 kB / 296 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.03894, allocations: 1.146 MB / 297.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.03903, allocations: 83.45 kB / 297.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.68e-05/0.03909, allocations: 24 kB / 297.3 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.03934, allocations: 31.98 kB / 297.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.03943, allocations: 88.44 kB / 297.4 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.03947, allocations: 24.05 kB / 297.4 MB, free: 8.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.03966, allocations: 342.6 kB / 297.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03966, allocations: 4 kB / 297.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005145/0.04018, allocations: 252 kB / 298 MB, free: 7.93 MB / 282.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.0001429/0.04032, allocations: 123.1 kB / 298.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008619/0.04118, allocations: 1.073 MB / 299.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.04118, allocations: 0 / 299.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.04181, allocations: 1.008 MB / 300.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.0424, allocations: 210 kB / 300.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.04462, allocations: 1.818 MB / 302.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.04476, allocations: 198.7 kB / 302.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.04504, allocations: 115.2 kB / 302.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.04538, allocations: 262.1 kB / 302.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.04538, allocations: 4 kB / 302.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of Templates: time 0.01529/0.06067, allocations: 13.4 MB / 316.2 MB, free: 5.543 MB / 298.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 -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: 3.1692830030806363]