Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") [: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.003139/0.003139, allocations: 187.2 kB / 7.456 MB, free: 2.242 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.249/1.249, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.001945/0.001945, allocations: 113.4 kB / 247.1 MB, free: 6.324 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.1765/0.1765, allocations: 39.94 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.543e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09475, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4009, allocations: 100.5 MB / 0.5353 GB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.4011, allocations: 77.39 kB / 0.5354 GB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3374/0.7386, allocations: 128.6 MB / 0.661 GB, free: 6.973 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004799/0.7391, allocations: 139.9 kB / 0.6611 GB, free: 6.836 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02218/0.7613, allocations: 6.387 MB / 0.6674 GB, free: 384 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7613, allocations: 12.03 kB / 0.6674 GB, free: 372 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1965/0.9578, allocations: 6.747 MB / 0.674 GB, free: 141 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/0.9759, allocations: 7.298 MB / 0.6811 GB, free: 140.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.9763, allocations: 223 kB / 0.6813 GB, free: 140.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/0.979, allocations: 398.1 kB / 0.6817 GB, free: 140.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01521/0.9943, allocations: 9.808 MB / 0.6913 GB, free: 140.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/1.02, allocations: 14.67 MB / 0.7056 GB, free: 137 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/1.021, allocations: 87.53 kB / 0.7057 GB, free: 137 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/1.022, allocations: 40.34 kB / 0.7057 GB, free: 137 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001663/1.024, allocations: 1.665 MB / 0.7073 GB, free: 137 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0716/1.095, allocations: 68.44 MB / 0.7742 GB, free: 93.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006203/1.101, allocations: 5.905 MB / 0.7799 GB, free: 90.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003797/1.105, allocations: 4.126 MB / 0.784 GB, free: 86.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/1.121, allocations: 11.26 MB / 0.795 GB, free: 77.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.121, allocations: 63.42 kB / 0.795 GB, free: 77.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=272): time 6.241e-06/1.121, allocations: 0 / 0.795 GB, free: 77.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=314): time 0.05256/1.174, allocations: 26.3 MB / 0.8207 GB, free: 54.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/1.174, allocations: 210 kB / 0.8209 GB, free: 54.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00627/1.18, allocations: 4.39 MB / 0.8252 GB, free: 50.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008616/1.181, allocations: 25.7 kB / 0.8252 GB, free: 50.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.183, allocations: 4.36 MB / 0.8295 GB, free: 46.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001755/1.185, allocations: 1.149 MB / 0.8306 GB, free: 45.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/1.185, allocations: 0 / 0.8306 GB, free: 45.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004196/1.186, allocations: 0.6815 MB / 0.8313 GB, free: 45.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.19, allocations: 3.693 MB / 0.8349 GB, free: 41.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006563/1.197, allocations: 8.708 MB / 0.8434 GB, free: 31.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007434/1.204, allocations: 5.632 MB / 0.8489 GB, free: 26.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/1.204, allocations: 48 kB / 0.8489 GB, free: 26.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02271/1.227, allocations: 12.65 MB / 0.8613 GB, free: 15.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.227, allocations: 8.781 kB / 0.8613 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002757/1.228, allocations: 180 kB / 0.8615 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003784/1.231, allocations: 1.617 MB / 0.863 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007928/1.239, allocations: 2.105 MB / 0.8651 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.251, allocations: 10.44 MB / 0.8753 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00764/1.259, allocations: 303.5 kB / 0.8756 GB, free: 324 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1882/1.447, allocations: 0.5179 MB / 0.8761 GB, free: 122.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1078 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00235/1.45, allocations: 0.545 MB / 0.8766 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.451, allocations: 479.9 kB / 0.8771 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.462, allocations: 7.029 MB / 0.8839 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.894e-05/1.462, allocations: 29.31 kB / 0.884 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.462, allocations: 10.03 kB / 0.884 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/1.462, allocations: 17.36 kB / 0.884 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/1.488, allocations: 14.29 MB / 0.898 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.488, allocations: 3.812 kB / 0.898 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/1.492, allocations: 0.5531 MB / 0.8985 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003585/1.496, allocations: 1.316 MB / 0.8998 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006001/1.496, allocations: 14.7 kB / 0.8998 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/1.508, allocations: 9.656 MB / 0.9092 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.508, allocations: 2.344 kB / 0.9092 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01661/1.525, allocations: 11.76 MB / 0.9207 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/1.528, allocations: 1.057 MB / 0.9217 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.529, allocations: 7.25 kB / 0.9218 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.532, allocations: 146 kB / 0.9219 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/1.532, allocations: 138.4 kB / 0.922 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002717/1.533, allocations: 90.86 kB / 0.9221 GB, free: 118.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004818/1.538, allocations: 2.955 MB / 0.925 GB, free: 118.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007974/1.546, allocations: 1.415 MB / 0.9264 GB, free: 118.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 253 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006897/1.546, allocations: 150.7 kB / 0.9265 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01472/1.561, allocations: 9.054 MB / 0.9354 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.561, allocations: 0 / 0.9354 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00585/1.567, allocations: 3.572 MB / 0.9389 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.57, allocations: 490.9 kB / 0.9393 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/1.599, allocations: 13.17 MB / 0.9522 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009445/1.608, allocations: 5.371 MB / 0.9574 GB, free: 108.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.863e-06/1.609, allocations: 0 / 0.9574 GB, free: 108.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1109/1.719, allocations: 64.8 MB / 1.021 GB, free: 58.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)