Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") [: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.002757/0.002757, allocations: 180.2 kB / 7.455 MB, free: 2.508 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.158/1.158, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001753/0.001753, allocations: 117.8 kB / 247.1 MB, free: 6.375 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.1541/0.1541, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.113e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.09947, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4231, allocations: 98.74 MB / 0.5336 GB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4234, allocations: 73.22 kB / 0.5337 GB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3457/0.7691, allocations: 132.5 MB / 0.6631 GB, free: 4.984 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002941/0.7694, allocations: 132 kB / 0.6632 GB, free: 4.855 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.2318/1.001, allocations: 6.561 MB / 0.6696 GB, free: 136.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.001, allocations: 10.56 kB / 0.6696 GB, free: 136.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03472/1.036, allocations: 9.089 MB / 0.6785 GB, free: 135.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/1.057, allocations: 8.819 MB / 0.6871 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/1.057, allocations: 228.2 kB / 0.6873 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/1.06, allocations: 407.6 kB / 0.6877 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01643/1.076, allocations: 9.38 MB / 0.6969 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02962/1.106, allocations: 14.38 MB / 0.7109 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003792/1.106, allocations: 94.94 kB / 0.711 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/1.108, allocations: 49.12 kB / 0.711 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/1.11, allocations: 1.572 MB / 0.7126 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07535/1.185, allocations: 69.28 MB / 0.7802 GB, free: 85.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00628/1.191, allocations: 5.033 MB / 0.7851 GB, free: 82.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003614/1.195, allocations: 3.391 MB / 0.7885 GB, free: 79.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/1.21, allocations: 9.658 MB / 0.7979 GB, free: 71.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.21, allocations: 62.38 kB / 0.7979 GB, free: 71.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 6.151e-06/1.21, allocations: 0 / 0.7979 GB, free: 71.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.04004/1.25, allocations: 22.73 MB / 0.8201 GB, free: 51.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/1.25, allocations: 261 kB / 0.8204 GB, free: 50.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00624/1.257, allocations: 4.853 MB / 0.8251 GB, free: 46.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004695/1.257, allocations: 29.7 kB / 0.8252 GB, free: 46.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/1.259, allocations: 4.467 MB / 0.8295 GB, free: 42.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009023/1.26, allocations: 0.9576 MB / 0.8305 GB, free: 41.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/1.26, allocations: 0 / 0.8305 GB, free: 41.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003486/1.261, allocations: 0.6748 MB / 0.8311 GB, free: 41.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/1.264, allocations: 2.753 MB / 0.8338 GB, free: 38.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004868/1.269, allocations: 8.03 MB / 0.8416 GB, free: 28.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005223/1.274, allocations: 4.702 MB / 0.8462 GB, free: 24.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.666e-05/1.274, allocations: 56 kB / 0.8463 GB, free: 24.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.01696/1.291, allocations: 10.12 MB / 0.8562 GB, free: 15.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.291, allocations: 7.188 kB / 0.8562 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.291, allocations: 188 kB / 0.8564 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/1.293, allocations: 0.8173 MB / 0.8572 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006649/1.299, allocations: 1.952 MB / 0.8591 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008031/1.308, allocations: 7.842 MB / 0.8667 GB, free: 5.566 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008014/1.316, allocations: 270.8 kB / 0.867 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/1.318, allocations: 0.5287 MB / 0.8675 GB, free: 4.816 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1062): * Single equations (assignments): 1056 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002447/1.32, allocations: 0.5581 MB / 0.868 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.322, allocations: 0.5087 MB / 0.8685 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2085/1.53, allocations: 4.142 MB / 0.8726 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.827e-05/1.53, allocations: 27.31 kB / 0.8726 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/1.53, allocations: 7.922 kB / 0.8726 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.275e-05/1.531, allocations: 18.8 kB / 0.8726 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.547, allocations: 9.749 MB / 0.8822 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.547, allocations: 2.344 kB / 0.8822 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.549, allocations: 388 kB / 0.8825 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/1.55, allocations: 0.5004 MB / 0.883 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/1.551, allocations: 10.09 kB / 0.883 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/1.557, allocations: 6.925 MB / 0.8898 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.557, allocations: 0 / 0.8898 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0092/1.566, allocations: 7.522 MB / 0.8971 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/1.569, allocations: 0.8695 MB / 0.898 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.571, allocations: 6.547 kB / 0.898 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.573, allocations: 82 kB / 0.8981 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.573, allocations: 120.8 kB / 0.8982 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/1.573, allocations: 64.73 kB / 0.8982 GB, free: 117 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005249/1.578, allocations: 3.307 MB / 0.9015 GB, free: 116.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007517/1.586, allocations: 1.29 MB / 0.9027 GB, free: 116.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 205 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005128/1.587, allocations: 147.8 kB / 0.9029 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009395/1.596, allocations: 6.83 MB / 0.9095 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.596, allocations: 5.625 kB / 0.9095 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/1.598, allocations: 2.272 MB / 0.9118 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.601, allocations: 0.5817 MB / 0.9123 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.623, allocations: 11.95 MB / 0.924 GB, free: 113.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007751/1.63, allocations: 5.431 MB / 0.9293 GB, free: 113 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/1.631, allocations: 0 / 0.9293 GB, free: 113 MB / 474.7 MB Notification: Performance of Templates: time 0.1045/1.735, allocations: 53.49 MB / 0.9815 GB, free: 91.38 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)