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.002214/0.002214, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.00197/0.00197, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 18.57 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.504/1.504, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 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.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.385e-05, allocations: 10.25 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01241/0.01245, allocations: 6.181 MB / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005442/0.01789, allocations: 1.83 MB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.01887, allocations: 19.88 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.01979, allocations: 214.1 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.02156, allocations: 420.6 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.02273, allocations: 371.5 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.02558, allocations: 1.548 MB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009224/0.0265, allocations: 321.8 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.02832, allocations: 0.8421 MB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.02944, allocations: 482.6 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.02978, allocations: 156 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.03016, allocations: 160 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.0306, allocations: 311 kB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008631/0.03146, allocations: 467 kB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.03477, allocations: 1.908 MB / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.03478, allocations: 0 / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.03478, allocations: 7.984 kB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.047e-05/0.03481, allocations: 0 / 282.5 MB, free: 7.461 MB / 266.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.004996/0.03981, allocations: 1.566 MB / 284 MB, free: 5.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.03987, allocations: 8.922 kB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005717/0.04044, allocations: 204.2 kB / 284.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.04244, allocations: 0.6448 MB / 284.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.04256, allocations: 74.38 kB / 285 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.04282, allocations: 104.3 kB / 285.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.04599, allocations: 1.089 MB / 286.2 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-05/0.04605, allocations: 8.188 kB / 286.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.04619, allocations: 36.38 kB / 286.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.04623, allocations: 27.94 kB / 286.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.04903, allocations: 0.8054 MB / 287 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1176/0.1666, allocations: 3.484 MB / 290.5 MB, free: 30.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.168, allocations: 0.7983 MB / 291.3 MB, free: 30.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.1687, allocations: 421.9 kB / 291.7 MB, free: 30.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.1688, allocations: 19.44 kB / 291.7 MB, free: 30.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1688, allocations: 47.67 kB / 291.8 MB, free: 30.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 2.635e-06/0.1688, allocations: 0 / 291.8 MB, free: 30.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.008064/0.1769, allocations: 3.863 MB / 295.7 MB, free: 28.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1769, allocations: 93.92 kB / 295.7 MB, free: 28.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.1777, allocations: 0.7251 MB / 296.5 MB, free: 28.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.1777, allocations: 47.36 kB / 296.5 MB, free: 28.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.178, allocations: 0.5175 MB / 297 MB, free: 28.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.1782, allocations: 452.3 kB / 297.5 MB, free: 27.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.1785, allocations: 233.8 kB / 297.7 MB, free: 27.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1787, allocations: 0.6316 MB / 298.3 MB, free: 27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.1794, allocations: 354 kB / 298.7 MB, free: 26.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008135/0.1802, allocations: 0.5614 MB / 299.2 MB, free: 26.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.1817, allocations: 0.9612 MB / 300.2 MB, free: 26.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1817, allocations: 2.125 kB / 300.2 MB, free: 26.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002054/0.1837, allocations: 1.206 MB / 301.4 MB, free: 25.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1838, allocations: 6.875 kB / 301.4 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1838, allocations: 3.453 kB / 301.4 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.1844, allocations: 158.8 kB / 301.6 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.1853, allocations: 235.7 kB / 301.8 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.1881, allocations: 6.361 MB / 308.2 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.1887, allocations: 49.86 kB / 308.2 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.1888, allocations: 40.22 kB / 308.3 MB, free: 19.36 MB / 266.7 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.000381/0.1892, allocations: 320.5 kB / 308.6 MB, free: 19.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.1893, allocations: 124.1 kB / 308.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.1906, allocations: 0.7521 MB / 309.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1906, allocations: 10 kB / 309.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.1907, allocations: 3.688 kB / 309.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.1907, allocations: 6 kB / 309.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.1942, allocations: 2.54 MB / 312 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.1942, allocations: 3.281 kB / 312 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.195, allocations: 187.4 kB / 312.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006737/0.1956, allocations: 209.2 kB / 312.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.1957, allocations: 23.56 kB / 312.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/0.1986, allocations: 7.593 MB / 320 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1986, allocations: 8.062 kB / 320 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.2009, allocations: 1.842 MB / 321.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.2011, allocations: 83.14 kB / 321.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.2012, allocations: 35.45 kB / 322 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/0.2017, allocations: 31.98 kB / 322 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.2018, allocations: 80.59 kB / 322.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.2019, allocations: 31.98 kB / 322.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004248/0.2023, allocations: 478.7 kB / 322.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2023, allocations: 0 / 322.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008773/0.2032, allocations: 256 kB / 322.8 MB, free: 6.086 MB / 266.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 (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.0001423/0.2033, allocations: 131.7 kB / 323 MB, free: 5.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.2052, allocations: 1.51 MB / 324.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2052, allocations: 0 / 324.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.2063, allocations: 1.243 MB / 325.7 MB, free: 3.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.2072, allocations: 194.8 kB / 325.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.2101, allocations: 2.05 MB / 328 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2104, allocations: 432.8 kB / 328.4 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.2108, allocations: 115.8 kB / 328.5 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.211, allocations: 76.47 kB / 328.6 MB, free: 172 kB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.211, allocations: 0 / 328.6 MB, free: 172 kB / 266.7 MB Notification: Performance of Templates: time 0.02376/0.2347, allocations: 12.12 MB / 340.7 MB, free: 4.266 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 -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","/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: 5.05124205397442]