Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") [: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.002427/0.002427, allocations: 177.5 kB / 7.453 MB, free: 2.508 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.061/1.061, allocations: 170.6 MB / 178.4 MB, free: 15.71 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.001763/0.001763, allocations: 115.9 kB / 217.7 MB, free: 8.484 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.1476/0.1476, allocations: 37.97 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/8.916e-06, allocations: 2.281 kB / 349.5 MB, free: 37.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4714, allocations: 94.98 MB / 493.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4717, allocations: 73.91 kB / 493.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.6315/1.103, allocations: 146.8 MB / 0.625 GB, free: 64.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005067/1.104, allocations: 151.1 kB / 0.6252 GB, free: 64.66 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.02711/1.131, allocations: 7.314 MB / 0.6323 GB, free: 61.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.131, allocations: 14.59 kB / 0.6323 GB, free: 61.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03753/1.169, allocations: 9.221 MB / 0.6413 GB, free: 61.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02484/1.193, allocations: 9.206 MB / 0.6503 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005134/1.194, allocations: 248.3 kB / 0.6506 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006018/1.2, allocations: 452.7 kB / 0.651 GB, free: 60.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02495/1.225, allocations: 10.79 MB / 0.6615 GB, free: 60.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04354/1.269, allocations: 16.45 MB / 0.6776 GB, free: 55.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005802/1.269, allocations: 105.6 kB / 0.6777 GB, free: 55.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003752/1.273, allocations: 49.16 kB / 0.6777 GB, free: 55.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0026/1.276, allocations: 1.815 MB / 0.6795 GB, free: 55.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/1.388, allocations: 79.3 MB / 0.757 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007671/1.395, allocations: 6.283 MB / 0.7631 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004905/1.4, allocations: 4.421 MB / 0.7674 GB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02884/1.429, allocations: 11.96 MB / 0.7791 GB, free: 9.824 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.929e-05/1.429, allocations: 68.62 kB / 0.7792 GB, free: 9.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=301): time 6.572e-06/1.429, allocations: 0 / 0.7792 GB, free: 9.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=337): time 0.3204/1.75, allocations: 30.26 MB / 0.8087 GB, free: 117.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.75, allocations: 294.1 kB / 0.809 GB, free: 117 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.761, allocations: 5.195 MB / 0.8141 GB, free: 116.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/1.762, allocations: 25.7 kB / 0.8141 GB, free: 116.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004177/1.766, allocations: 4.931 MB / 0.8189 GB, free: 113.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00245/1.768, allocations: 1.237 MB / 0.8201 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008313/1.769, allocations: 0 / 0.8201 GB, free: 113.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006137/1.77, allocations: 0.7211 MB / 0.8208 GB, free: 112.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006051/1.776, allocations: 3.598 MB / 0.8243 GB, free: 112.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/1.786, allocations: 9.374 MB / 0.8335 GB, free: 105.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.797, allocations: 5.768 MB / 0.8391 GB, free: 105.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003/1.797, allocations: 60.31 kB / 0.8392 GB, free: 105.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=1286) (initialization): time 0.03192/1.829, allocations: 12.74 MB / 0.8516 GB, free: 104.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.829, allocations: 11.72 kB / 0.8516 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007093/1.83, allocations: 204.7 kB / 0.8518 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/1.834, allocations: 1.34 MB / 0.8531 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009632/1.844, allocations: 2.278 MB / 0.8554 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/1.857, allocations: 10.49 MB / 0.8656 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/1.869, allocations: 312.6 kB / 0.8659 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0039/1.873, allocations: 0.5818 MB / 0.8665 GB, free: 100.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 941 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],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 (1211): * Single equations (assignments): 1205 * 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 {(4,75.0%) 21,(1,100.0%) 14,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005384/1.879, allocations: 0.6182 MB / 0.8671 GB, free: 99.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002455/1.881, allocations: 0.5611 MB / 0.8676 GB, free: 99.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/1.896, allocations: 6.407 MB / 0.8739 GB, free: 98.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-05/1.896, allocations: 34.19 kB / 0.8739 GB, free: 98.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/1.896, allocations: 12.66 kB / 0.8739 GB, free: 98.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/1.896, allocations: 19.48 kB / 0.8739 GB, free: 98.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03655/1.933, allocations: 13.76 MB / 0.8874 GB, free: 93.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/1.933, allocations: 3.75 kB / 0.8874 GB, free: 93.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/1.936, allocations: 0.5451 MB / 0.8879 GB, free: 93.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/1.939, allocations: 1.007 MB / 0.8889 GB, free: 93.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005347/1.94, allocations: 14.7 kB / 0.8889 GB, free: 93.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/1.951, allocations: 9.496 MB / 0.8982 GB, free: 87.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.951, allocations: 3.344 kB / 0.8982 GB, free: 87.43 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01569/1.967, allocations: 11.02 MB / 0.9089 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004176/1.971, allocations: 1.075 MB / 0.91 GB, free: 80.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/1.973, allocations: 3.906 kB / 0.91 GB, free: 80.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00311/1.976, allocations: 101.8 kB / 0.9101 GB, free: 80.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/1.977, allocations: 154.8 kB / 0.9102 GB, free: 80.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/1.977, allocations: 83.61 kB / 0.9103 GB, free: 80.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.007204/1.984, allocations: 3.519 MB / 0.9138 GB, free: 77.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01145/1.996, allocations: 1.532 MB / 0.9153 GB, free: 75.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (283): * Single equations (assignments): 277 * 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%) 11,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007075/1.996, allocations: 150.2 kB / 0.9154 GB, free: 75.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01411/2.01, allocations: 8.936 MB / 0.9241 GB, free: 67.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.01, allocations: 4 kB / 0.9241 GB, free: 67.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/2.015, allocations: 3.347 MB / 0.9274 GB, free: 64.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/2.02, allocations: 0.5955 MB / 0.928 GB, free: 63.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/2.056, allocations: 14.31 MB / 0.942 GB, free: 51.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01249/2.069, allocations: 6.056 MB / 0.9479 GB, free: 46.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/2.069, allocations: 0 / 0.9479 GB, free: 46.59 MB / 458.7 MB Notification: Performance of Templates: time 0.394/2.463, allocations: 66.72 MB / 1.013 GB, free: 103.7 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)