Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.0007899/0.0007899, allocations: 91.62 kB / 22.19 MB, free: 2.352 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.000751/0.000751, allocations: 156.9 kB / 25.45 MB, free: 9.363 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.8635/0.8635, allocations: 158.6 MB / 187.2 MB, free: 3.055 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.155e-05, allocations: 2.281 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005463/0.005495, allocations: 5.634 MB / 305.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.008085, allocations: 2.061 MB / 307.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.008472, allocations: 23.94 kB / 307.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.009695, allocations: 361.6 kB / 307.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.01048, allocations: 0.4925 MB / 308.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.0111, allocations: 443.2 kB / 308.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.01218, allocations: 1.588 MB / 310.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.01257, allocations: 337.8 kB / 310.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006534/0.01323, allocations: 0.8732 MB / 311.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.0137, allocations: 0.5298 MB / 312 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.01384, allocations: 159.9 kB / 312.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.01403, allocations: 188 kB / 312.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.01423, allocations: 326.9 kB / 312.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.01454, allocations: 466.9 kB / 313.1 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.01622, allocations: 1.982 MB / 315.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01622, allocations: 3.938 kB / 315.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.01622, allocations: 0 / 315.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.01625, allocations: 0 / 315.1 MB, free: 7.414 MB / 298.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.001913/0.01816, allocations: 1.489 MB / 316.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.0182, allocations: 8.031 kB / 316.6 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.01835, allocations: 136.1 kB / 316.7 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.01921, allocations: 0.6583 MB / 317.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.01926, allocations: 74.38 kB / 317.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.98e-05/0.01936, allocations: 92.36 kB / 317.6 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.02063, allocations: 1.064 MB / 318.6 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.02067, allocations: 15.88 kB / 318.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/0.02074, allocations: 36 kB / 318.7 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.02076, allocations: 24 kB / 318.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.02198, allocations: 0.8757 MB / 319.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.02546, allocations: 2.885 MB / 322.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.02706, allocations: 0.8521 MB / 323.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.02751, allocations: 337.6 kB / 323.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.02756, allocations: 15.92 kB / 323.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.02759, allocations: 39.16 kB / 323.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.02759, allocations: 0 / 323.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002741/0.03033, allocations: 1.811 MB / 325.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.03038, allocations: 81.11 kB / 325.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.03109, allocations: 0.848 MB / 326.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.03112, allocations: 37.7 kB / 326.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.03139, allocations: 0.5466 MB / 327 MB, free: 11.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.03152, allocations: 246 kB / 327.3 MB, free: 11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.0317, allocations: 154.5 kB / 327.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.03183, allocations: 394.7 kB / 327.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.03235, allocations: 341.8 kB / 328.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.03295, allocations: 0.5301 MB / 328.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.03412, allocations: 0.8242 MB / 329.5 MB, free: 8.613 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.03412, allocations: 3.938 kB / 329.5 MB, free: 8.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00127/0.03539, allocations: 1.004 MB / 330.5 MB, free: 7.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.03541, allocations: 8 kB / 330.5 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.03542, allocations: 7.938 kB / 330.5 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.03544, allocations: 8 kB / 330.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.03603, allocations: 283.8 kB / 330.8 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.03605, allocations: 23.86 kB / 330.8 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.03638, allocations: 67.94 kB / 330.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.03642, allocations: 39.98 kB / 330.9 MB, free: 7.164 MB / 314.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 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.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.0002906/0.03671, allocations: 281.6 kB / 331.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.0368, allocations: 91.44 kB / 331.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.03736, allocations: 372.9 kB / 331.7 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.03737, allocations: 8 kB / 331.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.03738, allocations: 3.938 kB / 331.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.03739, allocations: 7.984 kB / 331.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.03967, allocations: 2.006 MB / 333.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.03968, allocations: 4 kB / 333.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.0401, allocations: 212.3 kB / 333.9 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.0401, allocations: 11.94 kB / 333.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.04013, allocations: 20 kB / 333.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.04014, allocations: 15.92 kB / 333.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.04015, allocations: 8 kB / 333.9 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.04115, allocations: 1.01 MB / 335 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.04125, allocations: 99.41 kB / 335.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.04132, allocations: 20 kB / 335.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.04161, allocations: 51.95 kB / 335.1 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.0417, allocations: 71.66 kB / 335.2 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.04173, allocations: 35.97 kB / 335.2 MB, free: 2.617 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004663/0.04219, allocations: 0.5732 MB / 335.8 MB, free: 2.047 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04219, allocations: 0 / 335.8 MB, free: 2.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006731/0.04287, allocations: 211.9 kB / 336 MB, free: 1.84 MB / 314.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.0006494/0.04352, allocations: 398.7 kB / 336.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.04455, allocations: 0.7337 MB / 337.1 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.04455, allocations: 4 kB / 337.1 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.04501, allocations: 358 kB / 337.5 MB, free: 384 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.04568, allocations: 187.3 kB / 337.7 MB, free: 196 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.04776, allocations: 1.897 MB / 339.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.04806, allocations: 426.8 kB / 340 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.04825, allocations: 80.47 kB / 340.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04825, allocations: 0 / 340.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Templates: time 0.01164/0.05989, allocations: 12.96 MB / 353 MB, free: 0.6562 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.776378229260445]