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.0009247/0.0009247, 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.000964/0.000964, allocations: 158.5 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.9388/0.9388, allocations: 177 MB / 205.2 MB, free: 5.035 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.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.355e-05, allocations: 9.266 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006371/0.006395, allocations: 4.626 MB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.009583, allocations: 2.005 MB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.009941, allocations: 11.94 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.01061, allocations: 430.1 kB / 280.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007928/0.0114, allocations: 473.2 kB / 280.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.01195, allocations: 331.3 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009426/0.01289, allocations: 1.063 MB / 282.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.01318, allocations: 204.9 kB / 282.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006955/0.01387, allocations: 0.6159 MB / 283.2 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.01433, allocations: 426.9 kB / 283.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.715e-05/0.01443, allocations: 92 kB / 283.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.01461, allocations: 135.9 kB / 283.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01474, allocations: 239.2 kB / 284 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.01495, allocations: 303.2 kB / 284.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.0157, allocations: 0.7085 MB / 285 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.0157, allocations: 4 kB / 285 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0157, allocations: 0 / 285 MB, free: 5.344 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.01571, allocations: 0 / 285 MB, free: 5.344 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.00116/0.01687, allocations: 1.11 MB / 286.1 MB, free: 4.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.01691, allocations: 12.03 kB / 286.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.0172, allocations: 136.8 kB / 286.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.01763, allocations: 390.1 kB / 286.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.01767, allocations: 53.69 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.01772, allocations: 64.38 kB / 286.8 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.0182, allocations: 490.1 kB / 287.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01821, allocations: 0 / 287.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.01824, allocations: 24 kB / 287.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01825, allocations: 16 kB / 287.3 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.01855, allocations: 185 kB / 287.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.02025, allocations: 1.452 MB / 288.9 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.02054, allocations: 239.9 kB / 289.2 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.02074, allocations: 158.2 kB / 289.3 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.02077, allocations: 12.48 kB / 289.3 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.02079, allocations: 43 kB / 289.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.02079, allocations: 0 / 289.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001226/0.02202, allocations: 0.7432 MB / 290.1 MB, free: 112 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.02205, allocations: 64.06 kB / 290.2 MB, free: 32 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1175/0.1395, allocations: 0.637 MB / 290.8 MB, free: 24.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.052e-05/0.1396, allocations: 35.73 kB / 290.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1397, allocations: 329.8 kB / 291.2 MB, free: 24.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1398, allocations: 227.1 kB / 291.4 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.14, allocations: 119.6 kB / 291.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.1401, allocations: 392.4 kB / 291.9 MB, free: 23.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1402, allocations: 64.31 kB / 292 MB, free: 23.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.1404, allocations: 171.9 kB / 292.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1408, allocations: 285.4 kB / 292.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1408, allocations: 1.062 kB / 292.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005216/0.1413, allocations: 344.8 kB / 292.7 MB, free: 23.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1413, allocations: 7.156 kB / 292.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1413, allocations: 2.406 kB / 292.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.1413, allocations: 6.375 kB / 292.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.1419, allocations: 180 kB / 292.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.142, allocations: 9.938 kB / 292.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.1422, allocations: 26.58 kB / 293 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.1423, allocations: 20.06 kB / 293 MB, free: 23.66 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.0001512/0.1424, allocations: 147 kB / 293.1 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.1425, allocations: 64.77 kB / 293.2 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.143, allocations: 317 kB / 293.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.143, allocations: 12.41 kB / 293.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.143, allocations: 0 / 293.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.143, allocations: 4.156 kB / 293.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.1444, allocations: 0.9259 MB / 294.4 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1444, allocations: 3.828 kB / 294.5 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.1448, allocations: 132.7 kB / 294.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.1448, allocations: 4.625 kB / 294.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1448, allocations: 18.09 kB / 294.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1448, allocations: 9.406 kB / 294.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1448, allocations: 11.36 kB / 294.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.1452, allocations: 439.9 kB / 295.1 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1454, allocations: 74.91 kB / 295.1 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.1454, allocations: 14.08 kB / 295.1 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1456, allocations: 26.86 kB / 295.2 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.1457, allocations: 56.62 kB / 295.2 MB, free: 22.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.1457, allocations: 14.39 kB / 295.2 MB, free: 22.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003419/0.1461, allocations: 330.7 kB / 295.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1461, allocations: 0 / 295.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.1466, allocations: 151.5 kB / 295.7 MB, free: 22.82 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.001089/0.1477, allocations: 464.8 kB / 296.2 MB, free: 22.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.1481, allocations: 282.2 kB / 296.4 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.089e-05/0.1481, allocations: 7.594 kB / 296.4 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.1483, allocations: 152.4 kB / 296.6 MB, free: 22.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.1489, allocations: 150.1 kB / 296.7 MB, free: 22.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1508, allocations: 1.357 MB / 298.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.151, allocations: 177.9 kB / 298.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.1513, allocations: 85.89 kB / 298.4 MB, free: 21.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.1516, allocations: 173.4 kB / 298.5 MB, free: 21.84 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1516, allocations: 0 / 298.5 MB, free: 21.84 MB / 266.7 MB Notification: Performance of Templates: time 0.01322/0.1648, allocations: 8.407 MB / 306.9 MB, free: 18.51 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 -s gbode -gbm=radauIIA3 -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.9113153642974794]