Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009626/0.0009626, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009157/0.0009157, allocations: 159.2 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9224/0.9224, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.788e-05, allocations: 6.25 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005888/0.005906, allocations: 6.294 MB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.009336, allocations: 2.358 MB / 282.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007513/0.01009, allocations: 23.88 kB / 282.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.01075, allocations: 361.6 kB / 283.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009573/0.01171, allocations: 0.5547 MB / 283.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.01236, allocations: 455.2 kB / 284.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.01378, allocations: 1.619 MB / 285.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.01417, allocations: 330 kB / 286.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007823/0.01495, allocations: 0.92 MB / 287 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.01543, allocations: 0.5454 MB / 287.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.01556, allocations: 156 kB / 287.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.01576, allocations: 188 kB / 287.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.01594, allocations: 330.9 kB / 288.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.01625, allocations: 470.9 kB / 288.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008317/0.01708, allocations: 1.039 MB / 289.7 MB, free: 4.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.197e-06/0.01708, allocations: 0 / 289.7 MB, free: 4.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01708, allocations: 0 / 289.7 MB, free: 4.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.01709, allocations: 0 / 289.7 MB, free: 4.637 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001658/0.01875, allocations: 1.565 MB / 291.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01878, allocations: 8.031 kB / 291.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.01913, allocations: 240.1 kB / 291.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.01997, allocations: 0.6473 MB / 292.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.02002, allocations: 70.38 kB / 292.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.02011, allocations: 111.8 kB / 292.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.02081, allocations: 0.7139 MB / 293.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.02084, allocations: 8 kB / 293.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.02089, allocations: 36 kB / 293.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.0209, allocations: 27.98 kB / 293.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.02129, allocations: 319.8 kB / 293.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.02386, allocations: 2.676 MB / 296.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.02459, allocations: 393.8 kB / 296.5 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.02475, allocations: 157.9 kB / 296.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.02478, allocations: 12.59 kB / 296.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.0248, allocations: 49.27 kB / 296.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 1.783e-06/0.02481, allocations: 0 / 296.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.001299/0.0261, allocations: 0.8289 MB / 297.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.02614, allocations: 85.11 kB / 297.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.02666, allocations: 0.7642 MB / 298.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.02669, allocations: 37.7 kB / 298.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.02698, allocations: 0.6311 MB / 299.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.02715, allocations: 237.9 kB / 299.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.02732, allocations: 180.1 kB / 299.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.02748, allocations: 0.578 MB / 300 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.02762, allocations: 97.91 kB / 300.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.02788, allocations: 359 kB / 300.5 MB, free: 9.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.02831, allocations: 487.1 kB / 301 MB, free: 8.859 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.02831, allocations: 8 kB / 301 MB, free: 8.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0006427/0.02895, allocations: 0.5963 MB / 301.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.02897, allocations: 12.03 kB / 301.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.02898, allocations: 4 kB / 301.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.02899, allocations: 12 kB / 301.6 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.02953, allocations: 243.6 kB / 301.8 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.02954, allocations: 15.94 kB / 301.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.02983, allocations: 43.97 kB / 301.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.02986, allocations: 32 kB / 301.9 MB, free: 7.895 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 (112): * Single equations (assignments): 112 * 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.0001831/0.03004, allocations: 208.3 kB / 302.1 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.03016, allocations: 119.3 kB / 302.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.03042, allocations: 226.8 kB / 302.5 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.03042, allocations: 8 kB / 302.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.03042, allocations: 0 / 302.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.03043, allocations: 3.984 kB / 302.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.03201, allocations: 1.574 MB / 304.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.03201, allocations: 4 kB / 304.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.03237, allocations: 179.8 kB / 304.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.03238, allocations: 8 kB / 304.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.0324, allocations: 20 kB / 304.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.03241, allocations: 15.92 kB / 304.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.03241, allocations: 16.12 kB / 304.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.03298, allocations: 0.909 MB / 305.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.03308, allocations: 103.4 kB / 305.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.03314, allocations: 27.98 kB / 305.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.03341, allocations: 35.98 kB / 305.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.03348, allocations: 67.72 kB / 305.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.03351, allocations: 27.98 kB / 305.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.0338, allocations: 458.8 kB / 305.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0338, allocations: 0 / 305.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009374/0.03474, allocations: 211.9 kB / 306.1 MB, free: 3.402 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.000731/0.03547, allocations: 362.8 kB / 306.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004594/0.03593, allocations: 392.5 kB / 306.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.03593, allocations: 1.375 kB / 306.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.03611, allocations: 189.1 kB / 307 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.03682, allocations: 227.2 kB / 307.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.03881, allocations: 1.779 MB / 309 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.03895, allocations: 192.7 kB / 309.2 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.03927, allocations: 114.7 kB / 309.3 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.03964, allocations: 278 kB / 309.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.03964, allocations: 0 / 309.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of Templates: time 0.01524/0.05489, allocations: 11.77 MB / 321.4 MB, free: 4.238 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9878850150853395]