Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") [: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.003814/0.003814, allocations: 182.9 kB / 7.456 MB, free: 2.504 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.367/1.367, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.001791/0.001791, allocations: 110.6 kB / 247.1 MB, free: 6.371 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.1666/0.1666, allocations: 39.94 MB / 331.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.872e-06/6.903e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09318, allocations: 54.88 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2994/0.3926, allocations: 100 MB / 0.5348 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.3929, allocations: 79.5 kB / 0.5349 GB, free: 0.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2915/0.6844, allocations: 110.7 MB / 0.6431 GB, free: 9.551 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005148/0.685, allocations: 107.9 kB / 0.6432 GB, free: 9.445 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.01925/0.7042, allocations: 5.405 MB / 0.6484 GB, free: 3.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.7043, allocations: 12.03 kB / 0.6484 GB, free: 3.961 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02753/0.7318, allocations: 6.578 MB / 0.6549 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/0.7507, allocations: 6.938 MB / 0.6616 GB, free: 6.359 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004467/0.7512, allocations: 180 kB / 0.6618 GB, free: 6.184 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/0.7541, allocations: 327.8 kB / 0.6621 GB, free: 5.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1842/0.9383, allocations: 7.695 MB / 0.6696 GB, free: 149.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02076/0.9591, allocations: 11.97 MB / 0.6813 GB, free: 146.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.9593, allocations: 78.94 kB / 0.6814 GB, free: 146.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006915/0.96, allocations: 40.34 kB / 0.6814 GB, free: 146.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001336/0.9614, allocations: 1.34 MB / 0.6828 GB, free: 146.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0564/1.018, allocations: 58.66 MB / 0.74 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/1.022, allocations: 3.743 MB / 0.7437 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/1.025, allocations: 2.388 MB / 0.746 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/1.036, allocations: 6.97 MB / 0.7528 GB, free: 105.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.037, allocations: 56.88 kB / 0.7529 GB, free: 105 MB / 474.7 MB Notification: Performance of pre-optimization done (n=174): time 4.919e-06/1.037, allocations: 3.281 kB / 0.7529 GB, free: 105 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.02871/1.065, allocations: 16.9 MB / 0.7694 GB, free: 97.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/1.065, allocations: 230.2 kB / 0.7696 GB, free: 97.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005629/1.071, allocations: 4.213 MB / 0.7737 GB, free: 95.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/1.071, allocations: 25.7 kB / 0.7738 GB, free: 95.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.073, allocations: 3.847 MB / 0.7775 GB, free: 92.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007036/1.074, allocations: 0.734 MB / 0.7782 GB, free: 92.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/1.074, allocations: 0 / 0.7782 GB, free: 92.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003003/1.075, allocations: 0.6223 MB / 0.7788 GB, free: 91.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/1.077, allocations: 2.244 MB / 0.781 GB, free: 90.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004743/1.082, allocations: 6.906 MB / 0.7878 GB, free: 83.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005434/1.087, allocations: 3.943 MB / 0.7916 GB, free: 80.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.676e-05/1.088, allocations: 48 kB / 0.7917 GB, free: 80.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=972) (initialization): time 0.01443/1.102, allocations: 8.429 MB / 0.7999 GB, free: 72.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.102, allocations: 4 kB / 0.7999 GB, free: 72.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003887/1.102, allocations: 168 kB / 0.8001 GB, free: 72.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/1.104, allocations: 0.6138 MB / 0.8007 GB, free: 72.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005958/1.11, allocations: 1.693 MB / 0.8023 GB, free: 70.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/1.116, allocations: 5.458 MB / 0.8077 GB, free: 65.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006206/1.122, allocations: 228.3 kB / 0.8079 GB, free: 65.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.123, allocations: 463.4 kB / 0.8083 GB, free: 64.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (920): * Single equations (assignments): 915 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001838/1.125, allocations: 0.5121 MB / 0.8088 GB, free: 64.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.127, allocations: 422.5 kB / 0.8092 GB, free: 64.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/1.132, allocations: 2.881 MB / 0.812 GB, free: 61.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-05/1.132, allocations: 23.38 kB / 0.812 GB, free: 61.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.868e-05/1.132, allocations: 11.84 kB / 0.8121 GB, free: 61.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/1.132, allocations: 7.031 kB / 0.8121 GB, free: 61.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.15, allocations: 7.213 MB / 0.8191 GB, free: 55.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.15, allocations: 4 kB / 0.8191 GB, free: 55.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.151, allocations: 260.3 kB / 0.8194 GB, free: 55.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/1.152, allocations: 354.9 kB / 0.8197 GB, free: 55.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/1.153, allocations: 4 kB / 0.8197 GB, free: 55.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/1.157, allocations: 4.773 MB / 0.8244 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.157, allocations: 0 / 0.8244 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007479/1.165, allocations: 5.606 MB / 0.8298 GB, free: 45.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.167, allocations: 0.6989 MB / 0.8305 GB, free: 44.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001576/1.169, allocations: 7.906 kB / 0.8305 GB, free: 44.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.171, allocations: 48.05 kB / 0.8306 GB, free: 44.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/1.171, allocations: 81.59 kB / 0.8307 GB, free: 44.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.171, allocations: 47.94 kB / 0.8307 GB, free: 44.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004136/1.175, allocations: 2.863 MB / 0.8335 GB, free: 42.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006886/1.182, allocations: 1.04 MB / 0.8345 GB, free: 41.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005104/1.183, allocations: 150.8 kB / 0.8347 GB, free: 41.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008288/1.191, allocations: 5.47 MB / 0.84 GB, free: 36.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/1.191, allocations: 0 / 0.84 GB, free: 36.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.193, allocations: 1.632 MB / 0.8416 GB, free: 34.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/1.196, allocations: 462.7 kB / 0.842 GB, free: 34.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.217, allocations: 9.56 MB / 0.8514 GB, free: 25.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006601/1.224, allocations: 4.564 MB / 0.8558 GB, free: 22.17 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/1.224, allocations: 0 / 0.8558 GB, free: 22.17 MB / 474.7 MB Notification: Performance of Templates: time 0.269/1.493, allocations: 42.09 MB / 0.8969 GB, free: 130.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)