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.00101/0.00101, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001417/0.001417, allocations: 148.8 kB / 24.89 MB, free: 8.742 MB / 18.57 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.9203/0.9203, allocations: 173.4 MB / 201.5 MB, free: 8.289 MB / 186.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.382e-06/1.382e-06, allocations: 3.938 kB / 268.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.309e-05, allocations: 6.25 kB / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00555/0.005573, allocations: 6.193 MB / 274.7 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003508/0.009082, allocations: 2.231 MB / 276.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.009802, allocations: 23.88 kB / 276.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009584/0.01076, allocations: 349.7 kB / 277.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.0118, allocations: 0.5042 MB / 277.8 MB, free: 496 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007877/0.01259, allocations: 463.2 kB / 278.2 MB, free: 32 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.01421, allocations: 1.576 MB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.01467, allocations: 349.9 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.01575, allocations: 0.8849 MB / 281 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/0.01642, allocations: 0.5182 MB / 281.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.0166, allocations: 156 kB / 281.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.01684, allocations: 187.9 kB / 281.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.01705, allocations: 330.9 kB / 282.2 MB, free: 12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.01743, allocations: 458.9 kB / 282.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.01844, allocations: 1.016 MB / 283.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01844, allocations: 0 / 283.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01844, allocations: 4 kB / 283.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.01847, allocations: 0 / 283.7 MB, free: 10.53 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001795/0.02026, allocations: 1.406 MB / 285.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.0203, allocations: 8.031 kB / 285.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.02048, allocations: 160.8 kB / 285.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.02107, allocations: 473.6 kB / 285.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.02112, allocations: 74.38 kB / 285.8 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/0.02121, allocations: 100.3 kB / 285.9 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008012/0.02201, allocations: 0.7401 MB / 286.6 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.02204, allocations: 3.938 kB / 286.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.02209, allocations: 36 kB / 286.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.0221, allocations: 27.98 kB / 286.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.02252, allocations: 284 kB / 287 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.02596, allocations: 2.084 MB / 289 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.02709, allocations: 440.6 kB / 289.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.02733, allocations: 149.9 kB / 289.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.02738, allocations: 12 kB / 289.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.02741, allocations: 50.67 kB / 289.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.988e-06/0.02742, allocations: 0 / 289.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002014/0.02943, allocations: 0.835 MB / 290.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.02948, allocations: 85.11 kB / 290.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/0.03018, allocations: 0.6574 MB / 291.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.03022, allocations: 37.7 kB / 291.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.03057, allocations: 473.6 kB / 291.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.03074, allocations: 241.9 kB / 292 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.03095, allocations: 162.4 kB / 292.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.0311, allocations: 398.6 kB / 292.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.03129, allocations: 85.95 kB / 292.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.03159, allocations: 275 kB / 292.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.0321, allocations: 440.5 kB / 293.3 MB, free: 480 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.03211, allocations: 4 kB / 293.3 MB, free: 476 kB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003136/0.03525, allocations: 459.9 kB / 293.8 MB, free: 8 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.03528, allocations: 9.875 kB / 293.8 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/0.03532, allocations: 8.047 kB / 293.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/0.03535, allocations: 8 kB / 293.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.03638, allocations: 248.2 kB / 294 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.0364, allocations: 15.94 kB / 294.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.03711, allocations: 43.97 kB / 294.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.03719, allocations: 27.98 kB / 294.1 MB, free: 15.66 MB / 282.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.0004003/0.03759, allocations: 166.7 kB / 294.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.03779, allocations: 71.92 kB / 294.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.03827, allocations: 200 kB / 294.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.03828, allocations: 8 kB / 294.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.03829, allocations: 3.984 kB / 294.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.0383, allocations: 0 / 294.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.04121, allocations: 1.191 MB / 295.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.04122, allocations: 8 kB / 295.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.04189, allocations: 175.8 kB / 295.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.04191, allocations: 8 kB / 295.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.04196, allocations: 27.92 kB / 296 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/0.04198, allocations: 15.88 kB / 296 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.04199, allocations: 11.94 kB / 296 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.04291, allocations: 0.6403 MB / 296.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.04313, allocations: 79.45 kB / 296.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.04324, allocations: 20 kB / 296.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.04378, allocations: 43.84 kB / 296.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.04391, allocations: 68.02 kB / 296.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.04396, allocations: 24 kB / 296.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005285/0.04449, allocations: 315.4 kB / 297.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04449, allocations: 0 / 297.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001147/0.04564, allocations: 208 kB / 297.4 MB, free: 12.18 MB / 282.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.001796/0.04743, allocations: 469 kB / 297.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009158/0.04835, allocations: 371.1 kB / 298.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-05/0.04839, allocations: 16.69 kB / 298.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.04871, allocations: 168.5 kB / 298.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.04997, allocations: 203.8 kB / 298.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.05344, allocations: 1.686 MB / 300.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.05358, allocations: 188.6 kB / 300.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003473/0.05393, allocations: 110.4 kB / 300.6 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.05427, allocations: 217.2 kB / 300.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of SimCode: time 1.863e-06/0.05427, allocations: 0 / 300.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of Templates: time 0.01533/0.0696, allocations: 10.94 MB / 311.7 MB, free: 14.1 MB / 298.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 -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: 2.8293107450008392]