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.0008069/0.0008069, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001829, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.000652/0.000652, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000842/0.001494, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9003/0.9003, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0815/0.9818, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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.272e-06/1.272e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.168e-05, allocations: 6.812 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00488/0.004892, allocations: 6.174 MB / 245.7 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.007296, allocations: 1.896 MB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.007589, allocations: 23.88 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.007981, allocations: 214 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000511/0.008492, allocations: 416.6 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.008873, allocations: 387.4 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008783/0.009751, allocations: 1.525 MB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.0101, allocations: 341.8 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.01082, allocations: 0.9424 MB / 251.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.01121, allocations: 478.6 kB / 251.9 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.01133, allocations: 152 kB / 252 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.01145, allocations: 156 kB / 252.2 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.01158, allocations: 227.4 kB / 252.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.01185, allocations: 383.3 kB / 252.8 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.01254, allocations: 0.8682 MB / 253.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.01255, allocations: 0 / 253.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01255, allocations: 0 / 253.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.01257, allocations: 0 / 253.7 MB, free: 4.98 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.001479/0.01405, allocations: 1.543 MB / 255.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01408, allocations: 12.03 kB / 255.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.01423, allocations: 156.8 kB / 255.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.01471, allocations: 433 kB / 255.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.01476, allocations: 74.38 kB / 255.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.01484, allocations: 96.38 kB / 256 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.01551, allocations: 0.7439 MB / 256.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.01553, allocations: 8.125 kB / 256.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.01557, allocations: 36.38 kB / 256.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.01559, allocations: 27.94 kB / 256.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.01593, allocations: 284 kB / 257 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.01795, allocations: 1.971 MB / 259 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.01836, allocations: 458.5 kB / 259.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.01855, allocations: 201.5 kB / 259.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.01859, allocations: 16.5 kB / 259.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.01861, allocations: 43.06 kB / 259.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.054e-06/0.01861, allocations: 0 / 259.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=113): time 0.003196/0.02181, allocations: 2.533 MB / 262.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.02184, allocations: 93.77 kB / 262.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.02212, allocations: 475 kB / 262.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.02215, allocations: 41.7 kB / 262.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.02229, allocations: 386.1 kB / 263.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.02246, allocations: 400.4 kB / 263.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.02262, allocations: 186.8 kB / 263.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.02273, allocations: 402.6 kB / 264.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.02287, allocations: 110.6 kB / 264.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.02307, allocations: 253.1 kB / 264.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.02345, allocations: 469.6 kB / 265 MB, free: 9.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02345, allocations: 0 / 265 MB, free: 9.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.000584/0.02404, allocations: 0.5806 MB / 265.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.02405, allocations: 8 kB / 265.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.02406, allocations: 4 kB / 265.6 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.0243, allocations: 118.8 kB / 265.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.02489, allocations: 299.5 kB / 266 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.02667, allocations: 4.065 MB / 270.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.0269, allocations: 39.98 kB / 270.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.02694, allocations: 32.11 kB / 270.1 MB, free: 3.785 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.000168/0.0271, allocations: 184.5 kB / 270.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.02721, allocations: 87.92 kB / 270.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.02766, allocations: 438.4 kB / 270.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.02766, allocations: 16 kB / 270.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.02767, allocations: 4 kB / 270.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.02768, allocations: 7.969 kB / 270.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.02904, allocations: 1.27 MB / 272.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.02904, allocations: 4.062 kB / 272.1 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/0.02952, allocations: 239.7 kB / 272.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.02959, allocations: 67.44 kB / 272.4 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.02989, allocations: 151.2 kB / 272.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.02993, allocations: 27.98 kB / 272.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.03184, allocations: 4.873 MB / 277.5 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.03184, allocations: 0 / 277.5 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.03262, allocations: 0.8895 MB / 278.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.03268, allocations: 27.95 kB / 278.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.0329, allocations: 31.98 kB / 278.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.033, allocations: 88.22 kB / 278.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.03302, allocations: 23.98 kB / 278.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.03318, allocations: 220.4 kB / 278.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03318, allocations: 4 kB / 278.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004834/0.03366, allocations: 248 kB / 279 MB, free: 10.45 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.0001313/0.03379, allocations: 111.4 kB / 279.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007518/0.03455, allocations: 0.8581 MB / 280 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.356e-05/0.03457, allocations: 12 kB / 280 MB, free: 9.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.03506, allocations: 0.7752 MB / 280.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.03557, allocations: 268.3 kB / 281 MB, free: 8.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.03944, allocations: 1.857 MB / 282.9 MB, free: 6.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.03959, allocations: 206.6 kB / 283.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.03987, allocations: 111.3 kB / 283.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.0402, allocations: 237.2 kB / 283.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0402, allocations: 4 kB / 283.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of Templates: time 0.1127/0.1529, allocations: 13.64 MB / 297.1 MB, free: 38.76 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] 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","",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.046700332313776]