Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0007156/0.0007156, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009169/0.001632, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006469/0.0006469, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008758/0.001523, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9102/0.9102, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09306/1.003, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] 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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.411e-05, allocations: 6.875 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004815/0.004839, allocations: 4.57 MB / 244.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.007214, allocations: 1.83 MB / 245.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.00744, allocations: 15.88 kB / 246 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.007973, allocations: 426.1 kB / 246.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.008511, allocations: 421.5 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.008959, allocations: 327.3 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.009664, allocations: 1.04 MB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.009922, allocations: 205 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005678/0.01049, allocations: 0.6756 MB / 249 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.01085, allocations: 422.9 kB / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.278e-05/0.01093, allocations: 96 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.01123, allocations: 120 kB / 249.6 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.01138, allocations: 187.4 kB / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.01164, allocations: 247.4 kB / 250.1 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007916/0.01243, allocations: 0.6501 MB / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-05/0.01245, allocations: 0 / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01245, allocations: 0 / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/0.01247, allocations: 4 kB / 250.7 MB, free: 7.961 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.00146/0.01393, allocations: 1.266 MB / 252 MB, free: 6.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.01397, allocations: 8.031 kB / 252 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.01412, allocations: 108.8 kB / 252.1 MB, free: 6.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.01467, allocations: 381.3 kB / 252.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.01473, allocations: 45.69 kB / 252.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.01481, allocations: 64.36 kB / 252.6 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/0.0156, allocations: 498.3 kB / 253.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.01562, allocations: 3.938 kB / 253.1 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.01567, allocations: 24 kB / 253.1 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.01569, allocations: 19.98 kB / 253.1 MB, free: 5.488 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.01607, allocations: 181 kB / 253.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.01833, allocations: 1.448 MB / 254.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.01877, allocations: 236.6 kB / 255 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.0191, allocations: 149.4 kB / 255.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.01915, allocations: 12.5 kB / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.01919, allocations: 39 kB / 255.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.01919, allocations: 0 / 255.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.00226/0.02145, allocations: 0.7447 MB / 255.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.0215, allocations: 59.84 kB / 256 MB, free: 2.539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006951/0.02219, allocations: 0.6265 MB / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.02223, allocations: 33.7 kB / 256.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.02239, allocations: 329.6 kB / 257 MB, free: 1.531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.02255, allocations: 222.1 kB / 257.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.02272, allocations: 114.6 kB / 257.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.02287, allocations: 398.5 kB / 257.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.02304, allocations: 65.97 kB / 257.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.02326, allocations: 167.1 kB / 257.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.02365, allocations: 287.6 kB / 258.2 MB, free: 232 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.02366, allocations: 0 / 258.2 MB, free: 232 kB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000582/0.02424, allocations: 337.1 kB / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.02426, allocations: 8 kB / 258.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.02427, allocations: 0 / 258.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.02429, allocations: 8 kB / 258.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.02493, allocations: 195.7 kB / 258.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.02494, allocations: 7.938 kB / 258.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.02527, allocations: 36.11 kB / 258.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.02531, allocations: 19.98 kB / 258.8 MB, free: 15.62 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 (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.0002085/0.02552, allocations: 148.5 kB / 258.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.02562, allocations: 59.94 kB / 259 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.02629, allocations: 318.2 kB / 259.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.0263, allocations: 4 kB / 259.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.0263, allocations: 0 / 259.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.02631, allocations: 3.984 kB / 259.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.0276, allocations: 0.9208 MB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.02761, allocations: 0 / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.02794, allocations: 152.1 kB / 260.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.02807, allocations: 83.45 kB / 260.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.02808, allocations: 4 kB / 260.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.0281, allocations: 12 kB / 260.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.02811, allocations: 11.94 kB / 260.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.02811, allocations: 3.938 kB / 260.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.02846, allocations: 433.3 kB / 260.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.0285, allocations: 12 kB / 260.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.02867, allocations: 31.98 kB / 260.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.02874, allocations: 52.36 kB / 261 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.02876, allocations: 15.98 kB / 261 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.02902, allocations: 319.4 kB / 261.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02902, allocations: 0 / 261.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.02937, allocations: 152 kB / 261.5 MB, free: 12.79 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.001065/0.03044, allocations: 486.9 kB / 262 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.03079, allocations: 290.3 kB / 262.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-05/0.03081, allocations: 11.94 kB / 262.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.03094, allocations: 152.6 kB / 262.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.03137, allocations: 187.1 kB / 262.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.03424, allocations: 1.388 MB / 264 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.03436, allocations: 168.1 kB / 264.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.03457, allocations: 88.83 kB / 264.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.0348, allocations: 169.3 kB / 264.4 MB, free: 10 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0348, allocations: 0 / 264.4 MB, free: 10 MB / 266.7 MB Notification: Performance of Templates: time 0.01037/0.04517, allocations: 8.315 MB / 272.7 MB, free: 1.832 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.683000630699098]