Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies") translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.413/1.413, allocations: 194.3 MB / 202.4 MB, free: 8.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001607/0.001607, allocations: 118 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1807/0.1807, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.516e-05, allocations: 4.547 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4558, allocations: 94.47 MB / 0.5299 GB, free: 5.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4561, allocations: 80.36 kB / 0.53 GB, free: 5.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.25/0.7061, allocations: 94.96 MB / 0.6228 GB, free: 14.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.7062, allocations: 0 / 0.6228 GB, free: 14.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004879/0.7067, allocations: 83.98 kB / 0.6228 GB, free: 14.71 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01363/0.7203, allocations: 4.081 MB / 0.6268 GB, free: 10.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7204, allocations: 15.97 kB / 0.6268 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02589/0.7463, allocations: 5.986 MB / 0.6327 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02247/0.7688, allocations: 8.967 MB / 0.6414 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.7691, allocations: 112 kB / 0.6415 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.7708, allocations: 219.7 kB / 0.6417 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0091/0.78, allocations: 4.079 MB / 0.6457 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.7923, allocations: 5.843 MB / 0.6514 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/0.7925, allocations: 55.5 kB / 0.6515 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/0.7929, allocations: 16 kB / 0.6515 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001202/0.7941, allocations: 0.5874 MB / 0.6521 GB, free: 36 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3088/1.103, allocations: 27.16 MB / 0.6786 GB, free: 97.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/1.103, allocations: 319.8 kB / 0.6789 GB, free: 97.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/1.104, allocations: 167.2 kB / 0.6791 GB, free: 97.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/1.104, allocations: 6.625 kB / 0.6791 GB, free: 97.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/1.104, allocations: 47.5 kB / 0.6791 GB, free: 97.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 3.175e-06/1.104, allocations: 0 / 0.6791 GB, free: 97.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.005341/1.109, allocations: 1.473 MB / 0.6806 GB, free: 97.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.109, allocations: 242.1 kB / 0.6808 GB, free: 96.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/1.114, allocations: 3.406 MB / 0.6841 GB, free: 96.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/1.114, allocations: 31.08 kB / 0.6841 GB, free: 96.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.116, allocations: 2.813 MB / 0.6869 GB, free: 95.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.116, allocations: 166.9 kB / 0.6871 GB, free: 95.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/1.116, allocations: 0 / 0.6871 GB, free: 95.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/1.116, allocations: 451.5 kB / 0.6875 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/1.117, allocations: 0.669 MB / 0.6881 GB, free: 95.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/1.12, allocations: 3.235 MB / 0.6913 GB, free: 91.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/1.122, allocations: 1.417 MB / 0.6927 GB, free: 91.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.771e-05/1.122, allocations: 27.36 kB / 0.6927 GB, free: 91.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.005518/1.127, allocations: 3.327 MB / 0.696 GB, free: 91.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.127, allocations: 48.64 kB / 0.696 GB, free: 91.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/1.128, allocations: 93.88 kB / 0.6961 GB, free: 91.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/1.128, allocations: 135.6 kB / 0.6962 GB, free: 91.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.13, allocations: 0.8608 MB / 0.6971 GB, free: 91.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001005/1.13, allocations: 180.4 kB / 0.6972 GB, free: 91.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/1.134, allocations: 0.5071 MB / 0.6977 GB, free: 91.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/1.134, allocations: 233.8 kB / 0.6979 GB, free: 91.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003225/1.134, allocations: 346.1 kB / 0.6983 GB, free: 91.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/1.135, allocations: 338.8 kB / 0.6986 GB, free: 91.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/1.135, allocations: 352.8 kB / 0.6989 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.135, allocations: 4.516 kB / 0.6989 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.135, allocations: 3.75 kB / 0.6989 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.135, allocations: 4.109 kB / 0.699 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/1.14, allocations: 3.467 MB / 0.7023 GB, free: 89.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.14, allocations: 9.562 kB / 0.7023 GB, free: 89.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/1.14, allocations: 80.31 kB / 0.7024 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/1.14, allocations: 17.09 kB / 0.7024 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/1.14, allocations: 14.41 kB / 0.7025 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/1.141, allocations: 17.94 kB / 0.7025 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/1.141, allocations: 18.47 kB / 0.7025 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/1.141, allocations: 2.067 MB / 0.7045 GB, free: 87.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/1.142, allocations: 419 kB / 0.7049 GB, free: 87.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.142, allocations: 10.47 kB / 0.7049 GB, free: 87.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/1.143, allocations: 54.12 kB / 0.705 GB, free: 87.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/1.143, allocations: 62.2 kB / 0.705 GB, free: 87.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/1.143, allocations: 27.59 kB / 0.7051 GB, free: 87.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002688/1.146, allocations: 2.401 MB / 0.7074 GB, free: 87.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.146, allocations: 0 / 0.7074 GB, free: 87.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00343/1.149, allocations: 0.8319 MB / 0.7082 GB, free: 87.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/1.15, allocations: 123.6 kB / 0.7083 GB, free: 87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002151/1.152, allocations: 1.567 MB / 0.7099 GB, free: 86.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.152, allocations: 10.62 kB / 0.7099 GB, free: 86.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/1.152, allocations: 160 kB / 0.71 GB, free: 86.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.154, allocations: 0.5385 MB / 0.7105 GB, free: 86.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00777/1.162, allocations: 5.405 MB / 0.7158 GB, free: 85.12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/1.164, allocations: 2.943 MB / 0.7187 GB, free: 84.35 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002753/1.167, allocations: 1.079 MB / 0.7198 GB, free: 84.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/1.167, allocations: 176.8 kB / 0.7199 GB, free: 84.31 MB / 474.7 MB Notification: Performance of SimCode: time 8.41e-07/1.167, allocations: 3.172 kB / 0.7199 GB, free: 84.31 MB / 474.7 MB Notification: Performance of Templates: time 0.04233/1.21, allocations: 21.68 MB / 0.7411 GB, free: 83.12 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)