Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.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.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") [: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.003751/0.003751, allocations: 190.1 kB / 7.458 MB, free: 2.246 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.212/1.212, allocations: 194.2 MB / 202.1 MB, free: 8.738 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.001796/0.001795, allocations: 123.3 kB / 247.1 MB, free: 6.238 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.1684/0.1684, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.026e-05, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.4308, allocations: 99.24 MB / 0.5341 GB, free: 1.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4311, allocations: 74.33 kB / 0.5341 GB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1381/0.5692, allocations: 54.23 MB / 0.5871 GB, free: 3.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001328/0.5694, allocations: 52 kB / 0.5871 GB, free: 3.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.007292/0.5767, allocations: 2.603 MB / 0.5897 GB, free: 440 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5767, allocations: 8.031 kB / 0.5897 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.5793, allocations: 427.9 kB / 0.5901 GB, free: 0 / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/0.5831, allocations: 1.548 MB / 0.5916 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5832, allocations: 92 kB / 0.5917 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006436/0.5839, allocations: 160 kB / 0.5919 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006821/0.5907, allocations: 3.89 MB / 0.5957 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007876/0.5986, allocations: 5.03 MB / 0.6006 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.805e-05/0.5987, allocations: 11.88 kB / 0.6006 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.599, allocations: 12 kB / 0.6006 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008538/0.5999, allocations: 0.5398 MB / 0.6011 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.6275, allocations: 20.19 MB / 0.6208 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.629, allocations: 0.8378 MB / 0.6216 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.6299, allocations: 0.6441 MB / 0.6223 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006511/0.6364, allocations: 4.67 MB / 0.6268 GB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.6364, allocations: 43.05 kB / 0.6269 GB, free: 9.035 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 3.165e-06/0.6365, allocations: 0 / 0.6269 GB, free: 9.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.01813/0.6546, allocations: 5.636 MB / 0.6324 GB, free: 3.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.6547, allocations: 85.89 kB / 0.6325 GB, free: 3.281 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.6581, allocations: 1.433 MB / 0.6339 GB, free: 1.844 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6583, allocations: 33.64 kB / 0.6339 GB, free: 1.805 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.6596, allocations: 1.627 MB / 0.6355 GB, free: 156 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000515/0.6602, allocations: 339.6 kB / 0.6358 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.6604, allocations: 0 / 0.6358 GB, free: 15.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003691/0.6608, allocations: 472.7 kB / 0.6363 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.6624, allocations: 0.8647 MB / 0.6371 GB, free: 14.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/0.665, allocations: 2.504 MB / 0.6395 GB, free: 11.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.6683, allocations: 1.675 MB / 0.6412 GB, free: 9.465 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.032e-05/0.6684, allocations: 16 kB / 0.6412 GB, free: 9.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.006219/0.6746, allocations: 3.28 MB / 0.6444 GB, free: 6.156 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6746, allocations: 4 kB / 0.6444 GB, free: 6.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.392e-05/0.6747, allocations: 60 kB / 0.6445 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.701e-05/0.6748, allocations: 87.94 kB / 0.6445 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.6773, allocations: 0.6905 MB / 0.6452 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.6775, allocations: 119.6 kB / 0.6453 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.6793, allocations: 83.78 kB / 0.6454 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.6796, allocations: 172 kB / 0.6456 GB, free: 4.949 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 366 * 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.0003495/0.6799, allocations: 266.5 kB / 0.6458 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.6801, allocations: 154 kB / 0.646 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.6828, allocations: 1.508 MB / 0.6475 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.6828, allocations: 11.94 kB / 0.6475 GB, free: 2.992 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6828, allocations: 4 kB / 0.6475 GB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6828, allocations: 7.984 kB / 0.6475 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00787/0.6907, allocations: 4.124 MB / 0.6515 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.6908, allocations: 8 kB / 0.6515 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.6918, allocations: 192.3 kB / 0.6517 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.6918, allocations: 8 kB / 0.6517 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.6919, allocations: 12 kB / 0.6517 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.6919, allocations: 15.92 kB / 0.6517 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.6919, allocations: 4 kB / 0.6517 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002795/0.6947, allocations: 1.836 MB / 0.6535 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.6951, allocations: 223.1 kB / 0.6537 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.6953, allocations: 4 kB / 0.6537 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.696, allocations: 27.95 kB / 0.6538 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.6962, allocations: 56.5 kB / 0.6538 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.6962, allocations: 35.98 kB / 0.6539 GB, free: 12.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001411/0.6977, allocations: 0.9562 MB / 0.6548 GB, free: 11.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002207/0.6999, allocations: 479.9 kB / 0.6552 GB, free: 10.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0003831/0.7003, allocations: 174.9 kB / 0.6554 GB, free: 10.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.7033, allocations: 2.012 MB / 0.6574 GB, free: 8.473 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7033, allocations: 0 / 0.6574 GB, free: 8.473 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007225/0.704, allocations: 0.5744 MB / 0.6579 GB, free: 7.898 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.7048, allocations: 150.4 kB / 0.6581 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008299/0.7131, allocations: 3.926 MB / 0.6619 GB, free: 3.707 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002846/0.716, allocations: 2.352 MB / 0.6642 GB, free: 1.324 MB / 474.7 MB Notification: Performance of SimCode: time 8.61e-07/0.716, allocations: 0 / 0.6642 GB, free: 1.324 MB / 474.7 MB Notification: Performance of Templates: time 0.1779/0.894, allocations: 17.32 MB / 0.6811 GB, free: 183.3 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)