Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002/0.002, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002457/0.002457, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.806e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007281/0.007309, allocations: 4.274 MB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.0113, allocations: 1.893 MB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.0119, allocations: 11.94 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.0133, allocations: 422 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.01529, allocations: 485.2 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.01645, allocations: 319.3 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.01867, allocations: 1.067 MB / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005783/0.01925, allocations: 195 kB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.02072, allocations: 0.6081 MB / 281.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009217/0.02164, allocations: 438.9 kB / 281.9 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.02188, allocations: 100 kB / 282 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.02228, allocations: 132 kB / 282.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.02261, allocations: 247.1 kB / 282.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005532/0.02316, allocations: 303.2 kB / 282.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.02486, allocations: 1.336 MB / 284 MB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.02486, allocations: 0 / 284 MB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02486, allocations: 0 / 284 MB, free: 5.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.02487, allocations: 0 / 284 MB, free: 5.977 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002377/0.02725, allocations: 1.15 MB / 285.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.02729, allocations: 8.031 kB / 285.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006029/0.02789, allocations: 180.3 kB / 285.3 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.02897, allocations: 0.5265 MB / 285.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.02903, allocations: 45.69 kB / 285.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.02914, allocations: 60.38 kB / 285.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.0305, allocations: 0.6655 MB / 286.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.03053, allocations: 0 / 286.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.0306, allocations: 28 kB / 286.6 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.03061, allocations: 12 kB / 286.6 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.03187, allocations: 0.5166 MB / 287.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.03576, allocations: 2.025 MB / 289.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.03676, allocations: 457.1 kB / 289.6 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1173/0.1541, allocations: 255.7 kB / 289.9 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.1542, allocations: 13.14 kB / 289.9 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1542, allocations: 37.94 kB / 289.9 MB, free: 28.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.583e-06/0.1542, allocations: 0 / 289.9 MB, free: 28.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004335/0.1585, allocations: 1.478 MB / 291.4 MB, free: 28.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1585, allocations: 59.61 kB / 291.5 MB, free: 28.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.1596, allocations: 0.9074 MB / 292.4 MB, free: 27.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1596, allocations: 36.33 kB / 292.4 MB, free: 27.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1598, allocations: 417.7 kB / 292.8 MB, free: 27.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1599, allocations: 227.9 kB / 293 MB, free: 27.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.1601, allocations: 118.3 kB / 293.2 MB, free: 27.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1602, allocations: 389.1 kB / 293.5 MB, free: 26.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.1607, allocations: 228.2 kB / 293.8 MB, free: 26.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.1613, allocations: 326.1 kB / 294.1 MB, free: 26.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1623, allocations: 0.5472 MB / 294.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1623, allocations: 1.219 kB / 294.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00139/0.1637, allocations: 0.7315 MB / 295.4 MB, free: 26.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1637, allocations: 13.91 kB / 295.4 MB, free: 26.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1637, allocations: 2.359 kB / 295.4 MB, free: 26.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1637, allocations: 5.625 kB / 295.4 MB, free: 26.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.1645, allocations: 168.8 kB / 295.5 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1645, allocations: 5.781 kB / 295.5 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.165, allocations: 33.91 kB / 295.6 MB, free: 26.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.1651, allocations: 29.08 kB / 295.6 MB, free: 26 MB / 266.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 (85): * Single equations (assignments): 85 * 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.0003028/0.1654, allocations: 261.6 kB / 295.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.1656, allocations: 101.1 kB / 296 MB, free: 25.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.1669, allocations: 0.619 MB / 296.6 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1669, allocations: 5.281 kB / 296.6 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1669, allocations: 0.6562 kB / 296.6 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1669, allocations: 4.828 kB / 296.6 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.1694, allocations: 1.464 MB / 298.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.1694, allocations: 2.781 kB / 298.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.17, allocations: 128 kB / 298.2 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.17, allocations: 9.875 kB / 298.2 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.17, allocations: 21.11 kB / 298.2 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.17, allocations: 7.812 kB / 298.2 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.17, allocations: 2.438 kB / 298.2 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.1712, allocations: 0.7365 MB / 299 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.1714, allocations: 126.6 kB / 299.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.1715, allocations: 20.84 kB / 299.1 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.1719, allocations: 29.42 kB / 299.1 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.172, allocations: 49.64 kB / 299.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.172, allocations: 22.8 kB / 299.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007136/0.1727, allocations: 0.6571 MB / 299.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1727, allocations: 1.312 kB / 299.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006041/0.1733, allocations: 148 kB / 300 MB, free: 23.81 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 (63): * Single equations (assignments): 63 * 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.001655/0.175, allocations: 398.5 kB / 300.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.1762, allocations: 0.5257 MB / 300.9 MB, free: 23.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1762, allocations: 4 kB / 300.9 MB, free: 23.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.1767, allocations: 261.1 kB / 301.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.1774, allocations: 152 kB / 301.3 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.1796, allocations: 1.577 MB / 302.9 MB, free: 22.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1799, allocations: 373.9 kB / 303.3 MB, free: 22.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.1803, allocations: 98.69 kB / 303.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.1805, allocations: 54.14 kB / 303.4 MB, free: 22.39 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1805, allocations: 3.781 kB / 303.4 MB, free: 22.39 MB / 266.7 MB Notification: Performance of Templates: time 0.01216/0.1926, allocations: 7.801 MB / 311.2 MB, free: 15.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.008515152032487]