Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.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.001813/0.001813, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002022/0.002022, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.0553/0.0553, allocations: 5.076 MB / 264.6 MB, free: 8.109 MB / 250.7 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 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(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 335.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.444e-05, allocations: 2.312 kB / 335.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004422/0.004456, allocations: 2.498 MB / 337.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.005868, allocations: 0.6933 MB / 338.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.006002, allocations: 7.938 kB / 338.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.006255, allocations: 43.58 kB / 338.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.006411, allocations: 55.44 kB / 338.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.00673, allocations: 103.8 kB / 338.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.007024, allocations: 255.5 kB / 339.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.007277, allocations: 96.58 kB / 339.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.007468, allocations: 143.7 kB / 339.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.007629, allocations: 83.78 kB / 339.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.007676, allocations: 20 kB / 339.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.007722, allocations: 24 kB / 339.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.007772, allocations: 55.77 kB / 339.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.007866, allocations: 75.83 kB / 339.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.008195, allocations: 263.2 kB / 339.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.008198, allocations: 0 / 339.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0082, allocations: 0 / 339.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.008206, allocations: 0 / 339.8 MB, free: 9.016 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007701/0.008976, allocations: 0.5621 MB / 340.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.009013, allocations: 8.031 kB / 340.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.009114, allocations: 44.8 kB / 340.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.009407, allocations: 188.2 kB / 340.6 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.00943, allocations: 16.88 kB / 340.7 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.009488, allocations: 20.38 kB / 340.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.01003, allocations: 282.3 kB / 341 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.01006, allocations: 192 / 341 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.01009, allocations: 16.38 kB / 341 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.0101, allocations: 7.938 kB / 341 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.01057, allocations: 137.9 kB / 341.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.01187, allocations: 0.8436 MB / 342 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.01228, allocations: 106.9 kB / 342.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.01245, allocations: 43.67 kB / 342.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.01247, allocations: 0 / 342.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.01249, allocations: 41.33 kB / 342.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.01249, allocations: 0 / 342.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005834/0.01307, allocations: 157.7 kB / 342.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.0131, allocations: 77.11 kB / 342.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01329, allocations: 240.7 kB / 342.6 MB, free: 6.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.01331, allocations: 33.7 kB / 342.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.0134, allocations: 218.7 kB / 342.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.01343, allocations: 43.72 kB / 342.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.0135, allocations: 35.38 kB / 342.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.01358, allocations: 0.5001 MB / 343.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.01375, allocations: 51.66 kB / 343.5 MB, free: 5.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.01396, allocations: 147.1 kB / 343.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.01432, allocations: 157.7 kB / 343.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01433, allocations: 0 / 343.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004582/0.01478, allocations: 181.4 kB / 344 MB, free: 4.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.0148, allocations: 7.938 kB / 344 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01481, allocations: 7.938 kB / 344 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01483, allocations: 0 / 344 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.01503, allocations: 31.98 kB / 344 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.01504, allocations: 4 kB / 344 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.0152, allocations: 19.88 kB / 344 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01522, allocations: 8 kB / 344 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001922/0.01541, allocations: 175 kB / 344.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001529/0.01556, allocations: 143.1 kB / 344.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002569/0.01582, allocations: 138.2 kB / 344.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.01582, allocations: 7.938 kB / 344.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003748/0.0162, allocations: 157.4 kB / 344.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.01621, allocations: 7.938 kB / 344.6 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01621, allocations: 7.938 kB / 344.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.01622, allocations: 4 kB / 344.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.01639, allocations: 27.98 kB / 344.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01639, allocations: 4 kB / 344.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.01653, allocations: 19.92 kB / 344.7 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01654, allocations: 8.188 kB / 344.7 MB, free: 3.738 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 (16): * Single equations (assignments): 16 * 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 8.124e-05/0.01662, allocations: 276 kB / 345 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.01668, allocations: 19.84 kB / 345 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.01673, allocations: 21.45 kB / 345 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01673, allocations: 0 / 345 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01674, allocations: 0 / 345 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01674, allocations: 0 / 345 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.01704, allocations: 212.6 kB / 345.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01704, allocations: 0 / 345.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.01725, allocations: 23.98 kB / 345.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01725, allocations: 4 kB / 345.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.01727, allocations: 7.938 kB / 345.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01727, allocations: 0 / 345.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01727, allocations: 3.938 kB / 345.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.01783, allocations: 315.7 kB / 345.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.01786, allocations: 11.91 kB / 345.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.01789, allocations: 11.92 kB / 345.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.01806, allocations: 15.97 kB / 345.6 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.01812, allocations: 7.984 kB / 345.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01813, allocations: 0 / 345.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.01824, allocations: 176.8 kB / 345.8 MB, free: 2.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01824, allocations: 0 / 345.8 MB, free: 2.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.01885, allocations: 87.67 kB / 345.9 MB, free: 2.508 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 (9): * Single equations (assignments): 9 * 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.0001052/0.01896, allocations: 95.25 kB / 346 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.01955, allocations: 189.9 kB / 346.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01955, allocations: 0 / 346.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.01971, allocations: 55.59 kB / 346.2 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.02024, allocations: 22.95 kB / 346.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.02117, allocations: 450.7 kB / 346.7 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.02127, allocations: 121.1 kB / 346.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.02137, allocations: 16.64 kB / 346.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.02143, allocations: 16.5 kB / 346.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02143, allocations: 0 / 346.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of Templates: time 0.00679/0.02822, allocations: 1.601 MB / 348.4 MB, free: 15.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & ./StewartPlatform_StewartPlatform.Tests.ServoMotor_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.567133411997929]