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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 103 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 198.3 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03095/0.03095, allocations: 6.496 MB / 297.6 MB, free: 8.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 63.89 kB / 360.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1953, allocations: 50.87 MB / 411 MB, free: 28.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003008/0.1984, allocations: 2.467 MB / 413.5 MB, free: 25.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.1992, allocations: 0.662 MB / 414.2 MB, free: 25.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1993, allocations: 7.938 kB / 414.2 MB, free: 25.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.1995, allocations: 51.56 kB / 414.2 MB, free: 25.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.1996, allocations: 51.5 kB / 414.3 MB, free: 25.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1999, allocations: 95.89 kB / 414.4 MB, free: 24.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.2001, allocations: 247.5 kB / 414.6 MB, free: 24.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.2003, allocations: 144.1 kB / 414.8 MB, free: 24.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.2004, allocations: 99.58 kB / 414.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2005, allocations: 99.55 kB / 415 MB, free: 24.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.2005, allocations: 24 kB / 415 MB, free: 24.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.2006, allocations: 24 kB / 415 MB, free: 24.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.2006, allocations: 51.83 kB / 415 MB, free: 24.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.2007, allocations: 119.4 kB / 415.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2009, allocations: 260.8 kB / 415.4 MB, free: 23.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2009, allocations: 0 / 415.4 MB, free: 23.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2009, allocations: 0 / 415.4 MB, free: 23.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2009, allocations: 0 / 415.4 MB, free: 23.93 MB / 302.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.0005703/0.2015, allocations: 0.5175 MB / 415.9 MB, free: 23.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2015, allocations: 19.89 kB / 416 MB, free: 23.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.2016, allocations: 28.59 kB / 416 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2019, allocations: 239.9 kB / 416.2 MB, free: 23.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2019, allocations: 16.81 kB / 416.2 MB, free: 23.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.2019, allocations: 24.38 kB / 416.3 MB, free: 23.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.2023, allocations: 250.9 kB / 416.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2023, allocations: 7.906 kB / 416.5 MB, free: 22.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.2024, allocations: 8 kB / 416.5 MB, free: 22.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2024, allocations: 4 kB / 416.5 MB, free: 22.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.2027, allocations: 157.6 kB / 416.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008924/0.2036, allocations: 0.8257 MB / 417.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.204, allocations: 110.4 kB / 417.6 MB, free: 21.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2041, allocations: 56.81 kB / 417.7 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.2042, allocations: 0 / 417.7 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.2042, allocations: 38.56 kB / 417.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2042, allocations: 4 kB / 417.7 MB, free: 21.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004734/0.2047, allocations: 173.6 kB / 417.9 MB, free: 21.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2047, allocations: 77.11 kB / 418 MB, free: 21.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2048, allocations: 165.6 kB / 418.1 MB, free: 21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2048, allocations: 29.7 kB / 418.1 MB, free: 20.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.2049, allocations: 163.8 kB / 418.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.205, allocations: 35.45 kB / 418.3 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.205, allocations: 29.7 kB / 418.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.2051, allocations: 338.7 kB / 418.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2052, allocations: 48.83 kB / 418.7 MB, free: 20.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.2054, allocations: 114.8 kB / 418.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.2056, allocations: 150.2 kB / 419 MB, free: 20.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2056, allocations: 0 / 419 MB, free: 20.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003603/0.206, allocations: 185.5 kB / 419.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.206, allocations: 4 kB / 419.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.206, allocations: 4 kB / 419.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2061, allocations: 0 / 419.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2062, allocations: 47.91 kB / 419.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2062, allocations: 0 / 419.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2063, allocations: 27.83 kB / 419.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2064, allocations: 4 kB / 419.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00013/0.2065, allocations: 140.1 kB / 419.4 MB, free: 19.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001013/0.2066, allocations: 88.39 kB / 419.5 MB, free: 19.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001748/0.2068, allocations: 133.9 kB / 419.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.2068, allocations: 3.938 kB / 419.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002477/0.2071, allocations: 165.3 kB / 419.8 MB, free: 19.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.2071, allocations: 8 kB / 419.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.2071, allocations: 0 / 419.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.2071, allocations: 4 kB / 419.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2072, allocations: 35.91 kB / 419.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.2072, allocations: 4 kB / 419.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.2073, allocations: 20.3 kB / 419.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.2073, allocations: 8 kB / 419.9 MB, free: 19.11 MB / 302.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 7.122e-05/0.2074, allocations: 197.1 kB / 420.1 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.2074, allocations: 15.81 kB / 420.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.2075, allocations: 13.41 kB / 420.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2075, allocations: 4 kB / 420.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2075, allocations: 0 / 420.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2075, allocations: 0 / 420.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.2077, allocations: 257.5 kB / 420.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2078, allocations: 0 / 420.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2079, allocations: 39.97 kB / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2079, allocations: 0 / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2079, allocations: 0 / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2079, allocations: 3.938 kB / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.208, allocations: 0 / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.2084, allocations: 295.1 kB / 420.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.2085, allocations: 88.98 kB / 420.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2085, allocations: 4 kB / 420.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2086, allocations: 15.98 kB / 420.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.2087, allocations: 3.984 kB / 420.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.2087, allocations: 4 kB / 420.8 MB, free: 18.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.2088, allocations: 128.9 kB / 420.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2088, allocations: 0 / 420.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.2091, allocations: 87.59 kB / 421 MB, free: 17.89 MB / 302.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 0.0001027/0.2092, allocations: 99.12 kB / 421.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.2097, allocations: 184 kB / 421.3 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2097, allocations: 0 / 421.3 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.2098, allocations: 52.42 kB / 421.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.2102, allocations: 41.23 kB / 421.4 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.2109, allocations: 485.7 kB / 421.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.2111, allocations: 0.7358 MB / 422.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.202e-05/0.2111, allocations: 16.58 kB / 422.6 MB, free: 16.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.2112, allocations: 11.44 kB / 422.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2112, allocations: 4 kB / 422.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of Templates: time 0.003676/0.2149, allocations: 1.548 MB / 424.2 MB, free: 14.7 MB / 302.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile (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 -s gbode -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1)