Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.000868/0.000868, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003736/0.003736, allocations: 158.8 kB / 24.7 MB, free: 8.891 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.8368/0.8368, allocations: 177 MB / 204.9 MB, free: 5.754 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.095e-05, allocations: 7.125 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003711/0.003732, allocations: 4.261 MB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.005748, allocations: 1.901 MB / 331.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.005963, allocations: 15.94 kB / 332 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.006489, allocations: 426 kB / 332.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.007046, allocations: 477.3 kB / 332.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.007436, allocations: 334.7 kB / 333.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.00812, allocations: 1.067 MB / 334.2 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.008372, allocations: 195 kB / 334.4 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.008851, allocations: 0.6043 MB / 335 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.009208, allocations: 442.9 kB / 335.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.009285, allocations: 96 kB / 335.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.009421, allocations: 139.9 kB / 335.7 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.009555, allocations: 247.1 kB / 335.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.009742, allocations: 303.2 kB / 336.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008469/0.01059, allocations: 1.312 MB / 337.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.01059, allocations: 4 kB / 337.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01059, allocations: 0 / 337.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.0106, allocations: 0 / 337.5 MB, free: 3.59 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001255/0.01185, allocations: 1.146 MB / 338.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01189, allocations: 12.03 kB / 338.7 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.01215, allocations: 132.2 kB / 338.8 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.01271, allocations: 0.5149 MB / 339.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.01274, allocations: 49.69 kB / 339.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.01281, allocations: 60.36 kB / 339.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.01355, allocations: 0.6655 MB / 340.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.01357, allocations: 4 kB / 340.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.01362, allocations: 24 kB / 340.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01363, allocations: 16 kB / 340.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.01425, allocations: 0.5204 MB / 340.7 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.01628, allocations: 2.009 MB / 342.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.01682, allocations: 437.1 kB / 343.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.01718, allocations: 270.2 kB / 343.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.01722, allocations: 12.48 kB / 343.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01724, allocations: 35.06 kB / 343.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.562e-06/0.01724, allocations: 0 / 343.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002204/0.01944, allocations: 1.456 MB / 344.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.01948, allocations: 64 kB / 344.9 MB, free: 12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.02011, allocations: 0.9065 MB / 345.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.02014, allocations: 37.7 kB / 345.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.02033, allocations: 412.5 kB / 346.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.02044, allocations: 234.1 kB / 346.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.02056, allocations: 114.6 kB / 346.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.02082, allocations: 390.8 kB / 347 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.02112, allocations: 225.9 kB / 347.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.02145, allocations: 327 kB / 347.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.02207, allocations: 0.5483 MB / 348.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.02207, allocations: 4 kB / 348.1 MB, free: 8.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007894/0.02286, allocations: 0.6961 MB / 348.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.02288, allocations: 12.03 kB / 348.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.02288, allocations: 3.938 kB / 348.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.0229, allocations: 8 kB / 348.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.02325, allocations: 175.6 kB / 349 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.02326, allocations: 4 kB / 349 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.02346, allocations: 35.97 kB / 349 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.02348, allocations: 20 kB / 349.1 MB, free: 7.777 MB / 314.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 (85): * Single equations (assignments): 85 * 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.0002191/0.0237, allocations: 277.7 kB / 349.3 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.02377, allocations: 79.48 kB / 349.4 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/0.02449, allocations: 0.6105 MB / 350 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.02449, allocations: 4 kB / 350 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.0245, allocations: 3.938 kB / 350 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.0245, allocations: 4 kB / 350 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.02595, allocations: 1.467 MB / 351.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02595, allocations: 4 kB / 351.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.0262, allocations: 123.8 kB / 351.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.02621, allocations: 8 kB / 351.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.02623, allocations: 12 kB / 351.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.02623, allocations: 7.984 kB / 351.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02623, allocations: 12.25 kB / 351.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.02688, allocations: 0.7223 MB / 352.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.02702, allocations: 127.4 kB / 352.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.02707, allocations: 12 kB / 352.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.02725, allocations: 35.97 kB / 352.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.02731, allocations: 52.3 kB / 352.6 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.02733, allocations: 20 kB / 352.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004517/0.02778, allocations: 0.6552 MB / 353.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02778, allocations: 0 / 353.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.02809, allocations: 148 kB / 353.4 MB, free: 3.258 MB / 314.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 (63): * Single equations (assignments): 63 * 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.0005761/0.02867, allocations: 392.8 kB / 353.8 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009007/0.02957, allocations: 0.5236 MB / 354.3 MB, free: 2.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02957, allocations: 4 kB / 354.3 MB, free: 2.457 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.02986, allocations: 254.6 kB / 354.6 MB, free: 2.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.0303, allocations: 139 kB / 354.7 MB, free: 2.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.0318, allocations: 1.597 MB / 356.3 MB, free: 428 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.03202, allocations: 371.8 kB / 356.7 MB, free: 24 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.03217, allocations: 68.47 kB / 356.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03217, allocations: 0 / 356.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of Templates: time 0.008203/0.04037, allocations: 10.26 MB / 367 MB, free: 5.723 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.137295111082494]