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.00138/0.00138, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.001559/0.001559, allocations: 156.5 kB / 24.55 MB, free: 12 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.959/0.959, 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.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.253e-06/1.253e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.025e-05, allocations: 9.203 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006169/0.006189, allocations: 6.451 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.009042, allocations: 2.368 MB / 281.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.009445, allocations: 23.88 kB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008679/0.01031, allocations: 357.6 kB / 282.1 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008277/0.01114, allocations: 0.5624 MB / 282.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.01173, allocations: 451.1 kB / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.01278, allocations: 1.615 MB / 284.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.01316, allocations: 334 kB / 285 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.01391, allocations: 0.9044 MB / 286 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.01447, allocations: 0.5571 MB / 286.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.01463, allocations: 164 kB / 286.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.01485, allocations: 184 kB / 286.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.01506, allocations: 342.9 kB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.0154, allocations: 482.8 kB / 287.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008627/0.01626, allocations: 1.059 MB / 288.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01626, allocations: 0 / 288.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01626, allocations: 0 / 288.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.01627, allocations: 4 kB / 288.7 MB, free: 1.539 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.1209/0.1372, allocations: 1.574 MB / 290.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1373, allocations: 9.25 kB / 290.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.1378, allocations: 249 kB / 290.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.1387, allocations: 0.6752 MB / 291.2 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.1388, allocations: 77.22 kB / 291.3 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1389, allocations: 97.64 kB / 291.4 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1401, allocations: 0.7732 MB / 292.2 MB, free: 24.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.1401, allocations: 6.438 kB / 292.2 MB, free: 24.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.1402, allocations: 38.22 kB / 292.2 MB, free: 24.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1402, allocations: 24.77 kB / 292.2 MB, free: 24.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.1409, allocations: 410.1 kB / 292.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.144, allocations: 2.79 MB / 295.4 MB, free: 23.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.145, allocations: 430.3 kB / 295.8 MB, free: 23.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.1452, allocations: 174.4 kB / 296 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1453, allocations: 15.84 kB / 296 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1453, allocations: 43.58 kB / 296.1 MB, free: 23.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.633e-06/0.1453, allocations: 0 / 296.1 MB, free: 23.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.00173/0.147, allocations: 1.18 MB / 297.2 MB, free: 22.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.1471, allocations: 85.44 kB / 297.3 MB, free: 22.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.1478, allocations: 0.7886 MB / 298.1 MB, free: 22.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1478, allocations: 41.23 kB / 298.2 MB, free: 22.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.1481, allocations: 0.6146 MB / 298.8 MB, free: 21.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1482, allocations: 241.8 kB / 299 MB, free: 21.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.1484, allocations: 170 kB / 299.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1485, allocations: 0.5685 MB / 299.7 MB, free: 20.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.1488, allocations: 125.7 kB / 299.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.1491, allocations: 386.5 kB / 300.2 MB, free: 20.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.1497, allocations: 0.5298 MB / 300.8 MB, free: 20.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.1497, allocations: 5.812 kB / 300.8 MB, free: 20.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0008805/0.1506, allocations: 0.659 MB / 301.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1506, allocations: 8.062 kB / 301.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1506, allocations: 6.5 kB / 301.5 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.1506, allocations: 12.62 kB / 301.5 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.1512, allocations: 246.6 kB / 301.7 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1512, allocations: 14.06 kB / 301.7 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.1515, allocations: 42.03 kB / 301.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.1516, allocations: 38.09 kB / 301.8 MB, free: 19.88 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.000162/0.1517, allocations: 216.6 kB / 302 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.1518, allocations: 115.6 kB / 302.1 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.1521, allocations: 240.1 kB / 302.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1522, allocations: 7.031 kB / 302.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1522, allocations: 1.375 kB / 302.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1522, allocations: 3.516 kB / 302.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.1539, allocations: 1.714 MB / 304.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1539, allocations: 9.625 kB / 304.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.1543, allocations: 177.5 kB / 304.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.1543, allocations: 9.156 kB / 304.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.1543, allocations: 27.25 kB / 304.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.1544, allocations: 20.08 kB / 304.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1544, allocations: 11.38 kB / 304.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.155, allocations: 0.9424 MB / 305.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.1551, allocations: 100.6 kB / 305.4 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.1551, allocations: 30.3 kB / 305.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.1554, allocations: 35.3 kB / 305.4 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.1555, allocations: 64.64 kB / 305.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.1555, allocations: 28.61 kB / 305.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003864/0.1559, allocations: 0.5005 MB / 306 MB, free: 17.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1559, allocations: 0 / 306 MB, free: 17.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004632/0.1563, allocations: 206.9 kB / 306.2 MB, free: 17.23 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.0006858/0.157, allocations: 372 kB / 306.6 MB, free: 17.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005222/0.1576, allocations: 433.5 kB / 307 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1576, allocations: 0 / 307 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.1578, allocations: 195.2 kB / 307.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.1584, allocations: 227.6 kB / 307.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1602, allocations: 1.794 MB / 309.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.1603, allocations: 185.4 kB / 309.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.1606, allocations: 116.2 kB / 309.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.1607, allocations: 68.48 kB / 309.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1607, allocations: 0 / 309.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Templates: time 0.01188/0.1726, allocations: 10.69 MB / 320.3 MB, free: 4.43 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.283576382789761]