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.0009452/0.0009452, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.0009119/0.0009119, allocations: 161.3 kB / 25.6 MB, free: 8.895 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.9346/0.9346, allocations: 158.6 MB / 187.5 MB, free: 2.812 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 9.82e-07/9.82e-07, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.727e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00438/0.004397, allocations: 4.421 MB / 255.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.00731, allocations: 1.734 MB / 257.6 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.007735, allocations: 11.94 kB / 257.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.008435, allocations: 418.1 kB / 258 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.00917, allocations: 429.5 kB / 258.5 MB, free: 220 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.009765, allocations: 311.4 kB / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009243/0.01069, allocations: 1.047 MB / 259.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.01098, allocations: 195 kB / 260 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.01161, allocations: 0.5926 MB / 260.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.01201, allocations: 439 kB / 261 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.0121, allocations: 92 kB / 261.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.01226, allocations: 131.9 kB / 261.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.01241, allocations: 235.2 kB / 261.5 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.01262, allocations: 299.2 kB / 261.8 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.0132, allocations: 0.7007 MB / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.01321, allocations: 0 / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01321, allocations: 0 / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01321, allocations: 4 kB / 262.5 MB, free: 12.19 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.001248/0.01446, allocations: 1.242 MB / 263.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.01451, allocations: 8.031 kB / 263.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.01465, allocations: 152.3 kB / 263.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.0151, allocations: 488 kB / 264.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.01514, allocations: 45.69 kB / 264.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.0152, allocations: 60.38 kB / 264.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.01576, allocations: 490.9 kB / 264.9 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.01578, allocations: 3.938 kB / 264.9 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.01581, allocations: 20 kB / 265 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01582, allocations: 16 kB / 265 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.0161, allocations: 220.9 kB / 265.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.01811, allocations: 1.92 MB / 267.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.01843, allocations: 251 kB / 267.4 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.01865, allocations: 157.1 kB / 267.5 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.01869, allocations: 16.44 kB / 267.5 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.01871, allocations: 45.83 kB / 267.6 MB, free: 6.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.01871, allocations: 0 / 267.6 MB, free: 6.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001339/0.02005, allocations: 0.8215 MB / 268.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.02008, allocations: 59.91 kB / 268.4 MB, free: 6.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.02055, allocations: 0.6943 MB / 269.1 MB, free: 5.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.02058, allocations: 37.69 kB / 269.2 MB, free: 5.262 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.0208, allocations: 479.1 kB / 269.6 MB, free: 4.785 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.02104, allocations: 218.1 kB / 269.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.02118, allocations: 140.2 kB / 270 MB, free: 4.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.02142, allocations: 0.5663 MB / 270.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.02154, allocations: 77.92 kB / 270.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.02171, allocations: 219.3 kB / 270.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.022, allocations: 301.2 kB / 271.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.022, allocations: 0 / 271.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005403/0.02254, allocations: 448.7 kB / 271.6 MB, free: 2.738 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.02256, allocations: 7.984 kB / 271.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.02256, allocations: 8 kB / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.02258, allocations: 8.281 kB / 271.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.02294, allocations: 163.7 kB / 271.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.02295, allocations: 4 kB / 271.8 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.02314, allocations: 39.86 kB / 271.8 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.02317, allocations: 19.98 kB / 271.8 MB, free: 2.492 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.0001457/0.02331, allocations: 188.5 kB / 272 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.02341, allocations: 99.48 kB / 272.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.02382, allocations: 373.2 kB / 272.5 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.02383, allocations: 11.98 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.02383, allocations: 0 / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.02383, allocations: 7.922 kB / 272.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.02513, allocations: 1.185 MB / 273.7 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.02513, allocations: 4 kB / 273.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.02539, allocations: 123.8 kB / 273.8 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.0254, allocations: 4 kB / 273.8 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.02542, allocations: 12 kB / 273.8 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.02542, allocations: 11.98 kB / 273.8 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.02542, allocations: 0 / 273.8 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.02587, allocations: 0.5984 MB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.02601, allocations: 119.5 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.02605, allocations: 23.98 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.02623, allocations: 23.98 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.02629, allocations: 56.3 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.02631, allocations: 12 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002629/0.02657, allocations: 438.8 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02657, allocations: 0 / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.02693, allocations: 151.9 kB / 275.2 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.0006744/0.0276, allocations: 343.6 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.02795, allocations: 296.7 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02795, allocations: 0 / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.0281, allocations: 168.1 kB / 276 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.000453/0.02856, allocations: 142.7 kB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.03045, allocations: 1.356 MB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.03055, allocations: 164.1 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.03075, allocations: 84.83 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.031, allocations: 202.1 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.031, allocations: 4 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01121/0.04221, allocations: 8.142 MB / 286.1 MB, free: 3.961 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.8853400889784098]