Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.ServoMotor_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02738/0.02738, allocations: 5.285 MB / 309.8 MB, free: 3.055 MB / 238.1 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 431.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3454, allocations: 53.33 MB / 484.9 MB, free: 26.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004031/0.3494, allocations: 2.265 MB / 487.2 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3506, allocations: 0.6461 MB / 487.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3507, allocations: 3.219 kB / 487.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.351, allocations: 46.14 kB / 487.9 MB, free: 24.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.3511, allocations: 41.28 kB / 487.9 MB, free: 24.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.3514, allocations: 91.03 kB / 488 MB, free: 24.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.3517, allocations: 207.3 kB / 488.2 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.3519, allocations: 87.12 kB / 488.3 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.352, allocations: 78.67 kB / 488.4 MB, free: 24.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.3522, allocations: 92.36 kB / 488.5 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.3522, allocations: 18.91 kB / 488.5 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.197e-05/0.3523, allocations: 20.31 kB / 488.5 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.3523, allocations: 44.92 kB / 488.5 MB, free: 24.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3524, allocations: 105.8 kB / 488.6 MB, free: 24.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.3527, allocations: 208.4 kB / 488.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3528, allocations: 0 / 488.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3528, allocations: 0 / 488.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3528, allocations: 0 / 488.8 MB, free: 24.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006862/0.3534, allocations: 494.8 kB / 489.3 MB, free: 23.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3535, allocations: 10.36 kB / 489.3 MB, free: 23.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.3535, allocations: 22.34 kB / 489.4 MB, free: 23.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3538, allocations: 226.8 kB / 489.6 MB, free: 23.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3539, allocations: 15.72 kB / 489.6 MB, free: 23.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.3539, allocations: 16.48 kB / 489.6 MB, free: 23.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.3544, allocations: 225.7 kB / 489.8 MB, free: 23.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3544, allocations: 1.5 kB / 489.8 MB, free: 23.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.3544, allocations: 10.22 kB / 489.8 MB, free: 23.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3544, allocations: 4.438 kB / 489.8 MB, free: 23.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.3548, allocations: 138.4 kB / 490 MB, free: 23.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3559, allocations: 0.7669 MB / 490.8 MB, free: 22.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3562, allocations: 102.4 kB / 490.9 MB, free: 22.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3563, allocations: 40.89 kB / 490.9 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.3563, allocations: 1.844 kB / 490.9 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3564, allocations: 43.62 kB / 490.9 MB, free: 22.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3564, allocations: 1.188 kB / 490.9 MB, free: 22.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005318/0.3569, allocations: 143.6 kB / 491.1 MB, free: 22.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.357, allocations: 82.8 kB / 491.2 MB, free: 22.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3571, allocations: 143.8 kB / 491.3 MB, free: 22.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3571, allocations: 30.98 kB / 491.3 MB, free: 22.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.3572, allocations: 148.1 kB / 491.5 MB, free: 22.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3573, allocations: 33.3 kB / 491.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.3573, allocations: 33.41 kB / 491.5 MB, free: 22.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.3574, allocations: 320.8 kB / 491.9 MB, free: 21.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3576, allocations: 50.3 kB / 491.9 MB, free: 21.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3578, allocations: 103.2 kB / 492 MB, free: 21.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.3581, allocations: 137.7 kB / 492.1 MB, free: 21.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3581, allocations: 1 kB / 492.1 MB, free: 21.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003841/0.3585, allocations: 169.2 kB / 492.3 MB, free: 21.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3585, allocations: 5.312 kB / 492.3 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3585, allocations: 2.094 kB / 492.3 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3585, allocations: 2.219 kB / 492.3 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3587, allocations: 31.44 kB / 492.3 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3587, allocations: 8.266 kB / 492.4 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3588, allocations: 17.84 kB / 492.4 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3588, allocations: 9.656 kB / 492.4 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001472/0.359, allocations: 125.2 kB / 492.5 MB, free: 21.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000117/0.3591, allocations: 83.08 kB / 492.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002008/0.3593, allocations: 110.1 kB / 492.7 MB, free: 21.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.3593, allocations: 1.688 kB / 492.7 MB, free: 21.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002813/0.3596, allocations: 145.8 kB / 492.8 MB, free: 21.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3596, allocations: 9.438 kB / 492.8 MB, free: 21.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3596, allocations: 5.094 kB / 492.8 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/0.3596, allocations: 4.344 kB / 492.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3597, allocations: 26.88 kB / 492.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3597, allocations: 7.203 kB / 492.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.3598, allocations: 22.81 kB / 492.9 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.3598, allocations: 4.188 kB / 492.9 MB, free: 21.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (13): * Single equations (assignments): 13 * 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 7.398e-05/0.3599, allocations: 187.5 kB / 493.1 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.3599, allocations: 16.78 kB / 493.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.36, allocations: 16.22 kB / 493.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.36, allocations: 5.344 kB / 493.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.36, allocations: 0.6094 kB / 493.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.36, allocations: 1.125 kB / 493.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3602, allocations: 227.7 kB / 493.4 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3602, allocations: 5.969 kB / 493.4 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3604, allocations: 27.25 kB / 493.4 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3604, allocations: 0 / 493.4 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3604, allocations: 7.078 kB / 493.4 MB, free: 20.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3604, allocations: 0 / 493.4 MB, free: 20.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3604, allocations: 1.062 kB / 493.4 MB, free: 20.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.3609, allocations: 252.7 kB / 493.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3609, allocations: 88.06 kB / 493.7 MB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.361, allocations: 2.078 kB / 493.7 MB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3611, allocations: 15.75 kB / 493.7 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.3611, allocations: 4.734 kB / 493.8 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3611, allocations: 1 kB / 493.8 MB, free: 20.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.434e-05/0.3612, allocations: 114.8 kB / 493.9 MB, free: 20.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 0 / 493.9 MB, free: 20.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.3616, allocations: 77.2 kB / 493.9 MB, free: 20.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (6): * Single equations (assignments): 6 * 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.000107/0.3617, allocations: 97.06 kB / 494 MB, free: 20.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.3622, allocations: 154.1 kB / 494.2 MB, free: 20.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3622, allocations: 0 / 494.2 MB, free: 20.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3624, allocations: 41.81 kB / 494.2 MB, free: 20.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3627, allocations: 24.62 kB / 494.2 MB, free: 20.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008696/0.3636, allocations: 439.9 kB / 494.7 MB, free: 19.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3638, allocations: 0.7204 MB / 495.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.909e-05/0.3639, allocations: 14 kB / 495.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.3639, allocations: 17.58 kB / 495.4 MB, free: 19.06 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3639, allocations: 0 / 495.4 MB, free: 19.06 MB / 366.1 MB Notification: Performance of Templates: time 0.005489/0.3694, allocations: 1.519 MB / 496.9 MB, free: 18.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.900907653383911]