Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") [: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.004657/0.004657, allocations: 175 kB / 7.447 MB, free: 2.512 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.429/1.429, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.00174/0.00174, allocations: 111.8 kB / 217.7 MB, free: 8.156 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.1734/0.1734, allocations: 37.97 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.057e-06, allocations: 1.25 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 48.72 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.4431, allocations: 83.7 MB / 481.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.4435, allocations: 72.47 kB / 482 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.05073/0.4942, allocations: 18.85 MB / 0.4891 GB, free: 10.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.3e-05/0.4943, allocations: 19.5 kB / 0.4891 GB, free: 10.01 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.00345/0.4978, allocations: 1.318 MB / 0.4904 GB, free: 9.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4979, allocations: 7.719 kB / 0.4904 GB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.499, allocations: 171.6 kB / 0.4906 GB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.5008, allocations: 0.6922 MB / 0.4912 GB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.5009, allocations: 34.88 kB / 0.4913 GB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004048/0.5013, allocations: 58.25 kB / 0.4913 GB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002854/0.5041, allocations: 1.715 MB / 0.493 GB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.5071, allocations: 1.98 MB / 0.4949 GB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.5072, allocations: 11.91 kB / 0.495 GB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5073, allocations: 3.844 kB / 0.495 GB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/0.5076, allocations: 212.7 kB / 0.4952 GB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.5151, allocations: 7.575 MB / 0.5026 GB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.5156, allocations: 383.2 kB / 0.5029 GB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.5159, allocations: 265.7 kB / 0.5032 GB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.5172, allocations: 1.753 MB / 0.5049 GB, free: 17.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.5173, allocations: 37.44 kB / 0.5049 GB, free: 17.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.156e-06/0.5173, allocations: 3.938 kB / 0.5049 GB, free: 17.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.009718/0.527, allocations: 2.622 MB / 0.5075 GB, free: 16.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.5272, allocations: 62.72 kB / 0.5075 GB, free: 16.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.5284, allocations: 0.6451 MB / 0.5082 GB, free: 15.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.5285, allocations: 25.7 kB / 0.5082 GB, free: 15.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.5289, allocations: 0.6194 MB / 0.5088 GB, free: 15.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.5292, allocations: 205.6 kB / 0.509 GB, free: 15.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.5292, allocations: 1.219 kB / 0.509 GB, free: 15.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.5294, allocations: 386.7 kB / 0.5094 GB, free: 14.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.53, allocations: 359.4 kB / 0.5097 GB, free: 14.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.5313, allocations: 0.9737 MB / 0.5107 GB, free: 14.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.5329, allocations: 0.751 MB / 0.5114 GB, free: 13.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.533, allocations: 10.41 kB / 0.5114 GB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003262/0.5362, allocations: 1.422 MB / 0.5128 GB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5363, allocations: 4.781 kB / 0.5128 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.086e-05/0.5363, allocations: 22.28 kB / 0.5128 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.99e-05/0.5364, allocations: 37.25 kB / 0.5129 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.5378, allocations: 321.9 kB / 0.5132 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.5391, allocations: 1.321 MB / 0.5145 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.54, allocations: 31.27 kB / 0.5145 GB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5401, allocations: 68.88 kB / 0.5146 GB, free: 12.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.5404, allocations: 172.3 kB / 0.5147 GB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.5405, allocations: 77.89 kB / 0.5148 GB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.5407, allocations: 99.3 kB / 0.5149 GB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.5407, allocations: 9.094 kB / 0.5149 GB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.5408, allocations: 3.906 kB / 0.5149 GB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5408, allocations: 5.141 kB / 0.5149 GB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/0.5448, allocations: 2.085 MB / 0.5169 GB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.5449, allocations: 10.12 kB / 0.5169 GB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.5455, allocations: 134.4 kB / 0.5171 GB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.5455, allocations: 8.25 kB / 0.5171 GB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.5456, allocations: 13.61 kB / 0.5171 GB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009978/0.5466, allocations: 1.283 MB / 0.5183 GB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.5466, allocations: 10.86 kB / 0.5184 GB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0019/0.5485, allocations: 1.29 MB / 0.5196 GB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.5489, allocations: 192.3 kB / 0.5198 GB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.549, allocations: 8.156 kB / 0.5198 GB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.5493, allocations: 10.67 kB / 0.5198 GB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.5494, allocations: 47.17 kB / 0.5199 GB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.5495, allocations: 24.06 kB / 0.5199 GB, free: 8.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0007718/0.5503, allocations: 470.8 kB / 0.5203 GB, free: 8.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001358/0.5516, allocations: 187.4 kB / 0.5205 GB, free: 8.336 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000305/0.552, allocations: 124.9 kB / 0.5206 GB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.5534, allocations: 0.8582 MB / 0.5215 GB, free: 8.086 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5534, allocations: 2.156 kB / 0.5215 GB, free: 8.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.5539, allocations: 303 kB / 0.5218 GB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.5545, allocations: 96.61 kB / 0.5219 GB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.5579, allocations: 1.648 MB / 0.5235 GB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/0.5593, allocations: 1.314 MB / 0.5247 GB, free: 6.359 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5593, allocations: 0 / 0.5247 GB, free: 6.359 MB / 346.7 MB Notification: Performance of Templates: time 0.01666/0.576, allocations: 7.469 MB / 0.532 GB, free: 15.76 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)