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.001575/0.001575, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00176/0.00176, allocations: 173 kB / 23.49 MB, free: 1.059 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.9156/0.9156, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.02119/0.02119, allocations: 5.072 MB / 265.3 MB, free: 8.191 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.766e-06/2.766e-06, allocations: 0 / 336.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.22e-05, allocations: 4.703 kB / 336.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003434/0.003466, allocations: 2.521 MB / 338.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.004568, allocations: 0.6855 MB / 339.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.004709, allocations: 7.938 kB / 339.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.004959, allocations: 47.56 kB / 339.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.00507, allocations: 59.44 kB / 339.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.005351, allocations: 99.81 kB / 339.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.005596, allocations: 251.5 kB / 339.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.005827, allocations: 100.6 kB / 340 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.005979, allocations: 147.6 kB / 340.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.006113, allocations: 79.77 kB / 340.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.006155, allocations: 24 kB / 340.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.006185, allocations: 24 kB / 340.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.006223, allocations: 47.83 kB / 340.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.006297, allocations: 79.83 kB / 340.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.006546, allocations: 167.4 kB / 340.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.006551, allocations: 0 / 340.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.006553, allocations: 0 / 340.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.006559, allocations: 4 kB / 340.5 MB, free: 9.086 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.0005779/0.007136, allocations: 0.5469 MB / 341.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.007182, allocations: 8.031 kB / 341.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.007264, allocations: 40.8 kB / 341.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.007512, allocations: 205.7 kB / 341.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.007531, allocations: 16.88 kB / 341.3 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.007571, allocations: 20.38 kB / 341.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.007908, allocations: 234.3 kB / 341.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.007925, allocations: 4.188 kB / 341.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.007949, allocations: 8.375 kB / 341.6 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.007961, allocations: 7.938 kB / 341.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.008121, allocations: 74.94 kB / 341.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.008942, allocations: 0.7655 MB / 342.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.009193, allocations: 82.95 kB / 342.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.009238, allocations: 23.67 kB / 342.5 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.009259, allocations: 4 kB / 342.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.00928, allocations: 37.33 kB / 342.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.716e-06/0.009283, allocations: 4 kB / 342.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002448/0.009528, allocations: 90 kB / 342.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.009558, allocations: 77.11 kB / 342.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.009684, allocations: 228.1 kB / 343 MB, free: 6.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.009698, allocations: 33.7 kB / 343 MB, free: 6.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.009769, allocations: 206.8 kB / 343.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.009792, allocations: 39.7 kB / 343.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.009842, allocations: 39.36 kB / 343.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.009892, allocations: 0.4884 MB / 343.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.009946, allocations: 31.61 kB / 343.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.01002, allocations: 123.2 kB / 343.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.01013, allocations: 113.7 kB / 344 MB, free: 5.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01013, allocations: 4.031 kB / 344 MB, free: 5.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001828/0.01031, allocations: 125.3 kB / 344.2 MB, free: 5.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01033, allocations: 8 kB / 344.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01034, allocations: 0 / 344.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01036, allocations: 4 kB / 344.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.01048, allocations: 35.98 kB / 344.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.01049, allocations: 3.984 kB / 344.2 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.01057, allocations: 20.08 kB / 344.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01058, allocations: 8 kB / 344.2 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.611e-05/0.01065, allocations: 142.9 kB / 344.4 MB, free: 4.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.478e-05/0.01071, allocations: 122.1 kB / 344.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.809e-05/0.0108, allocations: 105.7 kB / 344.6 MB, free: 4.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.0108, allocations: 0 / 344.6 MB, free: 4.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001604/0.01096, allocations: 129.4 kB / 344.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.619e-06/0.01097, allocations: 7.938 kB / 344.7 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.01097, allocations: 4 kB / 344.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-06/0.01098, allocations: 0 / 344.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.01107, allocations: 31.98 kB / 344.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.01107, allocations: 0 / 344.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.01114, allocations: 15.92 kB / 344.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.01115, allocations: 12.19 kB / 344.8 MB, free: 4.406 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 5.997e-05/0.01121, allocations: 276 kB / 345.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.01124, allocations: 19.84 kB / 345.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.01128, allocations: 21.45 kB / 345.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01129, allocations: 0 / 345.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01129, allocations: 0 / 345.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.0113, allocations: 7.984 kB / 345.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.01147, allocations: 180.5 kB / 345.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01148, allocations: 0 / 345.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.01158, allocations: 23.98 kB / 345.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01158, allocations: 4 kB / 345.3 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.0116, allocations: 7.875 kB / 345.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.0116, allocations: 0 / 345.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.0116, allocations: 0 / 345.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.01181, allocations: 251.8 kB / 345.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.01183, allocations: 15.84 kB / 345.6 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01185, allocations: 3.938 kB / 345.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.01194, allocations: 15.98 kB / 345.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.01198, allocations: 7.984 kB / 345.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.01199, allocations: 0 / 345.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.288e-05/0.01205, allocations: 163.9 kB / 345.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01205, allocations: 0 / 345.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.01246, allocations: 79.73 kB / 345.8 MB, free: 3.289 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 9.127e-05/0.01255, allocations: 95.25 kB / 345.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.01277, allocations: 119.5 kB / 346.1 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01277, allocations: 0 / 346.1 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.01282, allocations: 36.36 kB / 346.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.01318, allocations: 27.98 kB / 346.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.01409, allocations: 428.3 kB / 346.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.01413, allocations: 75.83 kB / 346.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.757e-05/0.0142, allocations: 12.64 kB / 346.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.01424, allocations: 16.5 kB / 346.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01424, allocations: 0 / 346.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of Templates: time 0.004476/0.01872, allocations: 1.604 MB / 348.2 MB, free: 0.8555 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.6808386938646436]