Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") [: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.002235/0.002235, allocations: 187.3 kB / 7.458 MB, free: 2.199 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.248/1.248, allocations: 194.2 MB / 202.1 MB, free: 8.727 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.00191/0.001911, allocations: 118.5 kB / 247.1 MB, free: 6.379 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.1786/0.1786, allocations: 39.94 MB / 331.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.303e-06/7.424e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 54.87 MB / 447.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2922/0.3934, allocations: 100.1 MB / 0.5349 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.3936, allocations: 79.33 kB / 0.535 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3278/0.7214, allocations: 126.6 MB / 0.6586 GB, free: 9.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006159/0.7221, allocations: 128 kB / 0.6587 GB, free: 9.445 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.0246/0.7467, allocations: 6.32 MB / 0.6649 GB, free: 3.051 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7468, allocations: 8.031 kB / 0.6649 GB, free: 3.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1922/0.939, allocations: 6.718 MB / 0.6715 GB, free: 141.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/0.9595, allocations: 7.306 MB / 0.6786 GB, free: 141 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006448/0.9603, allocations: 221 kB / 0.6788 GB, free: 141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004023/0.9643, allocations: 399.6 kB / 0.6792 GB, free: 141 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/0.9841, allocations: 9.922 MB / 0.6889 GB, free: 140.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/1.017, allocations: 14.42 MB / 0.703 GB, free: 137.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004764/1.018, allocations: 81.92 kB / 0.703 GB, free: 137.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002647/1.021, allocations: 33.03 kB / 0.7031 GB, free: 137.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/1.023, allocations: 1.675 MB / 0.7047 GB, free: 137.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07554/1.098, allocations: 65.17 MB / 0.7683 GB, free: 97.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/1.106, allocations: 6.181 MB / 0.7744 GB, free: 95.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005326/1.112, allocations: 4.364 MB / 0.7786 GB, free: 91.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02032/1.132, allocations: 11.64 MB / 0.79 GB, free: 81.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.395e-05/1.132, allocations: 68.36 kB / 0.7901 GB, free: 81.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 7.624e-06/1.132, allocations: 0 / 0.7901 GB, free: 81.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=349): time 0.05989/1.192, allocations: 25.86 MB / 0.8153 GB, free: 59.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/1.192, allocations: 216.4 kB / 0.8155 GB, free: 59.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005974/1.198, allocations: 3.959 MB / 0.8194 GB, free: 55.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009073/1.199, allocations: 25.7 kB / 0.8194 GB, free: 55.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/1.201, allocations: 4.123 MB / 0.8235 GB, free: 52.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.203, allocations: 1.245 MB / 0.8247 GB, free: 51.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/1.203, allocations: 2.344 kB / 0.8247 GB, free: 51.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003445/1.203, allocations: 0.6644 MB / 0.8253 GB, free: 50.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/1.207, allocations: 3.557 MB / 0.8288 GB, free: 47.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005747/1.213, allocations: 8.212 MB / 0.8368 GB, free: 37.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/1.22, allocations: 5.379 MB / 0.8421 GB, free: 32.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-05/1.22, allocations: 52 kB / 0.8421 GB, free: 32.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=1111) (initialization): time 0.02255/1.243, allocations: 12.14 MB / 0.854 GB, free: 22.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.243, allocations: 4 kB / 0.854 GB, free: 22.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/1.243, allocations: 164 kB / 0.8541 GB, free: 22.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00402/1.247, allocations: 1.606 MB / 0.8557 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007598/1.255, allocations: 1.96 MB / 0.8576 GB, free: 19.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/1.268, allocations: 10.42 MB / 0.8678 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008578/1.276, allocations: 275.5 kB / 0.8681 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/1.279, allocations: 0.496 MB / 0.8685 GB, free: 8.316 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 752 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1039): * Single equations (assignments): 1034 * 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.003312/1.282, allocations: 0.5266 MB / 0.869 GB, free: 7.785 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.284, allocations: 465.6 kB / 0.8695 GB, free: 7.328 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.298, allocations: 7.139 MB / 0.8765 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.298, allocations: 32 kB / 0.8765 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/1.298, allocations: 16 kB / 0.8765 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/1.298, allocations: 23.83 kB / 0.8765 GB, free: 80 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2207/1.519, allocations: 14.61 MB / 0.8908 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/1.519, allocations: 3.906 kB / 0.8908 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/1.522, allocations: 0.5675 MB / 0.8914 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003458/1.526, allocations: 1.316 MB / 0.8926 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004596/1.526, allocations: 16.45 kB / 0.8927 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.537, allocations: 9.634 MB / 0.9021 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.537, allocations: 7 kB / 0.9021 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01673/1.554, allocations: 11.86 MB / 0.9137 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/1.557, allocations: 1.028 MB / 0.9147 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000729/1.557, allocations: 3.406 kB / 0.9147 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.56, allocations: 136.3 kB / 0.9148 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004036/1.56, allocations: 166.3 kB / 0.915 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002728/1.561, allocations: 86.33 kB / 0.915 GB, free: 120.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003849/1.564, allocations: 2.663 MB / 0.9176 GB, free: 120 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00834/1.573, allocations: 1.386 MB / 0.919 GB, free: 120 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 (295): * Single equations (assignments): 290 * 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.0009203/1.574, allocations: 150.4 kB / 0.9191 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01415/1.588, allocations: 8.846 MB / 0.9278 GB, free: 119.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.588, allocations: 5.688 kB / 0.9278 GB, free: 119.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005239/1.593, allocations: 3.635 MB / 0.9313 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.596, allocations: 473 kB / 0.9318 GB, free: 118.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/1.624, allocations: 13 MB / 0.9445 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008973/1.633, allocations: 5.326 MB / 0.9497 GB, free: 112.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.272e-06/1.633, allocations: 0 / 0.9497 GB, free: 112.4 MB / 474.7 MB Notification: Performance of Templates: time 0.1063/1.739, allocations: 63.07 MB / 1.011 GB, free: 69.43 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)