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.0009605/0.0009605, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009492/0.0009492, allocations: 160.5 kB / 24.55 MB, free: 16 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.9077/0.9077, allocations: 177 MB / 204.8 MB, free: 5.574 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.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.979e-05, allocations: 5.266 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004637/0.004656, allocations: 4.672 MB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.007242, allocations: 1.967 MB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.007491, allocations: 11.94 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.008073, allocations: 426 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.008706, allocations: 477.3 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.009126, allocations: 323.2 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.009829, allocations: 1.071 MB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.01008, allocations: 203 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.01056, allocations: 0.6043 MB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.01094, allocations: 451 kB / 283.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.01103, allocations: 96 kB / 283.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.01118, allocations: 139.9 kB / 283.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.01131, allocations: 239.2 kB / 283.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.01151, allocations: 315.2 kB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.01209, allocations: 0.724 MB / 284.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01209, allocations: 0 / 284.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01209, allocations: 0 / 284.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.0121, allocations: 4 kB / 284.6 MB, free: 5.723 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.001504/0.0136, allocations: 1.258 MB / 285.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01364, allocations: 8.031 kB / 285.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.01394, allocations: 184.2 kB / 286 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.01445, allocations: 0.5215 MB / 286.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.01449, allocations: 45.69 kB / 286.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.01456, allocations: 60.38 kB / 286.6 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.01516, allocations: 0.5144 MB / 287.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01518, allocations: 3.953 kB / 287.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.01521, allocations: 24 kB / 287.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.01523, allocations: 16 kB / 287.2 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.01563, allocations: 271.6 kB / 287.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.01756, allocations: 2.014 MB / 289.5 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.01795, allocations: 297.5 kB / 289.8 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.01823, allocations: 177 kB / 289.9 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.01827, allocations: 16.5 kB / 290 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.01829, allocations: 41.89 kB / 290 MB, free: 100 kB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.844e-06/0.01829, allocations: 0 / 290 MB, free: 100 kB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1129/0.1312, allocations: 0.9844 MB / 291 MB, free: 24.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1312, allocations: 59.97 kB / 291 MB, free: 24.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.1318, allocations: 0.7422 MB / 291.8 MB, free: 24.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1319, allocations: 36.39 kB / 291.8 MB, free: 24.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.1321, allocations: 480.9 kB / 292.3 MB, free: 23.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1322, allocations: 219.2 kB / 292.5 MB, free: 23.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1323, allocations: 129.7 kB / 292.6 MB, free: 23.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1324, allocations: 0.571 MB / 293.2 MB, free: 23.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1326, allocations: 96.58 kB / 293.3 MB, free: 23.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.1329, allocations: 230.2 kB / 293.5 MB, free: 23.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.1333, allocations: 347.1 kB / 293.9 MB, free: 23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1333, allocations: 3.844 kB / 293.9 MB, free: 23 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006539/0.134, allocations: 0.4946 MB / 294.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.134, allocations: 7.875 kB / 294.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.134, allocations: 2.75 kB / 294.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.134, allocations: 8.062 kB / 294.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.1344, allocations: 163.8 kB / 294.5 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1344, allocations: 10.28 kB / 294.5 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.1347, allocations: 27.17 kB / 294.6 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.1347, allocations: 29.69 kB / 294.6 MB, free: 22.91 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.0001415/0.1348, allocations: 189 kB / 294.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1349, allocations: 101.1 kB / 294.9 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.1355, allocations: 419.8 kB / 295.3 MB, free: 22.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1355, allocations: 5.594 kB / 295.3 MB, free: 22.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1355, allocations: 5.062 kB / 295.3 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1355, allocations: 6.469 kB / 295.3 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.137, allocations: 1.339 MB / 296.7 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.137, allocations: 2.875 kB / 296.7 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.1373, allocations: 123.2 kB / 296.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1373, allocations: 4.312 kB / 296.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.1373, allocations: 15.11 kB / 296.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.1373, allocations: 9.281 kB / 296.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1373, allocations: 6.312 kB / 296.8 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.1379, allocations: 0.6388 MB / 297.4 MB, free: 21.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.1381, allocations: 123.6 kB / 297.6 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.1381, allocations: 15.27 kB / 297.6 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1383, allocations: 26.14 kB / 297.6 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.1384, allocations: 53.48 kB / 297.7 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1384, allocations: 19.25 kB / 297.7 MB, free: 21.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003896/0.1388, allocations: 493.5 kB / 298.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1388, allocations: 1.406 kB / 298.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.1392, allocations: 151.4 kB / 298.3 MB, free: 21.41 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.0007015/0.1399, allocations: 355.8 kB / 298.7 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005141/0.1404, allocations: 340.2 kB / 299 MB, free: 21.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1404, allocations: 1.281 kB / 299 MB, free: 21.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.1406, allocations: 183.1 kB / 299.2 MB, free: 21.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.1412, allocations: 146 kB / 299.3 MB, free: 21.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1428, allocations: 1.39 MB / 300.7 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.143, allocations: 173.6 kB / 300.9 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.1432, allocations: 93.83 kB / 301 MB, free: 20.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1433, allocations: 52.59 kB / 301 MB, free: 20.26 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1433, allocations: 0 / 301 MB, free: 20.26 MB / 266.7 MB Notification: Performance of Templates: time 0.00952/0.1528, allocations: 7.845 MB / 308.9 MB, free: 16.41 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.151329868938774]