Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001004/0.001004, allocations: 91.5 kB / 21.19 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.001025/0.001025, allocations: 156.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.9385/0.9385, allocations: 177 MB / 204.9 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.792e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005452/0.00547, allocations: 6.463 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.00877, allocations: 2.376 MB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.009242, allocations: 23.88 kB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.00988, allocations: 349.7 kB / 282.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.0109, allocations: 0.5585 MB / 282.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.01158, allocations: 459.1 kB / 283.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.01288, allocations: 1.615 MB / 284.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.01328, allocations: 330 kB / 285.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009097/0.01419, allocations: 0.9122 MB / 286 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.01471, allocations: 0.5454 MB / 286.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.01485, allocations: 156 kB / 286.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.01506, allocations: 192 kB / 286.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.01524, allocations: 330.8 kB / 287.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.01556, allocations: 470.9 kB / 287.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.01637, allocations: 1.036 MB / 288.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01637, allocations: 3.938 kB / 288.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01637, allocations: 0 / 288.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.01639, allocations: 0 / 288.7 MB, free: 1.598 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1081/0.1244, allocations: 1.558 MB / 290.2 MB, free: 24.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1245, allocations: 10.39 kB / 290.2 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005848/0.1251, allocations: 237.8 kB / 290.5 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.126, allocations: 0.6494 MB / 291.1 MB, free: 24.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.126, allocations: 76.69 kB / 291.2 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1261, allocations: 103.9 kB / 291.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.1273, allocations: 0.7721 MB / 292.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.1273, allocations: 6.094 kB / 292.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.1274, allocations: 38.97 kB / 292.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.1274, allocations: 27.84 kB / 292.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.1281, allocations: 407.3 kB / 292.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.1312, allocations: 2.787 MB / 295.3 MB, free: 23.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/0.1321, allocations: 429.7 kB / 295.8 MB, free: 23.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.1324, allocations: 173.2 kB / 295.9 MB, free: 23.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.1324, allocations: 21.11 kB / 295.9 MB, free: 23.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1325, allocations: 42.38 kB / 296 MB, free: 23.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.194e-06/0.1325, allocations: 2.312 kB / 296 MB, free: 23.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001765/0.1342, allocations: 1.168 MB / 297.2 MB, free: 22.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.1342, allocations: 90.92 kB / 297.2 MB, free: 22.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007249/0.135, allocations: 0.7901 MB / 298 MB, free: 22.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.135, allocations: 39.95 kB / 298.1 MB, free: 22.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.1353, allocations: 0.6172 MB / 298.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.1354, allocations: 243.3 kB / 298.9 MB, free: 21.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.1355, allocations: 168.2 kB / 299.1 MB, free: 21.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1357, allocations: 0.573 MB / 299.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1359, allocations: 125.7 kB / 299.8 MB, free: 20.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.1362, allocations: 387.8 kB / 300.2 MB, free: 20.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.1368, allocations: 0.5284 MB / 300.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1368, allocations: 3.547 kB / 300.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0008594/0.1376, allocations: 0.6579 MB / 301.4 MB, free: 20.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1377, allocations: 8.469 kB / 301.4 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1377, allocations: 5.406 kB / 301.4 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1377, allocations: 9.984 kB / 301.4 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.1382, allocations: 246 kB / 301.6 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.1383, allocations: 18.3 kB / 301.6 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.1386, allocations: 47 kB / 301.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.1386, allocations: 36.75 kB / 301.7 MB, free: 19.97 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0001625/0.1388, allocations: 207.5 kB / 301.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1389, allocations: 113.6 kB / 302 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1392, allocations: 235.6 kB / 302.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1392, allocations: 7.375 kB / 302.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.1392, allocations: 3.938 kB / 302.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.1392, allocations: 5.031 kB / 302.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.141, allocations: 1.724 MB / 304 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.141, allocations: 5.5 kB / 304 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.1414, allocations: 175.9 kB / 304.2 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.1414, allocations: 13.47 kB / 304.2 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.1414, allocations: 23.38 kB / 304.2 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.1414, allocations: 16.19 kB / 304.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1414, allocations: 8.5 kB / 304.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.1421, allocations: 0.9428 MB / 305.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.1422, allocations: 106 kB / 305.3 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.1423, allocations: 24.81 kB / 305.3 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.1425, allocations: 41.91 kB / 305.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.1426, allocations: 69.17 kB / 305.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.1426, allocations: 29.55 kB / 305.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003863/0.143, allocations: 0.4886 MB / 305.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.143, allocations: 0 / 305.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004927/0.1435, allocations: 209.4 kB / 306.1 MB, free: 17.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0009318/0.1445, allocations: 371.8 kB / 306.5 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.145, allocations: 432.8 kB / 306.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.145, allocations: 8.062 kB / 306.9 MB, free: 17.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.1453, allocations: 189 kB / 307.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.1459, allocations: 223.3 kB / 307.3 MB, free: 16.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1477, allocations: 1.796 MB / 309.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.958e-05/0.1478, allocations: 198.8 kB / 309.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.1481, allocations: 117.1 kB / 309.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.1482, allocations: 72.48 kB / 309.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1482, allocations: 0 / 309.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01222/0.1604, allocations: 11.25 MB / 320.8 MB, free: 4.043 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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.998116100206971]