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.00204/0.00204, allocations: 92.47 kB / 20.95 MB, free: 476 kB / 14.72 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.002715/0.002715, allocations: 142.2 kB / 24.24 MB, free: 3.52 MB / 14.72 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 1.445/1.445, allocations: 173.3 MB / 200.8 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.566e-05, allocations: 2.312 kB / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01209/0.01213, allocations: 5.62 MB / 272.9 MB, free: 4.531 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.01756, allocations: 1.776 MB / 274.7 MB, free: 2.746 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.01877, allocations: 23.88 kB / 274.7 MB, free: 2.723 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.01989, allocations: 214.1 kB / 274.9 MB, free: 2.512 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.02204, allocations: 424.5 kB / 275.3 MB, free: 2.094 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.02338, allocations: 379.4 kB / 275.7 MB, free: 1.723 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.02613, allocations: 1.526 MB / 277.2 MB, free: 196 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007913/0.02692, allocations: 321.8 kB / 277.6 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.02874, allocations: 0.8421 MB / 278.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009545/0.0297, allocations: 458.7 kB / 278.8 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.03, allocations: 160 kB / 279 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.03042, allocations: 160 kB / 279.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.03083, allocations: 303 kB / 279.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006458/0.03147, allocations: 462.9 kB / 279.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.03385, allocations: 1.901 MB / 281.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.03386, allocations: 7.938 kB / 281.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.03386, allocations: 0 / 281.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.03388, allocations: 0 / 281.8 MB, free: 11.58 MB / 270.1 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.003232/0.03712, allocations: 1.389 MB / 283.2 MB, free: 10.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.03717, allocations: 12.91 kB / 283.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.03752, allocations: 200.2 kB / 283.4 MB, free: 9.953 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.03882, allocations: 0.6304 MB / 284 MB, free: 9.293 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.03891, allocations: 74.38 kB / 284.1 MB, free: 9.223 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.03908, allocations: 104.3 kB / 284.2 MB, free: 9.121 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.04127, allocations: 1.056 MB / 285.3 MB, free: 8.039 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.0413, allocations: 4.188 kB / 285.3 MB, free: 8.035 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.04141, allocations: 40.38 kB / 285.3 MB, free: 7.996 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.04143, allocations: 27.94 kB / 285.3 MB, free: 7.969 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.04347, allocations: 0.86 MB / 286.2 MB, free: 7.105 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.04856, allocations: 2.752 MB / 289 MB, free: 4.277 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.05013, allocations: 0.7727 MB / 289.7 MB, free: 3.484 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009583/0.05109, allocations: 435 kB / 290.1 MB, free: 3.055 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.146e-05/0.05116, allocations: 20.48 kB / 290.2 MB, free: 3.031 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.0512, allocations: 43.06 kB / 290.2 MB, free: 2.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=91): time 2.494e-06/0.0512, allocations: 0 / 290.2 MB, free: 2.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=115): time 0.01023/0.06143, allocations: 3.962 MB / 294.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.0615, allocations: 89.77 kB / 294.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.06229, allocations: 0.5457 MB / 294.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/0.06237, allocations: 45.7 kB / 294.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.06272, allocations: 448.9 kB / 295.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.06309, allocations: 404.5 kB / 295.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.06342, allocations: 186.9 kB / 295.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.06364, allocations: 394.7 kB / 296.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009083/0.06454, allocations: 378.4 kB / 296.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.06558, allocations: 0.512 MB / 297.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.06756, allocations: 0.8858 MB / 298 MB, free: 10.94 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.06757, allocations: 4 kB / 298 MB, free: 10.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002774/0.07034, allocations: 1.229 MB / 299.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.07037, allocations: 11.94 kB / 299.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.07038, allocations: 0 / 299.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.07083, allocations: 130.4 kB / 299.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.07203, allocations: 251.7 kB / 299.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.0767, allocations: 4.583 MB / 304.2 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.0776, allocations: 51.95 kB / 304.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/0.07768, allocations: 36 kB / 304.3 MB, free: 4.32 MB / 286.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 (128): * Single equations (assignments): 125 * 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.0005568/0.07824, allocations: 285.6 kB / 304.6 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.0785, allocations: 123.5 kB / 304.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.08032, allocations: 0.7601 MB / 305.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.08033, allocations: 12 kB / 305.5 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.08035, allocations: 4.047 kB / 305.5 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.08036, allocations: 7.969 kB / 305.5 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.08489, allocations: 2.21 MB / 307.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.0849, allocations: 11.92 kB / 307.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.0859, allocations: 207.8 kB / 307.9 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/0.08639, allocations: 147.3 kB / 308.1 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.08647, allocations: 31.92 kB / 308.1 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1111/0.1976, allocations: 5.469 MB / 313.6 MB, free: 43.9 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1976, allocations: 15.91 kB / 313.6 MB, free: 43.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.2008, allocations: 1.768 MB / 315.3 MB, free: 43.33 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2009, allocations: 85.34 kB / 315.4 MB, free: 43.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.2011, allocations: 21.78 kB / 315.4 MB, free: 43.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.2017, allocations: 53.44 kB / 315.5 MB, free: 43.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.2018, allocations: 80.08 kB / 315.6 MB, free: 43.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.2019, allocations: 32.89 kB / 315.6 MB, free: 43.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000478/0.2024, allocations: 390.8 kB / 316 MB, free: 43.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2024, allocations: 1.375 kB / 316 MB, free: 43.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009262/0.2033, allocations: 254.2 kB / 316.2 MB, free: 43.05 MB / 286.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 (104): * Single equations (assignments): 100 * 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.0001629/0.2035, allocations: 131.9 kB / 316.4 MB, free: 42.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.2057, allocations: 1.294 MB / 317.7 MB, free: 42.31 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2057, allocations: 0 / 317.7 MB, free: 42.31 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.207, allocations: 0.9693 MB / 318.6 MB, free: 41.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/0.2079, allocations: 192.5 kB / 318.8 MB, free: 41.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.2111, allocations: 2.024 MB / 320.8 MB, free: 40.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.2116, allocations: 438.8 kB / 321.3 MB, free: 40.46 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004617/0.212, allocations: 111.5 kB / 321.4 MB, free: 40.44 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2123, allocations: 75.88 kB / 321.5 MB, free: 40.43 MB / 286.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2123, allocations: 0 / 321.5 MB, free: 40.43 MB / 286.1 MB Notification: Performance of Templates: time 0.01891/0.2312, allocations: 12.07 MB / 333.5 MB, free: 32.95 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.7932209223508835]