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.0009718/0.0009718, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001063/0.001063, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.8514/0.8514, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.693e-06/1.693e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.514e-05, allocations: 2.312 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006748/0.006773, allocations: 6.14 MB / 257.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.009933, allocations: 1.862 MB / 259 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005927/0.01053, allocations: 23.88 kB / 259.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.01114, allocations: 214.1 kB / 259.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009925/0.01213, allocations: 432.5 kB / 259.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/0.01282, allocations: 375.5 kB / 260.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.01431, allocations: 1.525 MB / 261.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.01475, allocations: 329.8 kB / 261.9 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.01584, allocations: 0.8537 MB / 262.8 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.01647, allocations: 466.7 kB / 263.2 MB, free: 7.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.01666, allocations: 152 kB / 263.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.01683, allocations: 156 kB / 263.5 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.01698, allocations: 303 kB / 263.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.01735, allocations: 459 kB / 264.3 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.01817, allocations: 0.9382 MB / 265.2 MB, free: 5.352 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.01818, allocations: 4 kB / 265.2 MB, free: 5.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.01818, allocations: 4 kB / 265.2 MB, free: 5.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.0182, allocations: 0 / 265.2 MB, free: 5.344 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.001884/0.02008, allocations: 1.438 MB / 266.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.02014, allocations: 15.98 kB / 266.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.02038, allocations: 204.1 kB / 266.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.02108, allocations: 0.6038 MB / 267.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.02114, allocations: 74.38 kB / 267.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.02124, allocations: 100.4 kB / 267.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.02225, allocations: 0.7926 MB / 268.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.02228, allocations: 4.141 kB / 268.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.02234, allocations: 44.38 kB / 268.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.02236, allocations: 31.94 kB / 268.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.02302, allocations: 429.5 kB / 268.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.02598, allocations: 2.578 MB / 271.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/0.02667, allocations: 0.5307 MB / 272 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.027, allocations: 268.5 kB / 272.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.02704, allocations: 24.48 kB / 272.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.02708, allocations: 45.89 kB / 272.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 3.136e-06/0.02708, allocations: 0 / 272.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=113): time 0.004297/0.03138, allocations: 2.942 MB / 275.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.03142, allocations: 89.77 kB / 275.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.03186, allocations: 0.5376 MB / 275.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.03191, allocations: 45.7 kB / 276 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.03215, allocations: 499.7 kB / 276.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.03238, allocations: 400.5 kB / 276.9 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.03258, allocations: 184.6 kB / 277 MB, free: 9.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.03277, allocations: 0.5625 MB / 277.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.03307, allocations: 170.5 kB / 277.8 MB, free: 8.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.03345, allocations: 357.9 kB / 278.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.03408, allocations: 0.5572 MB / 278.7 MB, free: 7.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.03408, allocations: 4 kB / 278.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001009/0.03509, allocations: 0.828 MB / 279.5 MB, free: 6.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.03511, allocations: 11.94 kB / 279.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.03512, allocations: 4 kB / 279.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.03549, allocations: 131.2 kB / 279.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.03601, allocations: 243.6 kB / 279.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.03884, allocations: 6.011 MB / 285.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.03915, allocations: 39.98 kB / 285.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.0392, allocations: 43.98 kB / 286 MB, free: 15.65 MB / 282.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 (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 (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.0002605/0.03946, allocations: 212.3 kB / 286.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.0396, allocations: 127.4 kB / 286.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.04032, allocations: 0.5614 MB / 286.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.04032, allocations: 8 kB / 286.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.04033, allocations: 4 kB / 286.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.04034, allocations: 4.031 kB / 286.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.04257, allocations: 1.867 MB / 288.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.04257, allocations: 3.984 kB / 288.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.04302, allocations: 191.8 kB / 289 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/0.0434, allocations: 162.6 kB / 289.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.04344, allocations: 31.92 kB / 289.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003155/0.0466, allocations: 7.203 MB / 296.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.0466, allocations: 7.938 kB / 296.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.04796, allocations: 1.252 MB / 297.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.04807, allocations: 83.39 kB / 297.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.04816, allocations: 24 kB / 297.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.04841, allocations: 35.98 kB / 297.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.04854, allocations: 84.5 kB / 297.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.04857, allocations: 31.98 kB / 297.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002796/0.04885, allocations: 362.8 kB / 298.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04885, allocations: 0 / 298.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006532/0.04951, allocations: 248 kB / 298.5 MB, free: 2.512 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.000151/0.04966, allocations: 135.1 kB / 298.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.05114, allocations: 1.146 MB / 299.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.05115, allocations: 0 / 299.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007091/0.05186, allocations: 1.044 MB / 300.8 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09686/0.1487, allocations: 188.9 kB / 301 MB, free: 53.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.1516, allocations: 1.848 MB / 302.8 MB, free: 53.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1518, allocations: 196.1 kB / 303 MB, free: 53.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003902/0.1522, allocations: 116.5 kB / 303.1 MB, free: 53.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.1524, allocations: 76 kB / 303.2 MB, free: 53.09 MB / 282.7 MB Notification: Performance of SimCode: time 2.124e-06/0.1524, allocations: 0 / 303.2 MB, free: 53.09 MB / 282.7 MB Notification: Performance of Templates: time 0.01694/0.1693, allocations: 12.65 MB / 315.8 MB, free: 48.82 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 -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.130660636816174]