Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001059/0.001059, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002732, 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.00115/0.00115, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002697, 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.9332/0.9332, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08718/1.02, allocations: 52.5 MB / 238.3 MB, free: 4.434 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.409e-05, allocations: 10.81 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007383/0.007407, allocations: 6.275 MB / 245.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.01153, allocations: 2.239 MB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007433/0.01227, allocations: 23.88 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.01293, allocations: 353.7 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.01395, allocations: 0.5042 MB / 248.9 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.01477, allocations: 451.1 kB / 249.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.01652, allocations: 1.588 MB / 251 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.01697, allocations: 349.9 kB / 251.3 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.01815, allocations: 0.9892 MB / 252.3 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.01884, allocations: 0.522 MB / 252.8 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.01903, allocations: 156 kB / 253 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.01929, allocations: 187.9 kB / 253.1 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.01945, allocations: 255.2 kB / 253.4 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.01977, allocations: 383.3 kB / 253.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008212/0.02059, allocations: 0.9344 MB / 254.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.02061, allocations: 8 kB / 254.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02061, allocations: 0 / 254.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.02064, allocations: 0 / 254.7 MB, free: 3.93 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001617/0.02225, allocations: 1.644 MB / 256.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.02228, allocations: 12.03 kB / 256.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.02245, allocations: 156.8 kB / 256.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.02301, allocations: 469.6 kB / 257 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.02306, allocations: 70.38 kB / 257 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.02315, allocations: 100.3 kB / 257.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.02387, allocations: 0.7401 MB / 257.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.02389, allocations: 15.86 kB / 257.9 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.02394, allocations: 36 kB / 257.9 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.02395, allocations: 28 kB / 258 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.0243, allocations: 272 kB / 258.2 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.02675, allocations: 2.103 MB / 260.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.02748, allocations: 436.7 kB / 260.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.02765, allocations: 153.2 kB / 260.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.02769, allocations: 15.86 kB / 260.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.02771, allocations: 42.88 kB / 261 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.225e-06/0.02772, allocations: 0 / 261 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001303/0.02902, allocations: 0.8328 MB / 261.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.02906, allocations: 85.11 kB / 261.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.02954, allocations: 0.6574 MB / 262.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.02958, allocations: 37.7 kB / 262.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.02979, allocations: 469.6 kB / 263 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.02992, allocations: 241.9 kB / 263.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.03007, allocations: 162.5 kB / 263.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.0302, allocations: 398.6 kB / 263.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.03033, allocations: 85.95 kB / 263.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.03057, allocations: 282.8 kB / 264.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.03094, allocations: 426.8 kB / 264.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.03095, allocations: 4 kB / 264.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0005141/0.03146, allocations: 462.4 kB / 265.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.03148, allocations: 8 kB / 265.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.03149, allocations: 8 kB / 265.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.03151, allocations: 8 kB / 265.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.03212, allocations: 292.2 kB / 265.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.03213, allocations: 12 kB / 265.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.0324, allocations: 47.91 kB / 265.4 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.03244, allocations: 27.98 kB / 265.4 MB, free: 8.758 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.000173/0.03261, allocations: 172.4 kB / 265.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.015e-05/0.0327, allocations: 71.92 kB / 265.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.03295, allocations: 199 kB / 265.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.03295, allocations: 8 kB / 265.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.03296, allocations: 0 / 265.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.03297, allocations: 0 / 265.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.03443, allocations: 1.195 MB / 267.1 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.03443, allocations: 8 kB / 267.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.03485, allocations: 207.6 kB / 267.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.03495, allocations: 79.45 kB / 267.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.03495, allocations: 12.19 kB / 267.4 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.03499, allocations: 27.94 kB / 267.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.03499, allocations: 15.98 kB / 267.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.035, allocations: 7.938 kB / 267.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.0355, allocations: 0.6393 MB / 268.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.03556, allocations: 24 kB / 268.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.0358, allocations: 47.91 kB / 268.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.03587, allocations: 56.03 kB / 268.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.0359, allocations: 27.98 kB / 268.2 MB, free: 5.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.03615, allocations: 315.3 kB / 268.5 MB, free: 5.441 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03615, allocations: 0 / 268.5 MB, free: 5.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.03663, allocations: 208 kB / 268.7 MB, free: 5.238 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.001116/0.03775, allocations: 0.5043 MB / 269.2 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.03821, allocations: 365.9 kB / 269.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.856e-05/0.03825, allocations: 16.5 kB / 269.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.03843, allocations: 188.2 kB / 269.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.03911, allocations: 268.5 kB / 270.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.04273, allocations: 1.769 MB / 271.8 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.04286, allocations: 184.6 kB / 272 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.04317, allocations: 114.4 kB / 272.1 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.0435, allocations: 225.2 kB / 272.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0435, allocations: 0 / 272.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of Templates: time 0.109/0.1525, allocations: 11.35 MB / 283.7 MB, free: 23.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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: 3.0097521245479584]