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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 190.8 kB / 20.78 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.117 MB / 190.1 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.03325/0.03325, allocations: 6.573 MB / 311.1 MB, free: 2.664 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00204/0.00204, allocations: 67.88 kB / 433.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2398, allocations: 53.63 MB / 487.1 MB, free: 26.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003286/0.2431, allocations: 2.524 MB / 489.7 MB, free: 24.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.244, allocations: 0.6715 MB / 490.3 MB, free: 24.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2441, allocations: 7.906 kB / 490.3 MB, free: 24.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.2444, allocations: 53.77 kB / 490.4 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/0.2445, allocations: 49.33 kB / 490.4 MB, free: 24.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2447, allocations: 104.6 kB / 490.5 MB, free: 24.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.2449, allocations: 243 kB / 490.8 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.2452, allocations: 97.58 kB / 490.9 MB, free: 24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.2453, allocations: 94.19 kB / 491 MB, free: 23.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2454, allocations: 100.9 kB / 491.1 MB, free: 23.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.2454, allocations: 31.45 kB / 491.1 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.71e-05/0.2455, allocations: 23.12 kB / 491.1 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.2455, allocations: 50.31 kB / 491.2 MB, free: 23.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.2456, allocations: 116.9 kB / 491.3 MB, free: 23.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.2459, allocations: 261.1 kB / 491.5 MB, free: 23.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2459, allocations: 5.25 kB / 491.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2459, allocations: 0 / 491.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2459, allocations: 0 / 491.5 MB, free: 23.66 MB / 366.1 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.0006342/0.2465, allocations: 0.5229 MB / 492.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2465, allocations: 14.52 kB / 492.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.2466, allocations: 24.89 kB / 492.1 MB, free: 23.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2469, allocations: 245.5 kB / 492.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2469, allocations: 13.72 kB / 492.4 MB, free: 22.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.2469, allocations: 22.77 kB / 492.4 MB, free: 22.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.2474, allocations: 252.2 kB / 492.6 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.2474, allocations: 0 / 492.6 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.2474, allocations: 7.25 kB / 492.6 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2474, allocations: 5.031 kB / 492.6 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.2478, allocations: 163.4 kB / 492.8 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009624/0.2488, allocations: 0.8288 MB / 493.6 MB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.2491, allocations: 107.3 kB / 493.7 MB, free: 22.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2493, allocations: 46.95 kB / 493.8 MB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2493, allocations: 1.531 kB / 493.8 MB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2493, allocations: 45.12 kB / 493.8 MB, free: 22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2493, allocations: 0 / 493.8 MB, free: 22 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004998/0.2498, allocations: 174.8 kB / 494 MB, free: 21.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2498, allocations: 78.45 kB / 494.1 MB, free: 21.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.25, allocations: 169.1 kB / 494.2 MB, free: 21.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.25, allocations: 26.8 kB / 494.3 MB, free: 21.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.25, allocations: 164.2 kB / 494.4 MB, free: 21.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.2501, allocations: 38.66 kB / 494.5 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.2501, allocations: 31.5 kB / 494.5 MB, free: 21.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.2502, allocations: 329.5 kB / 494.8 MB, free: 21.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2503, allocations: 55.98 kB / 494.9 MB, free: 21.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.2505, allocations: 101.9 kB / 495 MB, free: 21.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.2508, allocations: 157 kB / 495.1 MB, free: 20.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2508, allocations: 5.25 kB / 495.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003685/0.2512, allocations: 186.4 kB / 495.3 MB, free: 20.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2512, allocations: 5.062 kB / 495.3 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2512, allocations: 2.375 kB / 495.3 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2512, allocations: 3.672 kB / 495.3 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.2514, allocations: 39.45 kB / 495.4 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2514, allocations: 7.156 kB / 495.4 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2515, allocations: 24.31 kB / 495.4 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2515, allocations: 9.172 kB / 495.4 MB, free: 20.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001485/0.2516, allocations: 139.8 kB / 495.5 MB, free: 20.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001184/0.2518, allocations: 90.05 kB / 495.6 MB, free: 20.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001993/0.252, allocations: 133.2 kB / 495.7 MB, free: 20.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.252, allocations: 5.656 kB / 495.8 MB, free: 20.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002854/0.2522, allocations: 163.1 kB / 495.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.2523, allocations: 6.094 kB / 495.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.2523, allocations: 1.219 kB / 495.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.127e-06/0.2523, allocations: 2.938 kB / 495.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2524, allocations: 32.41 kB / 496 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.2524, allocations: 6.625 kB / 496 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2525, allocations: 24.64 kB / 496 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2525, allocations: 9.281 kB / 496 MB, free: 20.48 MB / 366.1 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.56e-05/0.2526, allocations: 188.2 kB / 496.2 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.2526, allocations: 10.7 kB / 496.2 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.2526, allocations: 18.39 kB / 496.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2526, allocations: 1.219 kB / 496.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2526, allocations: 0.8438 kB / 496.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2526, allocations: 4 kB / 496.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2529, allocations: 264.8 kB / 496.5 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2529, allocations: 0.5156 kB / 496.5 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2531, allocations: 31.64 kB / 496.5 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2531, allocations: 1.859 kB / 496.5 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2531, allocations: 0 / 496.5 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2531, allocations: 1.219 kB / 496.5 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2531, allocations: 0.5625 kB / 496.5 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.2536, allocations: 302.6 kB / 496.8 MB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.2536, allocations: 88.97 kB / 496.9 MB, free: 19.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2536, allocations: 2.766 kB / 496.9 MB, free: 19.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2537, allocations: 19.88 kB / 496.9 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.2538, allocations: 6.734 kB / 496.9 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2538, allocations: 5.188 kB / 496.9 MB, free: 19.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.2539, allocations: 123.5 kB / 497 MB, free: 19.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2539, allocations: 0 / 497 MB, free: 19.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.2543, allocations: 90.78 kB / 497.1 MB, free: 19.61 MB / 366.1 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.872e-05/0.2543, allocations: 96.72 kB / 497.2 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.2548, allocations: 184.8 kB / 497.4 MB, free: 19.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2548, allocations: 0 / 497.4 MB, free: 19.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.255, allocations: 53.09 kB / 497.5 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2553, allocations: 27.69 kB / 497.5 MB, free: 19.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.2561, allocations: 499.6 kB / 498 MB, free: 19.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.2562, allocations: 0.7335 MB / 498.7 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.2563, allocations: 16.33 kB / 498.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2563, allocations: 13.59 kB / 498.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2563, allocations: 0 / 498.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of Templates: time 0.004648/0.261, allocations: 1.636 MB / 0.4886 GB, free: 18.22 MB / 366.1 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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.436419691890478]