Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001549/0.001549, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002118/0.002118, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.641/1.641, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=5000,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.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4344, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008582/0.443, allocations: 5.709 MB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.4475, allocations: 1.835 MB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007982/0.4483, allocations: 27.81 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.449, allocations: 210.1 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.4502, allocations: 424.8 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.4511, allocations: 375.5 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.453, allocations: 1.499 MB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.4536, allocations: 353.9 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008762/0.4545, allocations: 0.5762 MB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/0.4553, allocations: 0.603 MB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.4555, allocations: 160 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.4557, allocations: 172 kB / 444.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.456, allocations: 307 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.4565, allocations: 0.5406 MB / 445.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.4591, allocations: 1.902 MB / 447 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4591, allocations: 0 / 447 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4591, allocations: 0 / 447 MB, free: 7.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.998e-05/0.4591, allocations: 0 / 447 MB, free: 7.965 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003352/0.4624, allocations: 1.4 MB / 448.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4625, allocations: 8.031 kB / 448.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006133/0.4631, allocations: 156.1 kB / 448.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.4645, allocations: 0.6345 MB / 449.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.4646, allocations: 78 kB / 449.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.4647, allocations: 96 kB / 449.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.4667, allocations: 1.02 MB / 450.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.4668, allocations: 7.953 kB / 450.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.4669, allocations: 36 kB / 450.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4669, allocations: 24 kB / 450.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.4685, allocations: 0.8015 MB / 451.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005497/0.474, allocations: 2.712 MB / 453.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.4754, allocations: 0.7591 MB / 454.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/0.4764, allocations: 414.8 kB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.4765, allocations: 16.44 kB / 455.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.335e-05/0.4766, allocations: 47.62 kB / 455.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 4.388e-06/0.4766, allocations: 0 / 455.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.01323/0.4898, allocations: 3.81 MB / 459 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/0.4899, allocations: 93.75 kB / 459.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.4913, allocations: 0.5771 MB / 459.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.4914, allocations: 49.69 kB / 459.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/0.4919, allocations: 449 kB / 460.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006887/0.4926, allocations: 424.3 kB / 460.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.4931, allocations: 198.8 kB / 460.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002739/0.4933, allocations: 390.8 kB / 461.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4944, allocations: 346.4 kB / 461.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.4956, allocations: 488.7 kB / 461.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.4979, allocations: 0.851 MB / 462.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4979, allocations: 4 kB / 462.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0032/0.5011, allocations: 1.138 MB / 463.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.5012, allocations: 11.98 kB / 464 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.5012, allocations: 4 kB / 464 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.5018, allocations: 134.8 kB / 464.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.5034, allocations: 235.7 kB / 464.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005805/0.5092, allocations: 4.57 MB / 468.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.5104, allocations: 35.92 kB / 468.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.5105, allocations: 48.17 kB / 469 MB, free: 1.215 MB / 366.1 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 (132): * Single equations (assignments): 129 * 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.0007923/0.5113, allocations: 281.5 kB / 469.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.5116, allocations: 87.44 kB / 469.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.5138, allocations: 0.7448 MB / 470.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.5138, allocations: 12 kB / 470.1 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.5139, allocations: 4 kB / 470.1 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.5139, allocations: 7.969 kB / 470.1 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/0.5197, allocations: 2.168 MB / 472.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5197, allocations: 0 / 472.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.521, allocations: 199.7 kB / 472.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000661/0.5217, allocations: 151.3 kB / 472.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.223e-05/0.5218, allocations: 27.98 kB / 472.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/0.5287, allocations: 5.473 MB / 478.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5287, allocations: 0 / 478.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/0.5333, allocations: 1.661 MB / 479.8 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007035/0.534, allocations: 175.4 kB / 479.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.5342, allocations: 27.94 kB / 480 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007859/0.535, allocations: 35.92 kB / 480 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.5353, allocations: 84.61 kB / 480.1 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.426e-05/0.5354, allocations: 36 kB / 480.1 MB, free: 5.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008687/0.5362, allocations: 414.8 kB / 480.5 MB, free: 5.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5362, allocations: 0 / 480.5 MB, free: 5.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001373/0.5376, allocations: 256 kB / 480.8 MB, free: 4.867 MB / 382.1 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 (108): * Single equations (assignments): 104 * 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.0002176/0.5378, allocations: 138.5 kB / 480.9 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.5402, allocations: 1.227 MB / 482.1 MB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5402, allocations: 0 / 482.1 MB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.5416, allocations: 0.9438 MB / 483.1 MB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5428, allocations: 203.8 kB / 483.3 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.5468, allocations: 2.179 MB / 485.5 MB, free: 44 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.5473, allocations: 450.3 kB / 485.9 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.5479, allocations: 123.6 kB / 486 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5481, allocations: 75.41 kB / 486.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5481, allocations: 3.938 kB / 486.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of Templates: time 0.02913/0.5772, allocations: 14.14 MB / 0.4885 GB, free: 1.438 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.918292381000356]