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.0008792/0.0008792, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009316/0.0009316, allocations: 181 kB / 23.36 MB, free: 1.133 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.8602/0.8602, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.02054/0.02054, allocations: 5.081 MB / 265.3 MB, free: 7.965 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 1.283e-06/1.283e-06, allocations: 0 / 283.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.41e-05, allocations: 10.25 kB / 283.4 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002445/0.002459, allocations: 2.526 MB / 285.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000808/0.003267, allocations: 0.7049 MB / 286.6 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.003352, allocations: 7.938 kB / 286.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.003514, allocations: 47.58 kB / 286.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.003592, allocations: 63.42 kB / 286.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.003779, allocations: 103.8 kB / 286.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.003967, allocations: 251.5 kB / 287.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004116, allocations: 95.59 kB / 287.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.004229, allocations: 151.6 kB / 287.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.004326, allocations: 75.77 kB / 287.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.004355, allocations: 24 kB / 287.4 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.004376, allocations: 24 kB / 287.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.004409, allocations: 51.83 kB / 287.5 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.004459, allocations: 75.84 kB / 287.5 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.004628, allocations: 175.3 kB / 287.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.004629, allocations: 0 / 287.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00463, allocations: 0 / 287.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.004633, allocations: 0 / 287.7 MB, free: 1.559 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.00039/0.005023, allocations: 431.9 kB / 288.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.005051, allocations: 12.02 kB / 288.2 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.005089, allocations: 28.92 kB / 288.2 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.005249, allocations: 185.4 kB / 288.4 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.005262, allocations: 16.88 kB / 288.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.005291, allocations: 24.38 kB / 288.4 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.005486, allocations: 209.8 kB / 288.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.005498, allocations: 4.188 kB / 288.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.005511, allocations: 4.375 kB / 288.6 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.00552, allocations: 11.94 kB / 288.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/0.005593, allocations: 51.47 kB / 288.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09622/0.1018, allocations: 0.5518 MB / 289.2 MB, free: 21.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.102, allocations: 58.5 kB / 289.3 MB, free: 21.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.102, allocations: 19.2 kB / 289.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1021, allocations: 0 / 289.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.1021, allocations: 37.16 kB / 289.3 MB, free: 21.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1021, allocations: 2.328 kB / 289.3 MB, free: 21.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001366/0.1022, allocations: 74.77 kB / 289.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.1022, allocations: 83.17 kB / 289.5 MB, free: 21.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.1023, allocations: 158.8 kB / 289.7 MB, free: 21.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.1023, allocations: 29.3 kB / 289.7 MB, free: 21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.1024, allocations: 161.3 kB / 289.8 MB, free: 20.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.1024, allocations: 34.94 kB / 289.9 MB, free: 20.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1024, allocations: 35.53 kB / 289.9 MB, free: 20.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.1025, allocations: 327.7 kB / 290.2 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.1025, allocations: 16.91 kB / 290.2 MB, free: 20.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.1025, allocations: 92.78 kB / 290.3 MB, free: 20.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.1026, allocations: 82.31 kB / 290.4 MB, free: 20.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1026, allocations: 2.094 kB / 290.4 MB, free: 20.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.683e-05/0.1027, allocations: 97.97 kB / 290.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1027, allocations: 7.125 kB / 290.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1027, allocations: 3.719 kB / 290.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1027, allocations: 1.344 kB / 290.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.1028, allocations: 38.06 kB / 290.6 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1028, allocations: 9.172 kB / 290.6 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.1029, allocations: 22.27 kB / 290.6 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.1029, allocations: 7.328 kB / 290.6 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.768e-05/0.1029, allocations: 94.53 kB / 290.7 MB, free: 20.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.222e-05/0.103, allocations: 94.39 kB / 290.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.702e-05/0.103, allocations: 77.94 kB / 290.9 MB, free: 20.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-07/0.103, allocations: 1.938 kB / 290.9 MB, free: 20.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 7.939e-05/0.1031, allocations: 99.48 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.1031, allocations: 6.578 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.1031, allocations: 1.781 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-06/0.1031, allocations: 2.125 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.1032, allocations: 34.53 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.1032, allocations: 8.016 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.1032, allocations: 24.41 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1032, allocations: 4.688 kB / 291 MB, free: 20.11 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 4.156e-05/0.1033, allocations: 188.7 kB / 291.2 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.1033, allocations: 11.84 kB / 291.2 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.1033, allocations: 18.17 kB / 291.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1033, allocations: 7.125 kB / 291.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1033, allocations: 0 / 291.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1033, allocations: 1.641 kB / 291.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1035, allocations: 116.1 kB / 291.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1035, allocations: 0.7969 kB / 291.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.1035, allocations: 23.84 kB / 291.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1035, allocations: 2.672 kB / 291.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1035, allocations: 0.9375 kB / 291.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1035, allocations: 5.125 kB / 291.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1035, allocations: 0.75 kB / 291.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.1037, allocations: 183.2 kB / 291.6 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.1037, allocations: 12.78 kB / 291.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1037, allocations: 4.562 kB / 291.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.1037, allocations: 11.72 kB / 291.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.1038, allocations: 7.812 kB / 291.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1038, allocations: 5.656 kB / 291.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.151e-05/0.1038, allocations: 41.12 kB / 291.7 MB, free: 19.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1038, allocations: 0 / 291.7 MB, free: 19.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.104, allocations: 89.75 kB / 291.8 MB, free: 19.68 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 6.451e-05/0.1041, allocations: 75.77 kB / 291.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1042, allocations: 103.2 kB / 291.9 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1042, allocations: 2.156 kB / 291.9 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.1042, allocations: 24.84 kB / 292 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1044, allocations: 24.31 kB / 292 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.105, allocations: 412.2 kB / 292.4 MB, free: 19.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.105, allocations: 78.09 kB / 292.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.105, allocations: 20.06 kB / 292.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.1051, allocations: 77.75 kB / 292.6 MB, free: 19.24 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1051, allocations: 0 / 292.6 MB, free: 19.24 MB / 266.7 MB Notification: Performance of Templates: time 0.003474/0.1086, allocations: 1.683 MB / 294.2 MB, free: 19.11 MB / 266.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: 2.373553367331624]