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.0009432/0.0009432, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.000969/0.000969, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9678/0.9678, allocations: 177 MB / 204.8 MB, free: 5.426 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.242e-06/1.242e-06, allocations: 0 / 272.9 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.415e-05, allocations: 6.312 kB / 272.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004484/0.004508, allocations: 4.668 MB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.007442, allocations: 1.963 MB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.007792, allocations: 23.81 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.008419, allocations: 414.1 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008223/0.009241, allocations: 477.2 kB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.009833, allocations: 327.3 kB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000985/0.01082, allocations: 1.067 MB / 281.8 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.0111, allocations: 203 kB / 282 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006911/0.01179, allocations: 0.6042 MB / 282.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.01232, allocations: 450.9 kB / 283.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.01243, allocations: 96 kB / 283.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.01263, allocations: 131.9 kB / 283.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.01279, allocations: 247.2 kB / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.01302, allocations: 299.2 kB / 283.8 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000699/0.01371, allocations: 0.7201 MB / 284.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01372, allocations: 0 / 284.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01372, allocations: 0 / 284.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.01373, allocations: 0 / 284.5 MB, free: 5.633 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.001554/0.01529, allocations: 1.242 MB / 285.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.01533, allocations: 8.031 kB / 285.8 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.01565, allocations: 176.3 kB / 286 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.01618, allocations: 0.5007 MB / 286.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.01622, allocations: 49.67 kB / 286.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.01629, allocations: 60.38 kB / 286.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.01694, allocations: 0.5144 MB / 287.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.01696, allocations: 0 / 287.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.01699, allocations: 24 kB / 287.1 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.01701, allocations: 16 kB / 287.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.01743, allocations: 271.6 kB / 287.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.01957, allocations: 2.022 MB / 289.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.02, allocations: 297.5 kB / 289.7 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.0203, allocations: 177 kB / 289.9 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.02033, allocations: 20.48 kB / 289.9 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.02036, allocations: 41.89 kB / 289.9 MB, free: 40 kB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.873e-06/0.02036, allocations: 0 / 289.9 MB, free: 40 kB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1166/0.137, allocations: 0.9778 MB / 290.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.137, allocations: 59.97 kB / 291 MB, free: 23.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.1377, allocations: 0.7419 MB / 291.7 MB, free: 23.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.1378, allocations: 34.39 kB / 291.7 MB, free: 23.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.138, allocations: 476.4 kB / 292.2 MB, free: 23.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1381, allocations: 223 kB / 292.4 MB, free: 23.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.1383, allocations: 127.9 kB / 292.6 MB, free: 23.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1384, allocations: 0.5726 MB / 293.1 MB, free: 22.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.1386, allocations: 96.66 kB / 293.2 MB, free: 22.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1389, allocations: 232.2 kB / 293.5 MB, free: 22.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.1393, allocations: 349.4 kB / 293.8 MB, free: 22.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1393, allocations: 0 / 293.8 MB, free: 22.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007039/0.14, allocations: 0.4965 MB / 294.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1401, allocations: 7.719 kB / 294.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1401, allocations: 4.156 kB / 294.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1401, allocations: 7.312 kB / 294.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.1405, allocations: 166.7 kB / 294.5 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.1406, allocations: 11.09 kB / 294.5 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.1408, allocations: 24.88 kB / 294.5 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.1408, allocations: 25.98 kB / 294.5 MB, free: 22.34 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.0001511/0.141, allocations: 190.9 kB / 294.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/0.1411, allocations: 105.9 kB / 294.8 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.1417, allocations: 414.6 kB / 295.2 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1417, allocations: 6.719 kB / 295.2 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1417, allocations: 4.812 kB / 295.2 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1417, allocations: 4.953 kB / 295.2 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.1432, allocations: 1.342 MB / 296.6 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1432, allocations: 5.75 kB / 296.6 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.1436, allocations: 118.2 kB / 296.7 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.1436, allocations: 7.094 kB / 296.7 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.1436, allocations: 12.08 kB / 296.7 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.1436, allocations: 9.438 kB / 296.7 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.1436, allocations: 10.06 kB / 296.7 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.1442, allocations: 0.6351 MB / 297.4 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.1443, allocations: 124.3 kB / 297.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.1444, allocations: 16.61 kB / 297.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.1446, allocations: 22.88 kB / 297.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.1447, allocations: 55.58 kB / 297.6 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.1447, allocations: 22.08 kB / 297.6 MB, free: 21.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004324/0.1451, allocations: 488.7 kB / 298.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1451, allocations: 3.5 kB / 298.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004602/0.1456, allocations: 149.6 kB / 298.2 MB, free: 21.01 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.0008123/0.1464, allocations: 354.5 kB / 298.6 MB, free: 20.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005481/0.147, allocations: 346.4 kB / 298.9 MB, free: 20.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.147, allocations: 1.188 kB / 298.9 MB, free: 20.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1472, allocations: 181 kB / 299.1 MB, free: 20.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.1477, allocations: 150.2 kB / 299.2 MB, free: 20.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1495, allocations: 1.392 MB / 300.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.1496, allocations: 173.2 kB / 300.8 MB, free: 20.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.1499, allocations: 96.7 kB / 300.9 MB, free: 20.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.15, allocations: 57.23 kB / 301 MB, free: 20.05 MB / 266.7 MB Notification: Performance of SimCode: time 3.116e-06/0.15, allocations: 0 / 301 MB, free: 20.05 MB / 266.7 MB Notification: Performance of Templates: time 0.0107/0.1607, allocations: 8.258 MB / 309.2 MB, free: 15.88 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: 3.032851465046406]