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.001285/0.001285, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001419/0.001419, allocations: 166.2 kB / 24.99 MB, free: 8.219 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 1.09/1.09, allocations: 177 MB / 205.2 MB, free: 5.52 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 2.244e-06/2.244e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.624e-05, allocations: 5.406 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004487/0.004513, allocations: 4.649 MB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.007099, allocations: 1.963 MB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.0074, allocations: 15.94 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.00801, allocations: 422.1 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.008768, allocations: 473.3 kB / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.009302, allocations: 335.3 kB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008992/0.0102, allocations: 1.067 MB / 281.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.01051, allocations: 207 kB / 282.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.01124, allocations: 0.5965 MB / 282.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.01165, allocations: 462.9 kB / 283.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.63e-05/0.01174, allocations: 100 kB / 283.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.01191, allocations: 131.9 kB / 283.4 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.01206, allocations: 243.2 kB / 283.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.01228, allocations: 303.2 kB / 283.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.01296, allocations: 0.7318 MB / 284.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01296, allocations: 0 / 284.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01296, allocations: 0 / 284.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.01297, allocations: 0 / 284.6 MB, free: 6.008 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.001477/0.01445, allocations: 1.262 MB / 285.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.01449, allocations: 8.031 kB / 285.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.01483, allocations: 184.2 kB / 286.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.01543, allocations: 0.5137 MB / 286.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.01548, allocations: 49.69 kB / 286.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.01555, allocations: 60.38 kB / 286.7 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.01624, allocations: 0.5144 MB / 287.2 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.01626, allocations: 3.953 kB / 287.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.0163, allocations: 20 kB / 287.2 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.01632, allocations: 19.94 kB / 287.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.01676, allocations: 267.6 kB / 287.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.0189, allocations: 2.018 MB / 289.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.01945, allocations: 289.6 kB / 289.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.01976, allocations: 189 kB / 290 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.0198, allocations: 12.44 kB / 290 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.01983, allocations: 45.83 kB / 290.1 MB, free: 388 kB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.545e-06/0.01983, allocations: 0 / 290.1 MB, free: 388 kB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1042/0.124, allocations: 0.9861 MB / 291 MB, free: 28.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.124, allocations: 60.44 kB / 291.1 MB, free: 28.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.1247, allocations: 0.7367 MB / 291.8 MB, free: 28.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1248, allocations: 35.39 kB / 291.9 MB, free: 28.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.125, allocations: 478.7 kB / 292.3 MB, free: 27.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1251, allocations: 219.2 kB / 292.6 MB, free: 27.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1253, allocations: 131.1 kB / 292.7 MB, free: 27.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1254, allocations: 0.5686 MB / 293.3 MB, free: 27.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.1256, allocations: 98.78 kB / 293.4 MB, free: 27.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.1258, allocations: 229.4 kB / 293.6 MB, free: 27.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1263, allocations: 351.3 kB / 293.9 MB, free: 26.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1263, allocations: 4.875 kB / 293.9 MB, free: 26.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007029/0.127, allocations: 0.4962 MB / 294.4 MB, free: 26.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.127, allocations: 7.375 kB / 294.4 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.127, allocations: 2.688 kB / 294.4 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.127, allocations: 6.5 kB / 294.4 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.1275, allocations: 162.5 kB / 294.6 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1275, allocations: 6.641 kB / 294.6 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.1278, allocations: 28.45 kB / 294.6 MB, free: 26.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.1278, allocations: 24.17 kB / 294.7 MB, free: 26.67 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.0001522/0.1279, allocations: 197.4 kB / 294.8 MB, free: 26.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.128, allocations: 100.9 kB / 294.9 MB, free: 26.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.1286, allocations: 419.2 kB / 295.4 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.1286, allocations: 6.469 kB / 295.4 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1286, allocations: 0.75 kB / 295.4 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1287, allocations: 4.484 kB / 295.4 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1302, allocations: 1.347 MB / 296.7 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1302, allocations: 3.438 kB / 296.7 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.1305, allocations: 121.1 kB / 296.8 MB, free: 25.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1305, allocations: 5.266 kB / 296.8 MB, free: 25.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1306, allocations: 19.08 kB / 296.9 MB, free: 25.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.1306, allocations: 6.141 kB / 296.9 MB, free: 25.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1306, allocations: 6.031 kB / 296.9 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.1311, allocations: 0.6385 MB / 297.5 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1313, allocations: 123.8 kB / 297.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.1313, allocations: 14.05 kB / 297.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1315, allocations: 23.75 kB / 297.7 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.1316, allocations: 51.94 kB / 297.7 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.1316, allocations: 18.92 kB / 297.7 MB, free: 24.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004088/0.132, allocations: 495.5 kB / 298.2 MB, free: 24.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.132, allocations: 1.188 kB / 298.2 MB, free: 24.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000435/0.1325, allocations: 150.7 kB / 298.4 MB, free: 24.63 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.0008192/0.1333, allocations: 355.5 kB / 298.7 MB, free: 24.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.1338, allocations: 340.9 kB / 299 MB, free: 24.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1338, allocations: 1.375 kB / 299 MB, free: 24.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.1341, allocations: 185.5 kB / 299.2 MB, free: 24.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.1346, allocations: 134 kB / 299.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1364, allocations: 1.393 MB / 300.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1365, allocations: 173.6 kB / 300.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.1368, allocations: 94.97 kB / 301 MB, free: 23.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.1369, allocations: 52.17 kB / 301.1 MB, free: 23.43 MB / 266.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1369, allocations: 0 / 301.1 MB, free: 23.43 MB / 266.7 MB Notification: Performance of Templates: time 0.01062/0.1475, allocations: 7.839 MB / 308.9 MB, free: 18.73 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.20493779797107]