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.001337/0.001337, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.0009647/0.0009647, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.981/0.981, allocations: 177 MB / 205.1 MB, free: 5.484 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.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.944e-05, allocations: 2.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005888/0.005908, allocations: 6.303 MB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.009431, allocations: 2.353 MB / 282 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.009968, allocations: 23.88 kB / 282 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.01077, allocations: 361.6 kB / 282.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.01199, allocations: 0.5585 MB / 282.9 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.01275, allocations: 459.2 kB / 283.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.01386, allocations: 1.611 MB / 285 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.01425, allocations: 330 kB / 285.3 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.01538, allocations: 0.9199 MB / 286.2 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.01586, allocations: 0.5454 MB / 286.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.016, allocations: 156 kB / 286.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.01621, allocations: 180 kB / 287.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.01639, allocations: 346.8 kB / 287.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.01668, allocations: 466.9 kB / 287.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008274/0.01751, allocations: 1.035 MB / 288.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01751, allocations: 0 / 288.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01751, allocations: 0 / 288.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.01752, allocations: 0 / 288.9 MB, free: 1.543 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.1063/0.1239, allocations: 1.574 MB / 290.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1239, allocations: 8 kB / 290.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007155/0.1246, allocations: 241.7 kB / 290.7 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.1257, allocations: 0.6416 MB / 291.4 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.1258, allocations: 77.12 kB / 291.5 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.126, allocations: 95.78 kB / 291.5 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.1273, allocations: 0.7168 MB / 292.3 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.1273, allocations: 6.422 kB / 292.3 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/0.1274, allocations: 40.14 kB / 292.3 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.1274, allocations: 23.5 kB / 292.3 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.1282, allocations: 320.9 kB / 292.6 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.1324, allocations: 2.659 MB / 295.3 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1335, allocations: 404 kB / 295.7 MB, free: 23.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.1338, allocations: 154.2 kB / 295.9 MB, free: 23.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/0.1338, allocations: 17.08 kB / 295.9 MB, free: 23.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1338, allocations: 42.39 kB / 295.9 MB, free: 23.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.364e-06/0.1338, allocations: 0 / 295.9 MB, free: 23.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.00155/0.1354, allocations: 0.832 MB / 296.7 MB, free: 23.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.1354, allocations: 85.44 kB / 296.8 MB, free: 23.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.136, allocations: 0.762 MB / 297.6 MB, free: 22.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1361, allocations: 39.67 kB / 297.6 MB, free: 22.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.1363, allocations: 0.6347 MB / 298.3 MB, free: 22.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1364, allocations: 245.8 kB / 298.5 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.1366, allocations: 172.9 kB / 298.7 MB, free: 22.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1368, allocations: 0.5787 MB / 299.2 MB, free: 21.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.137, allocations: 98.52 kB / 299.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.1372, allocations: 362.9 kB / 299.7 MB, free: 21.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.1376, allocations: 490 kB / 300.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1377, allocations: 6.281 kB / 300.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0007069/0.1384, allocations: 0.6005 MB / 300.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1384, allocations: 7.219 kB / 300.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1384, allocations: 7 kB / 300.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1384, allocations: 9.688 kB / 300.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.1389, allocations: 245.8 kB / 301 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.139, allocations: 14.52 kB / 301.1 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.1393, allocations: 42.02 kB / 301.1 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.1393, allocations: 30.8 kB / 301.1 MB, free: 20.69 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.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.0001544/0.1395, allocations: 210.6 kB / 301.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1396, allocations: 118.8 kB / 301.5 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1398, allocations: 219.5 kB / 301.7 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.1398, allocations: 8.891 kB / 301.7 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1398, allocations: 1.125 kB / 301.7 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1398, allocations: 7.234 kB / 301.7 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1413, allocations: 1.569 MB / 303.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.1413, allocations: 6.875 kB / 303.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.1417, allocations: 180.6 kB / 303.4 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.1417, allocations: 16.98 kB / 303.5 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1417, allocations: 23.62 kB / 303.5 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.1417, allocations: 13.28 kB / 303.5 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.1417, allocations: 10.84 kB / 303.5 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.1423, allocations: 0.9111 MB / 304.4 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/0.1424, allocations: 105.1 kB / 304.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.1424, allocations: 18.81 kB / 304.5 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1427, allocations: 44.97 kB / 304.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.1428, allocations: 65.83 kB / 304.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.1428, allocations: 24.41 kB / 304.7 MB, free: 18.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003185/0.1431, allocations: 462.4 kB / 305.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1431, allocations: 1.062 kB / 305.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005288/0.1436, allocations: 208.3 kB / 305.3 MB, free: 18.3 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.0007094/0.1443, allocations: 368.1 kB / 305.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.1448, allocations: 395.3 kB / 306.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1448, allocations: 384 / 306.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1449, allocations: 184.1 kB / 306.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.1456, allocations: 225.4 kB / 306.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1473, allocations: 1.786 MB / 308.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.1474, allocations: 190.9 kB / 308.4 MB, free: 16.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.1477, allocations: 117.5 kB / 308.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.148, allocations: 271.4 kB / 308.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.148, allocations: 0 / 308.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of Templates: time 0.01304/0.161, allocations: 11.55 MB / 320.4 MB, free: 5.07 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: 3.0668604308739305]