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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009078/0.0009078, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9164/0.9164, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.0168/0.0168, allocations: 4.098 MB / 264.4 MB, free: 8.93 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.364e-06/2.364e-06, allocations: 0 / 282.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.76e-05, allocations: 6.312 kB / 282.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.00404/0.004067, allocations: 2.272 MB / 284.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.005379, allocations: 0.6659 MB / 285 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.005494, allocations: 4 kB / 285 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.005717, allocations: 43.64 kB / 285.1 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.005836, allocations: 47.5 kB / 285.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.006117, allocations: 99.81 kB / 285.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.006427, allocations: 215.7 kB / 285.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.006618, allocations: 90.36 kB / 285.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.006775, allocations: 123.8 kB / 285.6 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.006869, allocations: 63.86 kB / 285.7 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.006898, allocations: 24 kB / 285.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.006918, allocations: 23.94 kB / 285.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.006949, allocations: 39.89 kB / 285.8 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.006997, allocations: 63.84 kB / 285.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.007177, allocations: 151.4 kB / 286 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.007179, allocations: 4 kB / 286 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00718, allocations: 0 / 286 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.007183, allocations: 0 / 286 MB, free: 3.273 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0003668/0.00755, allocations: 380.1 kB / 286.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.007581, allocations: 8.031 kB / 286.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.007619, allocations: 28.92 kB / 286.4 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.007774, allocations: 166 kB / 286.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.007785, allocations: 8.375 kB / 286.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.007815, allocations: 28.38 kB / 286.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.007994, allocations: 194.2 kB / 286.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.008004, allocations: 192 / 286.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.008016, allocations: 4.375 kB / 286.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.008022, allocations: 11.94 kB / 286.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/0.00808, allocations: 43.97 kB / 286.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.008594, allocations: 0.5041 MB / 287.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.04e-05/0.008675, allocations: 58.52 kB / 287.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.008694, allocations: 12.98 kB / 287.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.008707, allocations: 3.938 kB / 287.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.008724, allocations: 34.56 kB / 287.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.008725, allocations: 3.938 kB / 287.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001067/0.008832, allocations: 57.67 kB / 287.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.008866, allocations: 81.11 kB / 287.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.008973, allocations: 146.5 kB / 287.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.008983, allocations: 25.7 kB / 287.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.009036, allocations: 152.1 kB / 287.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.00905, allocations: 23.78 kB / 287.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.009083, allocations: 37.69 kB / 288 MB, free: 1.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.009152, allocations: 314.8 kB / 288.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.009173, allocations: 20.78 kB / 288.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.673e-05/0.00922, allocations: 88.55 kB / 288.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.009276, allocations: 69.94 kB / 288.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009278, allocations: 4.031 kB / 288.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001329/0.009411, allocations: 93.45 kB / 288.5 MB, free: 472 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.009421, allocations: 8 kB / 288.6 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.009426, allocations: 0 / 288.6 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.009438, allocations: 4 kB / 288.6 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.009516, allocations: 23.98 kB / 288.6 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.00952, allocations: 7.938 kB / 288.6 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.009566, allocations: 24.06 kB / 288.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.009571, allocations: 4 kB / 288.6 MB, free: 400 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.091e-05/0.009612, allocations: 92.14 kB / 288.7 MB, free: 304 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.256e-05/0.009655, allocations: 92.17 kB / 288.8 MB, free: 184 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.577e-05/0.009701, allocations: 78.11 kB / 288.9 MB, free: 84 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.91e-07/0.009701, allocations: 0 / 288.9 MB, free: 84 kB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.1043/0.114, allocations: 83.27 kB / 289 MB, free: 21.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.114, allocations: 8.891 kB / 289 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.114, allocations: 2.75 kB / 289 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.1141, allocations: 4.438 kB / 289 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.1141, allocations: 26.59 kB / 289 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.1141, allocations: 3.25 kB / 289 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.1142, allocations: 17.58 kB / 289 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1142, allocations: 9.078 kB / 289 MB, free: 21.59 MB / 266.7 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 5.513e-05/0.1142, allocations: 184.2 kB / 289.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1143, allocations: 9.812 kB / 289.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.1143, allocations: 11.88 kB / 289.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1143, allocations: 1.234 kB / 289.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1143, allocations: 4.25 kB / 289.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1143, allocations: 0 / 289.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.1144, allocations: 101.2 kB / 289.3 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1144, allocations: 3.562 kB / 289.3 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.1145, allocations: 22.86 kB / 289.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1145, allocations: 1.844 kB / 289.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1145, allocations: 1.25 kB / 289.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1145, allocations: 2.031 kB / 289.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1145, allocations: 1.5 kB / 289.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1146, allocations: 169.1 kB / 289.5 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.1147, allocations: 10.47 kB / 289.5 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1147, allocations: 3.219 kB / 289.5 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.1147, allocations: 8 kB / 289.5 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.1147, allocations: 6.766 kB / 289.6 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1147, allocations: 1.812 kB / 289.6 MB, free: 21.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.905e-05/0.1148, allocations: 29.38 kB / 289.6 MB, free: 21.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1148, allocations: 1.906 kB / 289.6 MB, free: 21.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.115, allocations: 77.72 kB / 289.7 MB, free: 21.2 MB / 266.7 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 6.515e-05/0.115, allocations: 77.62 kB / 289.7 MB, free: 21.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.1152, allocations: 83.88 kB / 289.8 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1152, allocations: 2.688 kB / 289.8 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.1152, allocations: 20.75 kB / 289.8 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.1153, allocations: 29 kB / 289.9 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.1159, allocations: 350.8 kB / 290.2 MB, free: 20.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.973e-05/0.1159, allocations: 70.11 kB / 290.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.57e-05/0.116, allocations: 11.08 kB / 290.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.116, allocations: 73.98 kB / 290.4 MB, free: 20.8 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.116, allocations: 3.594 kB / 290.4 MB, free: 20.8 MB / 266.7 MB Notification: Performance of Templates: time 0.003376/0.1194, allocations: 1.643 MB / 292 MB, free: 20.69 MB / 266.7 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=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4398958766832948]