Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation") [: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.1+maint.om/package.mo): time 0.004392/0.004392, allocations: 175.5 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.422/1.422, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002029/0.002029, allocations: 111.8 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1803/0.1803, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.833e-06, allocations: 0 / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.525, allocations: 82.68 MB / 480.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.5254, allocations: 74.33 kB / 481 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4355/0.9609, allocations: 135 MB / 0.6015 GB, free: 12.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006561/0.9616, allocations: 123.9 kB / 0.6017 GB, free: 12.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02915/0.9908, allocations: 6.003 MB / 0.6075 GB, free: 6.742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.9908, allocations: 8.031 kB / 0.6075 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04548/1.036, allocations: 5.282 MB / 0.6127 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2554/1.292, allocations: 4.268 MB / 0.6169 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006648/1.293, allocations: 220.7 kB / 0.6171 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004929/1.297, allocations: 390.4 kB / 0.6174 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03087/1.328, allocations: 12.95 MB / 0.6301 GB, free: 119 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0503/1.379, allocations: 17.06 MB / 0.6467 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003476/1.379, allocations: 40.66 kB / 0.6468 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004486/1.384, allocations: 28.16 kB / 0.6468 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/1.387, allocations: 2.275 MB / 0.649 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1187/1.506, allocations: 59.21 MB / 0.7069 GB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009385/1.515, allocations: 6.019 MB / 0.7127 GB, free: 81.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/1.519, allocations: 2.083 MB / 0.7148 GB, free: 80.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002372/1.522, allocations: 2.287 MB / 0.717 GB, free: 78.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/1.522, allocations: 60.34 kB / 0.7171 GB, free: 78.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=341): time 1.085e-05/1.522, allocations: 0 / 0.7171 GB, free: 78.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=341): time 0.02004/1.542, allocations: 5.366 MB / 0.7223 GB, free: 74.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.542, allocations: 111 kB / 0.7224 GB, free: 74.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/1.553, allocations: 4.555 MB / 0.7268 GB, free: 70.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008196/1.554, allocations: 29.17 kB / 0.7269 GB, free: 70.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004721/1.559, allocations: 5.045 MB / 0.7318 GB, free: 66.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002347/1.561, allocations: 1.243 MB / 0.733 GB, free: 64.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/1.563, allocations: 0 / 0.733 GB, free: 64.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001156/1.564, allocations: 0.7514 MB / 0.7338 GB, free: 64.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00728/1.571, allocations: 3.19 MB / 0.7369 GB, free: 61.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.582, allocations: 9.018 MB / 0.7457 GB, free: 50.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/1.593, allocations: 5.595 MB / 0.7511 GB, free: 45.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002486/1.594, allocations: 67.88 kB / 0.7512 GB, free: 45.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02636/1.62, allocations: 11.03 MB / 0.762 GB, free: 35.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.62, allocations: 8.359 kB / 0.762 GB, free: 35.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004243/1.621, allocations: 208 kB / 0.7622 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/1.621, allocations: 304 kB / 0.7625 GB, free: 35.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008855/1.63, allocations: 2.242 MB / 0.7647 GB, free: 33.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003851/1.63, allocations: 412.1 kB / 0.765 GB, free: 33.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008308/1.639, allocations: 1.109 MB / 0.7661 GB, free: 31.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/1.641, allocations: 0.5895 MB / 0.7667 GB, free: 31.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1246): * Single equations (assignments): 1234 * Array equations: 12 * 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.003322/1.644, allocations: 0.5925 MB / 0.7673 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.646, allocations: 469.7 kB / 0.7677 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/1.648, allocations: 0.6277 MB / 0.7683 GB, free: 29.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001995/1.649, allocations: 39.75 kB / 0.7684 GB, free: 29.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/1.649, allocations: 0 / 0.7684 GB, free: 29.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/1.649, allocations: 11.16 kB / 0.7684 GB, free: 29.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0299/1.678, allocations: 13.5 MB / 0.7816 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/1.679, allocations: 12 kB / 0.7816 GB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/1.681, allocations: 419.8 kB / 0.782 GB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.511e-05/1.681, allocations: 28.06 kB / 0.782 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004737/1.681, allocations: 31.66 kB / 0.782 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.008e-05/1.681, allocations: 27.69 kB / 0.7821 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/1.681, allocations: 23.88 kB / 0.7821 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00766/1.689, allocations: 6.689 MB / 0.7886 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.691, allocations: 0.5479 MB / 0.7892 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/1.692, allocations: 19.84 kB / 0.7892 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/1.695, allocations: 58.98 kB / 0.7892 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/1.696, allocations: 164.5 kB / 0.7894 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/1.696, allocations: 101.7 kB / 0.7895 GB, free: 9.773 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006834/1.703, allocations: 2.996 MB / 0.7924 GB, free: 7.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01059/1.714, allocations: 1.834 MB / 0.7942 GB, free: 5.359 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * 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.0009699/1.715, allocations: 166.1 kB / 0.7944 GB, free: 5.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2057/1.92, allocations: 7.374 MB / 0.8016 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/1.92, allocations: 0 / 0.8016 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/1.924, allocations: 2.169 MB / 0.8037 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.926, allocations: 358.6 kB / 0.804 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/1.953, allocations: 13.2 MB / 0.8169 GB, free: 99.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009996/1.963, allocations: 6.02 MB / 0.8228 GB, free: 98.81 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.963, allocations: 5.969 kB / 0.8228 GB, free: 98.81 MB / 426.7 MB Notification: Performance of Templates: time 0.09852/2.062, allocations: 48.58 MB / 0.8702 GB, free: 96.25 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)