Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.002519/0.002519, allocations: 178.8 kB / 7.451 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.036/1.036, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001661/0.00166, allocations: 111.8 kB / 217.7 MB, free: 8.164 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1693/0.1693, allocations: 37.96 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.134e-06, allocations: 1.125 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.4859, allocations: 91.94 MB / 490.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4862, allocations: 75.3 kB / 490.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3649/0.8511, allocations: 132.4 MB / 0.608 GB, free: 8.254 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006838/0.8518, allocations: 143.9 kB / 0.6082 GB, free: 8.117 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02637/0.8782, allocations: 6.559 MB / 0.6146 GB, free: 1.496 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.8783, allocations: 8.031 kB / 0.6146 GB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.255/1.133, allocations: 9.09 MB / 0.6235 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02612/1.159, allocations: 8.816 MB / 0.6321 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/1.16, allocations: 219.9 kB / 0.6323 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/1.163, allocations: 408.4 kB / 0.6327 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01724/1.18, allocations: 9.379 MB / 0.6418 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/1.208, allocations: 14.38 MB / 0.6559 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004049/1.208, allocations: 98 kB / 0.656 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/1.21, allocations: 44.03 kB / 0.656 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/1.212, allocations: 1.572 MB / 0.6575 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08762/1.3, allocations: 69.24 MB / 0.7252 GB, free: 56.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/1.308, allocations: 5.042 MB / 0.7301 GB, free: 53.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005264/1.313, allocations: 3.387 MB / 0.7334 GB, free: 52.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02191/1.335, allocations: 9.66 MB / 0.7428 GB, free: 47.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.606e-05/1.336, allocations: 56.06 kB / 0.7429 GB, free: 47.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=236): time 8.926e-06/1.336, allocations: 0 / 0.7429 GB, free: 47.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.05516/1.391, allocations: 22.72 MB / 0.7651 GB, free: 29.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.391, allocations: 264.4 kB / 0.7653 GB, free: 29.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008889/1.4, allocations: 4.875 MB / 0.7701 GB, free: 24.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007888/1.401, allocations: 25.7 kB / 0.7701 GB, free: 24.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.404, allocations: 4.454 MB / 0.7744 GB, free: 20.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001627/1.405, allocations: 0.9671 MB / 0.7754 GB, free: 19.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/1.406, allocations: 2.219 kB / 0.7754 GB, free: 19.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004601/1.406, allocations: 0.6689 MB / 0.776 GB, free: 19.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/1.41, allocations: 2.754 MB / 0.7787 GB, free: 16.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006159/1.416, allocations: 8.025 MB / 0.7866 GB, free: 6.773 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007626/1.424, allocations: 4.713 MB / 0.7912 GB, free: 2.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000174/1.424, allocations: 52 kB / 0.7912 GB, free: 2.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.269/1.693, allocations: 10.11 MB / 0.8011 GB, free: 90.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.693, allocations: 6.812 kB / 0.8011 GB, free: 90.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004832/1.693, allocations: 186.4 kB / 0.8013 GB, free: 90.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/1.695, allocations: 0.8125 MB / 0.8021 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007353/1.703, allocations: 1.959 MB / 0.804 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/1.711, allocations: 7.846 MB / 0.8117 GB, free: 86.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008086/1.72, allocations: 272.7 kB / 0.8119 GB, free: 86.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002082/1.722, allocations: 0.5214 MB / 0.8124 GB, free: 86.46 MB / 426.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.003048/1.725, allocations: 0.5579 MB / 0.813 GB, free: 86.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/1.727, allocations: 0.5033 MB / 0.8135 GB, free: 86.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009013/1.736, allocations: 4.156 MB / 0.8175 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.403e-05/1.736, allocations: 25.75 kB / 0.8175 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.85e-05/1.736, allocations: 10.56 kB / 0.8176 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/1.736, allocations: 17.41 kB / 0.8176 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02662/1.762, allocations: 9.749 MB / 0.8271 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.762, allocations: 0 / 0.8271 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.765, allocations: 386.1 kB / 0.8275 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/1.767, allocations: 0.4986 MB / 0.8279 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004571/1.767, allocations: 11.5 kB / 0.828 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/1.774, allocations: 6.93 MB / 0.8347 GB, free: 81.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.774, allocations: 1.875 kB / 0.8347 GB, free: 81.92 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01214/1.787, allocations: 7.53 MB / 0.8421 GB, free: 81.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003247/1.79, allocations: 0.8735 MB / 0.8429 GB, free: 80.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002029/1.792, allocations: 7.062 kB / 0.8429 GB, free: 80.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/1.795, allocations: 76.19 kB / 0.843 GB, free: 80.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/1.795, allocations: 123.6 kB / 0.8431 GB, free: 80.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.795, allocations: 63.88 kB / 0.8432 GB, free: 80.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007253/1.803, allocations: 3.319 MB / 0.8464 GB, free: 80.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01057/1.813, allocations: 1.283 MB / 0.8477 GB, free: 80.68 MB / 426.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.0008128/1.814, allocations: 143.9 kB / 0.8478 GB, free: 80.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.826, allocations: 6.838 MB / 0.8545 GB, free: 80.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.826, allocations: 0 / 0.8545 GB, free: 80.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/1.829, allocations: 2.272 MB / 0.8567 GB, free: 79.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/1.833, allocations: 0.585 MB / 0.8573 GB, free: 79.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/1.862, allocations: 11.95 MB / 0.869 GB, free: 76.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/1.874, allocations: 5.432 MB / 0.8743 GB, free: 74.89 MB / 426.7 MB Notification: Performance of SimCode: time 3.306e-06/1.874, allocations: 0 / 0.8743 GB, free: 74.89 MB / 426.7 MB Notification: Performance of Templates: time 0.1192/1.993, allocations: 53.48 MB / 0.9265 GB, free: 48.11 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)