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.001505/0.001505, allocations: 84.34 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.001554/0.001554, allocations: 161.5 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.9371/0.9371, allocations: 177 MB / 205.9 MB, free: 4.469 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.313e-06/1.313e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.189e-05, allocations: 2.312 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.01146/0.01148, allocations: 4.582 MB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.0176, allocations: 1.955 MB / 280.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.01803, allocations: 15.94 kB / 280.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007502/0.01878, allocations: 418.1 kB / 281.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.02278, allocations: 477.3 kB / 281.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.02349, allocations: 331.2 kB / 281.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.02462, allocations: 1.067 MB / 282.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.02499, allocations: 203 kB / 283.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.02902, allocations: 0.6081 MB / 283.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.02979, allocations: 450.9 kB / 284.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.03, allocations: 96 kB / 284.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.03026, allocations: 123.9 kB / 284.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.03048, allocations: 243.2 kB / 284.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.03082, allocations: 299.2 kB / 284.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.03501, allocations: 0.7201 MB / 285.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.03501, allocations: 4 kB / 285.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.03502, allocations: 0 / 285.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.03503, allocations: 0 / 285.6 MB, free: 8.727 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.001611/0.03664, allocations: 1.25 MB / 286.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.03668, allocations: 8.031 kB / 286.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.03702, allocations: 176.2 kB / 287.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.03755, allocations: 0.5006 MB / 287.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.0376, allocations: 49.69 kB / 287.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.03767, allocations: 56.38 kB / 287.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.03822, allocations: 486.7 kB / 288.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.03824, allocations: 0 / 288.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.03827, allocations: 28 kB / 288.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.03829, allocations: 12 kB / 288.2 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.03856, allocations: 212.9 kB / 288.4 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.04048, allocations: 1.928 MB / 290.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.04081, allocations: 257.6 kB / 290.6 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.04102, allocations: 149.1 kB / 290.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.04105, allocations: 12.5 kB / 290.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.04108, allocations: 53.75 kB / 290.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.522e-06/0.04108, allocations: 4 kB / 290.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001348/0.04243, allocations: 0.824 MB / 291.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.04246, allocations: 60.06 kB / 291.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.04292, allocations: 0.7138 MB / 292.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.04295, allocations: 33.7 kB / 292.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.04319, allocations: 491.1 kB / 292.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.04331, allocations: 226 kB / 293.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.04345, allocations: 132.2 kB / 293.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.04364, allocations: 0.578 MB / 293.8 MB, free: 296 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.04376, allocations: 77.92 kB / 293.9 MB, free: 216 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.04393, allocations: 215.3 kB / 294.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.04423, allocations: 309.8 kB / 294.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.04423, allocations: 0 / 294.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005293/0.04476, allocations: 456.6 kB / 294.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.04477, allocations: 4 kB / 294.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.04477, allocations: 4 kB / 294.9 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.04478, allocations: 7.938 kB / 294.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.04515, allocations: 168.1 kB / 295 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.04516, allocations: 7.938 kB / 295 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.04535, allocations: 23.98 kB / 295.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.04537, allocations: 23.98 kB / 295.1 MB, free: 14.93 MB / 282.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.0001398/0.04551, allocations: 192.4 kB / 295.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.0456, allocations: 95.48 kB / 295.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.046, allocations: 385.2 kB / 295.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.04601, allocations: 12 kB / 295.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.04601, allocations: 0 / 295.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.04602, allocations: 7.922 kB / 295.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.04727, allocations: 1.198 MB / 297 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.04727, allocations: 4 kB / 297 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.04752, allocations: 119.8 kB / 297.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.04753, allocations: 4 kB / 297.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.04755, allocations: 16 kB / 297.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.04755, allocations: 11.92 kB / 297.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.04756, allocations: 4 kB / 297.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.04798, allocations: 0.6059 MB / 297.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.04811, allocations: 131.5 kB / 297.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.04816, allocations: 12 kB / 297.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.04834, allocations: 23.98 kB / 297.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.04839, allocations: 56.3 kB / 298 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.04841, allocations: 16 kB / 298 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.04867, allocations: 446.8 kB / 298.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04867, allocations: 0 / 298.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.04903, allocations: 159.9 kB / 298.6 MB, free: 11.29 MB / 282.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.0006363/0.04967, allocations: 346.8 kB / 298.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.05001, allocations: 301.8 kB / 299.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.05001, allocations: 4 kB / 299.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.05016, allocations: 164.6 kB / 299.4 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.0506, allocations: 146.3 kB / 299.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.05205, allocations: 1.376 MB / 300.9 MB, free: 8.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.05215, allocations: 172.2 kB / 301 MB, free: 8.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.05236, allocations: 88.94 kB / 301.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.05262, allocations: 210.1 kB / 301.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05262, allocations: 7.938 kB / 301.3 MB, free: 8.496 MB / 282.7 MB Notification: Performance of Templates: time 0.01102/0.06364, allocations: 8.65 MB / 310 MB, free: 15.99 MB / 298.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: 3.2094197664409876]