Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001405/0.001405, allocations: 85.08 kB / 22.99 MB, free: 1.504 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.001745/0.001745, allocations: 176.7 kB / 26.4 MB, free: 7.75 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 0.9166/0.9166, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 3.938 kB / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.649e-05, allocations: 2.312 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004176/0.004192, allocations: 4.425 MB / 256.7 MB, free: 2.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.006469, allocations: 1.723 MB / 258.4 MB, free: 1.066 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.006722, allocations: 19.88 kB / 258.4 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000869/0.007591, allocations: 418.2 kB / 258.8 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006916/0.008283, allocations: 429.4 kB / 259.2 MB, free: 220 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.008774, allocations: 307.4 kB / 259.5 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008605/0.009635, allocations: 1.051 MB / 260.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.009892, allocations: 191.1 kB / 260.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.01033, allocations: 0.5888 MB / 261.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.01074, allocations: 450.9 kB / 261.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/0.01084, allocations: 92 kB / 261.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.011, allocations: 123.9 kB / 262 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.01118, allocations: 231.2 kB / 262.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.01142, allocations: 303.1 kB / 262.5 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.01202, allocations: 0.7007 MB / 263.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01203, allocations: 0 / 263.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01203, allocations: 0 / 263.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.01203, allocations: 4 kB / 263.3 MB, free: 12.2 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001267/0.0133, allocations: 1.238 MB / 264.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01334, allocations: 12.03 kB / 264.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.01348, allocations: 152.3 kB / 264.6 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.01397, allocations: 484 kB / 265.1 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.01402, allocations: 45.69 kB / 265.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.01409, allocations: 56.38 kB / 265.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.01468, allocations: 498.9 kB / 265.7 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.0147, allocations: 7.875 kB / 265.7 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.01474, allocations: 20 kB / 265.7 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.01476, allocations: 19.98 kB / 265.8 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.01534, allocations: 209 kB / 266 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.01729, allocations: 1.921 MB / 267.9 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.01761, allocations: 250.9 kB / 268.1 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.01785, allocations: 161.1 kB / 268.3 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.01788, allocations: 16.48 kB / 268.3 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01791, allocations: 45.77 kB / 268.3 MB, free: 6.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/0.01791, allocations: 0 / 268.3 MB, free: 6.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001389/0.0193, allocations: 0.8177 MB / 269.2 MB, free: 6.098 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.01933, allocations: 55.91 kB / 269.2 MB, free: 6.027 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.01978, allocations: 0.706 MB / 269.9 MB, free: 5.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.01982, allocations: 33.7 kB / 270 MB, free: 5.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.02005, allocations: 483.1 kB / 270.4 MB, free: 4.789 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.02016, allocations: 214.1 kB / 270.6 MB, free: 4.578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.0203, allocations: 128.2 kB / 270.8 MB, free: 4.445 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.02047, allocations: 0.5741 MB / 271.3 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.02059, allocations: 81.86 kB / 271.4 MB, free: 3.781 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.02077, allocations: 207.4 kB / 271.6 MB, free: 3.539 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.02107, allocations: 309.2 kB / 271.9 MB, free: 3.195 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02108, allocations: 4 kB / 271.9 MB, free: 3.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004786/0.02155, allocations: 452.8 kB / 272.4 MB, free: 2.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.02157, allocations: 8 kB / 272.4 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.02158, allocations: 4 kB / 272.4 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.02159, allocations: 4 kB / 272.4 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.02197, allocations: 159.8 kB / 272.5 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.02198, allocations: 11.98 kB / 272.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.02217, allocations: 31.92 kB / 272.6 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.0222, allocations: 16.12 kB / 272.6 MB, free: 2.512 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.02235, allocations: 196.4 kB / 272.8 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.02245, allocations: 103.5 kB / 272.9 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.02318, allocations: 377.2 kB / 273.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.02319, allocations: 11.94 kB / 273.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.02319, allocations: 0 / 273.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.0232, allocations: 7.922 kB / 273.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.02436, allocations: 1.185 MB / 274.5 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02437, allocations: 0 / 274.5 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.02464, allocations: 119.8 kB / 274.6 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.02464, allocations: 8 kB / 274.6 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.02466, allocations: 20.3 kB / 274.6 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.02467, allocations: 4 kB / 274.6 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.02467, allocations: 7.938 kB / 274.6 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.02511, allocations: 0.5944 MB / 275.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.02525, allocations: 119.4 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.02529, allocations: 15.94 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.02547, allocations: 27.98 kB / 275.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.02554, allocations: 52.36 kB / 275.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.02557, allocations: 23.98 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002831/0.02585, allocations: 430.9 kB / 275.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.02585, allocations: 0 / 275.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.0262, allocations: 155.9 kB / 276 MB, free: 14.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007302/0.02693, allocations: 334.8 kB / 276.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.02729, allocations: 308.8 kB / 276.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02729, allocations: 0 / 276.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.02745, allocations: 167.3 kB / 276.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.02791, allocations: 139.7 kB / 276.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.02939, allocations: 1.344 MB / 278.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.0295, allocations: 172.1 kB / 278.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.02972, allocations: 92.81 kB / 278.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.02999, allocations: 194.1 kB / 278.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02999, allocations: 3.938 kB / 278.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01162/0.04161, allocations: 8.323 MB / 287.1 MB, free: 3.797 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.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: 2.919628066010773]