Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") [: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.00229/0.00229, allocations: 186.9 kB / 7.46 MB, free: 2.234 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.171/1.171, allocations: 194.2 MB / 202.1 MB, free: 8.719 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.001738/0.001738, allocations: 119.1 kB / 247.1 MB, free: 6.285 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.1734/0.1734, allocations: 39.93 MB / 331.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.098e-05/1.111e-05, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 54.87 MB / 447.6 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4532, allocations: 98.93 MB / 0.5338 GB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4535, allocations: 79.02 kB / 0.5338 GB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.576/1.029, allocations: 138.3 MB / 0.6689 GB, free: 82.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004913/1.03, allocations: 139.8 kB / 0.669 GB, free: 82.79 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: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.02272/1.053, allocations: 6.774 MB / 0.6756 GB, free: 81.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.053, allocations: 10.7 kB / 0.6756 GB, free: 81.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03466/1.087, allocations: 9.134 MB / 0.6845 GB, free: 81.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02136/1.109, allocations: 8.927 MB / 0.6933 GB, free: 80.56 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/1.109, allocations: 230.5 kB / 0.6935 GB, free: 80.56 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/1.112, allocations: 432.3 kB / 0.6939 GB, free: 80.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01664/1.128, allocations: 9.759 MB / 0.7034 GB, free: 80.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/1.155, allocations: 14.91 MB / 0.718 GB, free: 76.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003188/1.156, allocations: 95.48 kB / 0.7181 GB, free: 76.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009213/1.157, allocations: 44.66 kB / 0.7181 GB, free: 76.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/1.158, allocations: 1.65 MB / 0.7197 GB, free: 76.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07367/1.232, allocations: 71.1 MB / 0.7892 GB, free: 28.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007008/1.239, allocations: 5.053 MB / 0.7941 GB, free: 25.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005645/1.245, allocations: 3.443 MB / 0.7974 GB, free: 24.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/1.261, allocations: 9.779 MB / 0.807 GB, free: 16.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/1.262, allocations: 66.5 kB / 0.8071 GB, free: 16.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=243): time 5.29e-06/1.262, allocations: 0 / 0.8071 GB, free: 16.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.04898/1.311, allocations: 23.31 MB / 0.8298 GB, free: 11.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/1.311, allocations: 265.1 kB / 0.8301 GB, free: 10.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/1.322, allocations: 4.98 MB / 0.8349 GB, free: 6.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008357/1.323, allocations: 25.7 kB / 0.835 GB, free: 6.543 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004508/1.328, allocations: 4.641 MB / 0.8395 GB, free: 2.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/1.33, allocations: 0.9841 MB / 0.8405 GB, free: 1.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/1.331, allocations: 0 / 0.8405 GB, free: 1.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009843/1.332, allocations: 0.6825 MB / 0.8411 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01339/1.345, allocations: 3.534 MB / 0.8446 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0134/1.359, allocations: 8.318 MB / 0.8527 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009728/1.368, allocations: 4.854 MB / 0.8574 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002203/1.369, allocations: 60.52 kB / 0.8575 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.1966/1.565, allocations: 10.51 MB / 0.8678 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.565, allocations: 3.875 kB / 0.8678 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/1.565, allocations: 200 kB / 0.868 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/1.567, allocations: 0.8481 MB / 0.8688 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006917/1.574, allocations: 2.042 MB / 0.8708 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008546/1.583, allocations: 8.066 MB / 0.8787 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007475/1.59, allocations: 281.5 kB / 0.8789 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.592, allocations: 0.5345 MB / 0.8795 GB, free: 148.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 891 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1094): * Single equations (assignments): 1088 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001344/1.593, allocations: 0.5862 MB / 0.88 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.594, allocations: 0.514 MB / 0.8805 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/1.601, allocations: 4.352 MB / 0.8848 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.617e-05/1.602, allocations: 25.19 kB / 0.8848 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/1.602, allocations: 7.656 kB / 0.8848 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.602, allocations: 11.77 kB / 0.8848 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/1.622, allocations: 10.13 MB / 0.8947 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/1.622, allocations: 3.844 kB / 0.8947 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/1.625, allocations: 410.8 kB / 0.8951 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/1.627, allocations: 0.5334 MB / 0.8956 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/1.627, allocations: 14.81 kB / 0.8956 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006952/1.634, allocations: 7.141 MB / 0.9026 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.634, allocations: 3.688 kB / 0.9026 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01006/1.644, allocations: 7.819 MB / 0.9103 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.647, allocations: 0.8866 MB / 0.9111 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008127/1.647, allocations: 3.688 kB / 0.9111 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/1.65, allocations: 85.55 kB / 0.9112 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/1.65, allocations: 130.9 kB / 0.9113 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.65, allocations: 72.42 kB / 0.9114 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004931/1.655, allocations: 3.39 MB / 0.9147 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006258/1.662, allocations: 1.329 MB / 0.916 GB, free: 142.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(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.0004472/1.662, allocations: 147.1 kB / 0.9161 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008423/1.671, allocations: 7.089 MB / 0.9231 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.671, allocations: 3.156 kB / 0.9231 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/1.673, allocations: 2.399 MB / 0.9254 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.676, allocations: 0.5783 MB / 0.926 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/1.7, allocations: 12.34 MB / 0.938 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006889/1.707, allocations: 5.622 MB / 0.9435 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/1.707, allocations: 0 / 0.9435 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.09867/1.805, allocations: 55.06 MB / 0.9973 GB, free: 96.13 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)