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.001236/0.001236, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.000914/0.000914, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.8552/0.8552, allocations: 177 MB / 205.2 MB, free: 5.043 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.092e-06/1.092e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.262e-05, allocations: 9.266 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003882/0.003894, allocations: 4.579 MB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.00608, allocations: 2.009 MB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.006299, allocations: 15.94 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.006813, allocations: 426 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.007407, allocations: 481.2 kB / 280.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.007828, allocations: 319.3 kB / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.008516, allocations: 1.071 MB / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.008738, allocations: 212.9 kB / 282.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.009187, allocations: 0.6004 MB / 283.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.009566, allocations: 427 kB / 283.5 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.009642, allocations: 92 kB / 283.6 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.009782, allocations: 131.9 kB / 283.7 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.009964, allocations: 243.2 kB / 283.9 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.01018, allocations: 303.2 kB / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.0107, allocations: 0.7162 MB / 284.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.0107, allocations: 0 / 284.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.0107, allocations: 0 / 284.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.01071, allocations: 0 / 284.9 MB, free: 5.445 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.0009804/0.01169, allocations: 1.106 MB / 286.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.525e-05/0.01171, allocations: 8.031 kB / 286.1 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.01196, allocations: 144.8 kB / 286.2 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.01233, allocations: 394 kB / 286.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.01236, allocations: 49.69 kB / 286.6 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.01242, allocations: 56.38 kB / 286.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.01283, allocations: 486.1 kB / 287.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01285, allocations: 4 kB / 287.2 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.01288, allocations: 24 kB / 287.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.01289, allocations: 20 kB / 287.2 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.01312, allocations: 181 kB / 287.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.01462, allocations: 1.459 MB / 288.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.01489, allocations: 248 kB / 289.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.01507, allocations: 138.3 kB / 289.2 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.0151, allocations: 20.48 kB / 289.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.01512, allocations: 43 kB / 289.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.413e-06/0.01512, allocations: 0 / 289.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.00113/0.01625, allocations: 0.7432 MB / 290 MB, free: 220 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.01628, allocations: 68 kB / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09283/0.1091, allocations: 0.6355 MB / 290.7 MB, free: 24.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.1092, allocations: 36.14 kB / 290.8 MB, free: 24.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1093, allocations: 331.6 kB / 291.1 MB, free: 24.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.1094, allocations: 223.4 kB / 291.3 MB, free: 24.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.1095, allocations: 122.4 kB / 291.4 MB, free: 24.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.1096, allocations: 391.8 kB / 291.8 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1097, allocations: 65.95 kB / 291.9 MB, free: 23.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1098, allocations: 171 kB / 292 MB, free: 23.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1101, allocations: 284 kB / 292.3 MB, free: 23.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1101, allocations: 1.375 kB / 292.3 MB, free: 23.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003997/0.1105, allocations: 342.8 kB / 292.7 MB, free: 23.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1105, allocations: 5.812 kB / 292.7 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1105, allocations: 2.844 kB / 292.7 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1106, allocations: 7.828 kB / 292.7 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.111, allocations: 165.1 kB / 292.8 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.111, allocations: 5.672 kB / 292.8 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.1112, allocations: 27.02 kB / 292.9 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1112, allocations: 20.16 kB / 292.9 MB, free: 23.69 MB / 266.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.0001346/0.1113, allocations: 154 kB / 293 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.1114, allocations: 67.08 kB / 293.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.1118, allocations: 312.2 kB / 293.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1118, allocations: 10.94 kB / 293.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1118, allocations: 1.859 kB / 293.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1118, allocations: 3 kB / 293.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.1128, allocations: 0.9312 MB / 294.4 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1128, allocations: 3.203 kB / 294.4 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.1131, allocations: 122.3 kB / 294.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.1131, allocations: 5.438 kB / 294.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.1131, allocations: 13.59 kB / 294.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1131, allocations: 5.891 kB / 294.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1131, allocations: 9.312 kB / 294.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.1134, allocations: 439.4 kB / 294.9 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1136, allocations: 77.94 kB / 295 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.1136, allocations: 15.3 kB / 295 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1138, allocations: 23.91 kB / 295.1 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.1138, allocations: 50.17 kB / 295.1 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1138, allocations: 21.08 kB / 295.1 MB, free: 22.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.1141, allocations: 328.6 kB / 295.4 MB, free: 22.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1141, allocations: 0 / 295.4 MB, free: 22.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003576/0.1145, allocations: 152 kB / 295.6 MB, free: 22.86 MB / 266.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.0008628/0.1153, allocations: 461.3 kB / 296 MB, free: 22.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.1157, allocations: 278.8 kB / 296.3 MB, free: 22.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.1157, allocations: 8.531 kB / 296.3 MB, free: 22.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1158, allocations: 161.2 kB / 296.5 MB, free: 22.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1162, allocations: 143 kB / 296.6 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1177, allocations: 1.359 MB / 298 MB, free: 22.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.1178, allocations: 173.4 kB / 298.1 MB, free: 21.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.1181, allocations: 91.75 kB / 298.2 MB, free: 21.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.1183, allocations: 176.8 kB / 298.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1183, allocations: 0 / 298.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of Templates: time 0.01016/0.1285, allocations: 8.411 MB / 306.8 MB, free: 18.62 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",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.701674247160554]