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.0008291/0.0008291, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002093, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007894/0.0007894, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.001925, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8995/0.8995, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07699/0.9765, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.01939/0.01939, allocations: 5.065 MB / 249.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003514/0.0229, allocations: 1.916 MB / 251.1 MB, free: 7.914 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.064e-06/2.064e-06, allocations: 0 / 252.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.594e-05, allocations: 2.312 kB / 252.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.00434/0.004366, allocations: 2.586 MB / 255.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.005951, allocations: 0.6971 MB / 255.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.006133, allocations: 7.938 kB / 255.8 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.006358, allocations: 47.58 kB / 255.8 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.006532, allocations: 55.44 kB / 255.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.006868, allocations: 111.7 kB / 256 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.007235, allocations: 247.5 kB / 256.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.007498, allocations: 103.1 kB / 256.3 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.007768, allocations: 155.7 kB / 256.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.007943, allocations: 75.78 kB / 256.6 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.008, allocations: 24 kB / 256.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.008041, allocations: 24 kB / 256.6 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.008092, allocations: 51.81 kB / 256.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.008172, allocations: 63.88 kB / 256.7 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.008486, allocations: 163.3 kB / 256.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.008502, allocations: 0 / 256.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008503, allocations: 0 / 256.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.008523, allocations: 0 / 256.9 MB, free: 2.113 MB / 250.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.0007663/0.009289, allocations: 464 kB / 257.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.009337, allocations: 15.98 kB / 257.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.009418, allocations: 36.91 kB / 257.4 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.009706, allocations: 177.4 kB / 257.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.009728, allocations: 16.88 kB / 257.6 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.00978, allocations: 28.31 kB / 257.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.01012, allocations: 209.9 kB / 257.8 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.01015, allocations: 8.156 kB / 257.8 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.01017, allocations: 8.375 kB / 257.8 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.01019, allocations: 11.94 kB / 257.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.01032, allocations: 55.41 kB / 257.9 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009595/0.01128, allocations: 0.5531 MB / 258.4 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.01152, allocations: 62.53 kB / 258.5 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.01156, allocations: 20.86 kB / 258.5 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.01158, allocations: 4 kB / 258.5 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.01161, allocations: 30.56 kB / 258.6 MB, free: 320 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.01161, allocations: 0 / 258.6 MB, free: 320 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001941/0.01181, allocations: 82 kB / 258.6 MB, free: 232 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.01184, allocations: 59.41 kB / 258.7 MB, free: 160 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.01198, allocations: 155.4 kB / 258.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.012, allocations: 25.7 kB / 258.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.01208, allocations: 164 kB / 259 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.01211, allocations: 35.69 kB / 259.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.01218, allocations: 33.69 kB / 259.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.01227, allocations: 326.8 kB / 259.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.01231, allocations: 16.7 kB / 259.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.01239, allocations: 96.06 kB / 259.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.01251, allocations: 97.89 kB / 259.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01252, allocations: 0 / 259.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001721/0.01269, allocations: 93.53 kB / 259.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01271, allocations: 7.938 kB / 259.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.01271, allocations: 12.06 kB / 259.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01273, allocations: 4 kB / 259.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.01294, allocations: 43.97 kB / 259.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01295, allocations: 4 kB / 259.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.673e-05/0.01305, allocations: 15.89 kB / 259.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01306, allocations: 4 kB / 259.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.112e-05/0.01314, allocations: 96.12 kB / 259.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.365e-05/0.01321, allocations: 92.48 kB / 260 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.795e-05/0.01331, allocations: 89.94 kB / 260.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.01331, allocations: 3.938 kB / 260.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001505/0.01346, allocations: 89.53 kB / 260.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.01348, allocations: 8 kB / 260.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.01348, allocations: 192 / 260.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-06/0.01349, allocations: 11.94 kB / 260.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01364, allocations: 39.91 kB / 260.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01364, allocations: 4 kB / 260.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.01372, allocations: 11.94 kB / 260.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.01374, allocations: 8 kB / 260.3 MB, free: 14.44 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.889e-05/0.01382, allocations: 188.2 kB / 260.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.01386, allocations: 11.92 kB / 260.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.01391, allocations: 21.45 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01391, allocations: 4 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01391, allocations: 4 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01392, allocations: 0 / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.01412, allocations: 109.8 kB / 260.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01412, allocations: 4 kB / 260.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.01428, allocations: 35.97 kB / 260.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.0143, allocations: 7.953 kB / 260.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.0143, allocations: 3.938 kB / 260.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.01432, allocations: 0 / 260.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01432, allocations: 0 / 260.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.01432, allocations: 4 kB / 260.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.01454, allocations: 183.4 kB / 260.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.01457, allocations: 0 / 260.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.01468, allocations: 19.86 kB / 260.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.01471, allocations: 7.984 kB / 260.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.01472, allocations: 0 / 260.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.914e-05/0.01478, allocations: 50.38 kB / 260.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01478, allocations: 0 / 260.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.01512, allocations: 87.67 kB / 261 MB, free: 13.67 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.0001221/0.01524, allocations: 76.41 kB / 261.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.01546, allocations: 106.1 kB / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.01547, allocations: 0 / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/0.01553, allocations: 40.72 kB / 261.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.01591, allocations: 227.8 kB / 261.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.01901, allocations: 430.4 kB / 261.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.01909, allocations: 79.84 kB / 261.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.01923, allocations: 12.64 kB / 261.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.01938, allocations: 79.34 kB / 262 MB, free: 12.53 MB / 266.7 MB Notification: Performance of SimCode: time 1.533e-06/0.01938, allocations: 0 / 262 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Templates: time 0.004363/0.02375, allocations: 1.711 MB / 263.7 MB, free: 10.85 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.3288545878604054]