Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") [: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.002778/0.002781, allocations: 181.4 kB / 7.457 MB, free: 2.473 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.143/1.143, 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.001691/0.001691, allocations: 117.6 kB / 247.1 MB, free: 6.414 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.1563/0.1563, allocations: 39.94 MB / 331.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.865e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08458, allocations: 54.88 MB / 447.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2736/0.3582, allocations: 100.7 MB / 0.5355 GB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.3585, allocations: 74.27 kB / 0.5355 GB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3288/0.6874, allocations: 127.6 MB / 0.6601 GB, free: 7.941 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008218/0.6883, allocations: 128 kB / 0.6603 GB, free: 7.816 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.02395/0.7123, allocations: 6.614 MB / 0.6667 GB, free: 1.125 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.7123, allocations: 12.03 kB / 0.6667 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1984/0.9107, allocations: 6.77 MB / 0.6733 GB, free: 140 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01784/0.9286, allocations: 7.509 MB / 0.6807 GB, free: 139.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.9289, allocations: 218.9 kB / 0.6809 GB, free: 139.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/0.9317, allocations: 395.9 kB / 0.6813 GB, free: 139.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01533/0.9471, allocations: 9.536 MB / 0.6906 GB, free: 139.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.9767, allocations: 14.61 MB / 0.7048 GB, free: 135.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003503/0.9771, allocations: 95.58 kB / 0.7049 GB, free: 135.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/0.9786, allocations: 45.19 kB / 0.705 GB, free: 135.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/0.9803, allocations: 1.645 MB / 0.7066 GB, free: 135.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06911/1.049, allocations: 71.04 MB / 0.776 GB, free: 89.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/1.056, allocations: 5.535 MB / 0.7814 GB, free: 86.63 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003921/1.06, allocations: 3.816 MB / 0.7851 GB, free: 84.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/1.075, allocations: 10.11 MB / 0.795 GB, free: 76.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.075, allocations: 60.28 kB / 0.795 GB, free: 75.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 6.261e-06/1.075, allocations: 2.625 kB / 0.795 GB, free: 75.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=298): time 0.04903/1.124, allocations: 25.62 MB / 0.82 GB, free: 53.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.124, allocations: 235.9 kB / 0.8203 GB, free: 53.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008444/1.133, allocations: 4.888 MB / 0.825 GB, free: 49.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000816/1.134, allocations: 29.64 kB / 0.8251 GB, free: 49.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002142/1.136, allocations: 4.52 MB / 0.8295 GB, free: 45.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001343/1.137, allocations: 1.101 MB / 0.8306 GB, free: 44.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/1.138, allocations: 0 / 0.8306 GB, free: 44.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003679/1.138, allocations: 0.7023 MB / 0.8312 GB, free: 43.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004443/1.142, allocations: 3.491 MB / 0.8347 GB, free: 40.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006875/1.149, allocations: 8.94 MB / 0.8434 GB, free: 29.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006739/1.156, allocations: 5.569 MB / 0.8488 GB, free: 24.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.669e-05/1.156, allocations: 52 kB / 0.8489 GB, free: 24.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=1214) (initialization): time 0.02111/1.177, allocations: 12.53 MB / 0.8611 GB, free: 13.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.177, allocations: 4 kB / 0.8611 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002933/1.178, allocations: 193 kB / 0.8613 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.182, allocations: 1.636 MB / 0.8629 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007775/1.19, allocations: 2.15 MB / 0.865 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.202, allocations: 10.27 MB / 0.875 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1773/1.379, allocations: 310.7 kB / 0.8753 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/1.381, allocations: 0.5535 MB / 0.8759 GB, free: 120.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1142): * Single equations (assignments): 1137 * 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.001959/1.383, allocations: 0.5871 MB / 0.8764 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.385, allocations: 0.5045 MB / 0.8769 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.396, allocations: 6.364 MB / 0.8831 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.985e-05/1.396, allocations: 28.94 kB / 0.8832 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.28e-05/1.396, allocations: 11.41 kB / 0.8832 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-05/1.396, allocations: 18.34 kB / 0.8832 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/1.423, allocations: 13.23 MB / 0.8961 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/1.423, allocations: 0 / 0.8961 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.425, allocations: 477.6 kB / 0.8966 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/1.429, allocations: 1.311 MB / 0.8979 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004525/1.429, allocations: 13.22 kB / 0.8979 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.441, allocations: 9.603 MB / 0.9072 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.441, allocations: 3.875 kB / 0.9072 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01363/1.455, allocations: 10.69 MB / 0.9177 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.457, allocations: 1.022 MB / 0.9187 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008329/1.458, allocations: 0 / 0.9187 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.46, allocations: 104.4 kB / 0.9188 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/1.461, allocations: 135.6 kB / 0.9189 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.461, allocations: 73.47 kB / 0.919 GB, free: 116.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004417/1.465, allocations: 3.3 MB / 0.9222 GB, free: 116.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006665/1.472, allocations: 1.406 MB / 0.9236 GB, free: 116.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (241): * Single equations (assignments): 236 * 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.0004818/1.472, allocations: 162 kB / 0.9237 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.484, allocations: 8.542 MB / 0.9321 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.484, allocations: 0 / 0.9321 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004524/1.488, allocations: 3.201 MB / 0.9352 GB, free: 113.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/1.491, allocations: 0.5103 MB / 0.9357 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/1.515, allocations: 13.04 MB / 0.9484 GB, free: 109.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00754/1.523, allocations: 5.434 MB / 0.9537 GB, free: 107.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.203e-06/1.523, allocations: 0 / 0.9537 GB, free: 107.7 MB / 474.7 MB Notification: Performance of Templates: time 0.1039/1.627, allocations: 62.64 MB / 1.015 GB, free: 63.03 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)