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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001034/0.001034, allocations: 195 kB / 7.464 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.138/1.138, allocations: 194.2 MB / 202.1 MB, free: 14.39 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001769/0.001768, allocations: 115.7 kB / 247.1 MB, free: 0.5234 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1697/0.1697, allocations: 39.94 MB / 331.9 MB, free: 11.59 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 6.261e-06/6.402e-06, allocations: 0 / 392.8 MB, free: 48.4 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08547, allocations: 54.87 MB / 447.6 MB, free: 9.453 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4081, allocations: 94.4 MB / 0.5293 GB, free: 4.41 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.4085, allocations: 71.95 kB / 0.5294 GB, free: 4.34 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.2485/0.657, allocations: 92.93 MB / 0.6202 GB, free: 7.012 MB / 466.8 MB Notification: Performance of Transformations before backend: time 0.0003553/0.6574, allocations: 87.98 kB / 0.6202 GB, free: 6.926 MB / 466.8 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.01202/0.6694, allocations: 3.937 MB / 0.6241 GB, free: 2.93 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.6695, allocations: 15.97 kB / 0.6241 GB, free: 2.914 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1703/0.8397, allocations: 5.713 MB / 0.6297 GB, free: 162 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01957/0.8594, allocations: 9.102 MB / 0.6386 GB, free: 161.6 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.8595, allocations: 107.1 kB / 0.6387 GB, free: 161.6 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007606/0.8603, allocations: 220.5 kB / 0.6389 GB, free: 161.5 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007083/0.8674, allocations: 4.426 MB / 0.6432 GB, free: 161.5 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/0.8745, allocations: 6.177 MB / 0.6492 GB, free: 160 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.8747, allocations: 63.39 kB / 0.6493 GB, free: 160 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.875, allocations: 14.94 kB / 0.6493 GB, free: 160 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.8762, allocations: 0.6523 MB / 0.6499 GB, free: 159.9 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.9081, allocations: 29.63 MB / 0.6789 GB, free: 142.3 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.9086, allocations: 326.5 kB / 0.6792 GB, free: 142.1 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.9088, allocations: 163.6 kB / 0.6793 GB, free: 142 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.9088, allocations: 6.344 kB / 0.6793 GB, free: 142 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.9089, allocations: 41.25 kB / 0.6794 GB, free: 142 MB / 466.8 MB Notification: Performance of pre-optimization done (n=28): time 4.638e-06/0.9089, allocations: 0 / 0.6794 GB, free: 142 MB / 466.8 MB Notification: Performance of matching and sorting (n=28): time 0.005721/0.9146, allocations: 1.607 MB / 0.681 GB, free: 141.7 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.9147, allocations: 235.1 kB / 0.6812 GB, free: 141.4 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/0.9193, allocations: 3.465 MB / 0.6846 GB, free: 140.1 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.9194, allocations: 27.56 kB / 0.6846 GB, free: 140.1 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.9207, allocations: 2.261 MB / 0.6868 GB, free: 138.4 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.9208, allocations: 164.5 kB / 0.687 GB, free: 138.3 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.9209, allocations: 0 / 0.687 GB, free: 138.3 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.9211, allocations: 451.6 kB / 0.6874 GB, free: 138 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000811/0.9219, allocations: 0.6965 MB / 0.6881 GB, free: 137.8 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.9236, allocations: 3.267 MB / 0.6913 GB, free: 134 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.9251, allocations: 1.472 MB / 0.6927 GB, free: 133.6 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/0.9251, allocations: 31.19 kB / 0.6927 GB, free: 133.6 MB / 466.8 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.004269/0.9294, allocations: 3.334 MB / 0.696 GB, free: 132.6 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9294, allocations: 10.19 kB / 0.696 GB, free: 132.6 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-05/0.9295, allocations: 94.86 kB / 0.6961 GB, free: 132.6 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.9296, allocations: 134.1 kB / 0.6962 GB, free: 132.6 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.9318, allocations: 0.8546 MB / 0.697 GB, free: 132.5 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.623e-05/0.9318, allocations: 182.8 kB / 0.6972 GB, free: 132.5 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.9353, allocations: 486.5 kB / 0.6977 GB, free: 132.2 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.9356, allocations: 231.5 kB / 0.6979 GB, free: 132.2 MB / 466.8 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.0003527/0.936, allocations: 354.5 kB / 0.6982 GB, free: 131.9 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.9364, allocations: 341.4 kB / 0.6986 GB, free: 131.7 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008403/0.9373, allocations: 344.4 kB / 0.6989 GB, free: 131.6 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.9373, allocations: 4.406 kB / 0.6989 GB, free: 131.6 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.9373, allocations: 4.312 kB / 0.6989 GB, free: 131.6 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9373, allocations: 8.828 kB / 0.6989 GB, free: 131.6 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.9421, allocations: 3.491 MB / 0.7023 GB, free: 129.7 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.9422, allocations: 9.906 kB / 0.7023 GB, free: 129.7 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.9424, allocations: 81.28 kB / 0.7024 GB, free: 129.7 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/0.9424, allocations: 13.78 kB / 0.7024 GB, free: 129.7 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.9425, allocations: 16.5 kB / 0.7024 GB, free: 129.7 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.9425, allocations: 22.69 kB / 0.7025 GB, free: 129.7 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.9425, allocations: 15.41 kB / 0.7025 GB, free: 129.7 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001086/0.9436, allocations: 2.065 MB / 0.7045 GB, free: 127.4 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/0.9443, allocations: 414.7 kB / 0.7049 GB, free: 127.1 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/0.9446, allocations: 16.81 kB / 0.7049 GB, free: 127.1 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009982/0.9457, allocations: 48.55 kB / 0.7049 GB, free: 127.1 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.9457, allocations: 50.69 kB / 0.705 GB, free: 127.1 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.9458, allocations: 24.78 kB / 0.705 GB, free: 127.1 MB / 466.8 MB Notification: Performance of sort global known variables: time 0.003522/0.9493, allocations: 2.453 MB / 0.7074 GB, free: 126.2 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.00434/0.9536, allocations: 0.8437 MB / 0.7082 GB, free: 126 MB / 466.8 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.0002816/0.9539, allocations: 127.5 kB / 0.7084 GB, free: 125.9 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.9563, allocations: 1.631 MB / 0.71 GB, free: 124.4 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9563, allocations: 4 kB / 0.71 GB, free: 124.4 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.9565, allocations: 172.4 kB / 0.7101 GB, free: 124.3 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/0.96, allocations: 0.516 MB / 0.7106 GB, free: 123.9 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.9713, allocations: 5.508 MB / 0.716 GB, free: 118.7 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003156/0.9746, allocations: 3.144 MB / 0.7191 GB, free: 116.3 MB / 466.8 MB Notification: Performance of SimCode: time 1.533e-06/0.9746, allocations: 0 / 0.7191 GB, free: 116.3 MB / 466.8 MB Notification: Performance of Templates: time 0.0469/1.021, allocations: 22.16 MB / 0.7407 GB, free: 101.1 MB / 466.8 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)