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.001994/0.001994, allocations: 84.39 kB / 22.21 MB, free: 2.293 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.001255/0.001255, allocations: 165.9 kB / 25.6 MB, free: 8.594 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 1.009/1.009, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.613e-06/1.613e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.703e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007615/0.007643, allocations: 6.017 MB / 257.5 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.01123, allocations: 1.851 MB / 259.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007638/0.01199, allocations: 19.94 kB / 259.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.01262, allocations: 206.1 kB / 259.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.01389, allocations: 424.5 kB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.01473, allocations: 383.4 kB / 260.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.01644, allocations: 1.533 MB / 261.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/0.01698, allocations: 325.8 kB / 262.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.01821, allocations: 0.8538 MB / 263 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.0189, allocations: 470.7 kB / 263.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.01912, allocations: 156 kB / 263.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.01932, allocations: 152 kB / 263.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.01952, allocations: 303 kB / 264.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.01998, allocations: 455 kB / 264.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.02101, allocations: 0.9499 MB / 265.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.02102, allocations: 0 / 265.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02102, allocations: 0 / 265.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.02104, allocations: 0 / 265.5 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.002378/0.02341, allocations: 1.453 MB / 266.9 MB, free: 7.656 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.02346, allocations: 11.98 kB / 267 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.02374, allocations: 208.1 kB / 267.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.02453, allocations: 0.5961 MB / 267.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.02461, allocations: 78.31 kB / 267.8 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.02474, allocations: 100.4 kB / 267.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.02594, allocations: 0.7183 MB / 268.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.02598, allocations: 16.11 kB / 268.7 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.235e-05/0.02605, allocations: 40.38 kB / 268.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.02608, allocations: 27.94 kB / 268.7 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.02675, allocations: 327.8 kB / 269.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.03077, allocations: 2.504 MB / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/0.03157, allocations: 488.1 kB / 272 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.03194, allocations: 227.8 kB / 272.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.03199, allocations: 20.48 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.03204, allocations: 53.89 kB / 272.3 MB, free: 2.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 3.116e-06/0.03204, allocations: 0 / 272.3 MB, free: 2.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=113): time 0.005701/0.03774, allocations: 2.507 MB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.03779, allocations: 89.75 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.03832, allocations: 0.5256 MB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.03837, allocations: 45.7 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.03867, allocations: 499.5 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.03895, allocations: 408.4 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.03924, allocations: 196.5 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.03946, allocations: 0.5623 MB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.03975, allocations: 134.5 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.04016, allocations: 313.8 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/0.04088, allocations: 0.4945 MB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.04088, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001257/0.04214, allocations: 0.7422 MB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.04216, allocations: 8 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.04217, allocations: 0 / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.04259, allocations: 135 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.04335, allocations: 239.7 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.04703, allocations: 5.919 MB / 285.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.04758, allocations: 44 kB / 285.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.04764, allocations: 24 kB / 285.2 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.0003582/0.048, allocations: 228.2 kB / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.04821, allocations: 123.4 kB / 285.5 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000929/0.04914, allocations: 0.5106 MB / 286 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.04915, allocations: 15.98 kB / 286 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.04916, allocations: 0 / 286 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.04917, allocations: 11.97 kB / 286.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.05198, allocations: 1.707 MB / 287.8 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.05199, allocations: 4.125 kB / 287.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.05297, allocations: 191.7 kB / 288 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000589/0.05356, allocations: 158.7 kB / 288.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.05362, allocations: 24 kB / 288.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004199/0.05782, allocations: 7.103 MB / 295.2 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.05782, allocations: 7.938 kB / 295.2 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.05946, allocations: 1.139 MB / 296.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.05964, allocations: 83.39 kB / 296.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.05974, allocations: 27.95 kB / 296.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.06013, allocations: 35.98 kB / 296.5 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.06028, allocations: 84.44 kB / 296.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.06033, allocations: 27.98 kB / 296.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000321/0.06065, allocations: 338.6 kB / 297 MB, free: 8.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.06065, allocations: 0 / 297 MB, free: 8.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000917/0.06157, allocations: 256 kB / 297.2 MB, free: 7.918 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.0001703/0.06174, allocations: 131.3 kB / 297.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.06299, allocations: 1.061 MB / 298.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.063, allocations: 0 / 298.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008149/0.06381, allocations: 1.012 MB / 299.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.06462, allocations: 201.9 kB / 299.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.0677, allocations: 1.823 MB / 301.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.06792, allocations: 194.7 kB / 301.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005492/0.06847, allocations: 111.2 kB / 301.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.06899, allocations: 274.1 kB / 302 MB, free: 2.906 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.069, allocations: 0 / 302 MB, free: 2.906 MB / 282.7 MB Notification: Performance of Templates: time 0.01954/0.08854, allocations: 13.12 MB / 315.1 MB, free: 5.812 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.1591279027052224]