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.001388/0.001388, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001026/0.001026, allocations: 167.2 kB / 25.69 MB, free: 8.449 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.9062/0.9062, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.372e-06/1.372e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.302e-05, allocations: 6.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005823/0.005846, allocations: 4.433 MB / 256 MB, free: 2.805 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.00902, allocations: 1.781 MB / 257.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.00924, allocations: 15.94 kB / 257.8 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.00978, allocations: 418.1 kB / 258.2 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.01043, allocations: 425.5 kB / 258.6 MB, free: 172 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.0109, allocations: 311.4 kB / 258.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008012/0.0117, allocations: 1.043 MB / 259.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.01195, allocations: 205 kB / 260.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.01244, allocations: 0.5888 MB / 260.7 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.01285, allocations: 419 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.01294, allocations: 96 kB / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.01308, allocations: 123.9 kB / 261.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.01322, allocations: 239.2 kB / 261.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.01343, allocations: 295.2 kB / 261.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.01402, allocations: 0.6968 MB / 262.6 MB, free: 12.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01402, allocations: 0 / 262.6 MB, free: 12.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01402, allocations: 0 / 262.6 MB, free: 12.17 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.01403, allocations: 0 / 262.6 MB, free: 12.17 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.001243/0.01528, allocations: 1.09 MB / 263.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.01531, allocations: 12.03 kB / 263.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.01542, allocations: 108.8 kB / 263.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.01582, allocations: 389.2 kB / 264.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.01586, allocations: 45.69 kB / 264.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.01592, allocations: 60.38 kB / 264.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.01639, allocations: 498.3 kB / 264.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.01641, allocations: 7.891 kB / 264.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.01644, allocations: 28 kB / 264.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01645, allocations: 12 kB / 264.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.01669, allocations: 181.1 kB / 265 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.0183, allocations: 1.444 MB / 266.4 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.01859, allocations: 232.7 kB / 266.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.01879, allocations: 154.2 kB / 266.8 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.01882, allocations: 12.44 kB / 266.8 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01884, allocations: 39.06 kB / 266.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 2.465e-06/0.01884, allocations: 3.938 kB / 266.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001179/0.02002, allocations: 0.733 MB / 267.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.02005, allocations: 59.91 kB / 267.6 MB, free: 6.934 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.02045, allocations: 0.6225 MB / 268.3 MB, free: 6.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.02048, allocations: 37.7 kB / 268.3 MB, free: 6.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.02061, allocations: 321.7 kB / 268.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.716e-05/0.02071, allocations: 218.1 kB / 268.8 MB, free: 5.723 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.02082, allocations: 122.6 kB / 268.9 MB, free: 5.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.02093, allocations: 398.5 kB / 269.3 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.02102, allocations: 65.97 kB / 269.4 MB, free: 5.137 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.02116, allocations: 163.1 kB / 269.6 MB, free: 4.945 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.02142, allocations: 287.6 kB / 269.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02142, allocations: 0 / 269.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000351/0.02177, allocations: 345.2 kB / 270.2 MB, free: 4.293 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.02178, allocations: 4 kB / 270.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.02179, allocations: 4 kB / 270.2 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.0218, allocations: 4 kB / 270.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.02214, allocations: 159.8 kB / 270.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.02215, allocations: 11.98 kB / 270.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.02232, allocations: 27.92 kB / 270.4 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.02235, allocations: 20 kB / 270.4 MB, free: 4.066 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.0001328/0.02248, allocations: 156.5 kB / 270.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.02269, allocations: 67.92 kB / 270.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.02303, allocations: 306.2 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.02303, allocations: 8 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.02303, allocations: 3.984 kB / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.02304, allocations: 3.984 kB / 270.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009497/0.02399, allocations: 0.917 MB / 271.8 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.02399, allocations: 4 kB / 271.8 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.02423, allocations: 119.8 kB / 272 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.02424, allocations: 4 kB / 272 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.02425, allocations: 16.3 kB / 272 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.02426, allocations: 8 kB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.02426, allocations: 7.938 kB / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.02457, allocations: 437.3 kB / 272.4 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.02468, allocations: 71.45 kB / 272.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.02472, allocations: 16 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.02488, allocations: 23.98 kB / 272.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.02494, allocations: 48.36 kB / 272.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.02495, allocations: 20 kB / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002179/0.02517, allocations: 323.4 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02517, allocations: 0 / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.02547, allocations: 151.9 kB / 273.1 MB, free: 1.258 MB / 250.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.0008953/0.02637, allocations: 454.6 kB / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.02667, allocations: 281.9 kB / 273.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.02668, allocations: 8 kB / 273.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.02681, allocations: 149.5 kB / 273.9 MB, free: 444 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.02718, allocations: 135 kB / 274.1 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.02867, allocations: 1.34 MB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.02879, allocations: 164.1 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.02899, allocations: 88.83 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.02922, allocations: 165.3 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02922, allocations: 4 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01052/0.03974, allocations: 8.063 MB / 283.9 MB, free: 6.375 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.8548281169496477]