Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") [: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.001977/0.001976, allocations: 185.4 kB / 7.456 MB, free: 2.242 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.109/1.109, allocations: 194.2 MB / 202.1 MB, free: 8.742 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.001714/0.001714, allocations: 123.9 kB / 247.1 MB, free: 6.203 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.1873/0.1873, allocations: 39.93 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.813e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.4287, allocations: 99.84 MB / 0.5347 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.429, allocations: 76.77 kB / 0.5347 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.288/0.717, allocations: 107.1 MB / 0.6393 GB, free: 13.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004982/0.7175, allocations: 111.9 kB / 0.6394 GB, free: 13.24 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.01968/0.7372, allocations: 5.286 MB / 0.6446 GB, free: 7.879 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7373, allocations: 8.031 kB / 0.6446 GB, free: 7.871 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02817/0.7655, allocations: 6.547 MB / 0.651 GB, free: 1.301 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02082/0.7864, allocations: 6.864 MB / 0.6577 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.7868, allocations: 172 kB / 0.6578 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003221/0.7901, allocations: 311.9 kB / 0.6581 GB, free: 9.906 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01659/0.8067, allocations: 7.467 MB / 0.6654 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.221/1.028, allocations: 11.63 MB / 0.6768 GB, free: 147 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004353/1.028, allocations: 77.08 kB / 0.6769 GB, free: 147 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/1.03, allocations: 38.66 kB / 0.6769 GB, free: 147 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001737/1.032, allocations: 1.291 MB / 0.6782 GB, free: 146.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05631/1.088, allocations: 57.43 MB / 0.7343 GB, free: 112.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/1.092, allocations: 3.756 MB / 0.7379 GB, free: 111.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002582/1.095, allocations: 2.381 MB / 0.7402 GB, free: 111.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/1.107, allocations: 6.769 MB / 0.7469 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.107, allocations: 48.78 kB / 0.7469 GB, free: 108.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=172): time 5.982e-06/1.107, allocations: 3.875 kB / 0.7469 GB, free: 108.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=185): time 0.0292/1.136, allocations: 15.25 MB / 0.7618 GB, free: 101.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.136, allocations: 201.1 kB / 0.762 GB, free: 101.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/1.141, allocations: 4.135 MB / 0.766 GB, free: 100 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/1.142, allocations: 25.7 kB / 0.7661 GB, free: 99.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.143, allocations: 3.724 MB / 0.7697 GB, free: 97.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006713/1.144, allocations: 0.7213 MB / 0.7704 GB, free: 96.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/1.144, allocations: 0 / 0.7704 GB, free: 96.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003121/1.145, allocations: 0.609 MB / 0.771 GB, free: 96.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/1.147, allocations: 2.198 MB / 0.7731 GB, free: 95.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/1.152, allocations: 6.737 MB / 0.7797 GB, free: 88.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005204/1.157, allocations: 3.86 MB / 0.7835 GB, free: 87.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-05/1.157, allocations: 46 kB / 0.7835 GB, free: 87.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=949) (initialization): time 0.01292/1.17, allocations: 8.228 MB / 0.7916 GB, free: 81.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.17, allocations: 8 kB / 0.7916 GB, free: 81.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/1.17, allocations: 163.9 kB / 0.7917 GB, free: 81.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.171, allocations: 0.6057 MB / 0.7923 GB, free: 80.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/1.176, allocations: 1.646 MB / 0.7939 GB, free: 79.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/1.182, allocations: 5.317 MB / 0.7991 GB, free: 74.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006222/1.188, allocations: 227.8 kB / 0.7993 GB, free: 74.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/1.189, allocations: 446.8 kB / 0.7998 GB, free: 73.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (899): * Single equations (assignments): 894 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001018/1.19, allocations: 0.5016 MB / 0.8002 GB, free: 73.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/1.191, allocations: 418.6 kB / 0.8006 GB, free: 72.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/1.195, allocations: 2.83 MB / 0.8034 GB, free: 70.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/1.195, allocations: 16 kB / 0.8034 GB, free: 70.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.195, allocations: 7.844 kB / 0.8034 GB, free: 70.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.195, allocations: 7.641 kB / 0.8034 GB, free: 70.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.205, allocations: 6.98 MB / 0.8103 GB, free: 64.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.205, allocations: 3.312 kB / 0.8103 GB, free: 64.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.207, allocations: 262.2 kB / 0.8105 GB, free: 64.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009104/1.208, allocations: 341.2 kB / 0.8108 GB, free: 64.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/1.208, allocations: 11.75 kB / 0.8108 GB, free: 64.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004028/1.212, allocations: 4.616 MB / 0.8154 GB, free: 59.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.212, allocations: 112 / 0.8154 GB, free: 59.82 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006257/1.218, allocations: 5.426 MB / 0.8207 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.22, allocations: 0.6851 MB / 0.8213 GB, free: 54.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/1.22, allocations: 6.812 kB / 0.8213 GB, free: 54.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.222, allocations: 42 kB / 0.8214 GB, free: 54.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.222, allocations: 88.58 kB / 0.8215 GB, free: 54.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.222, allocations: 48 kB / 0.8215 GB, free: 54.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004136/1.226, allocations: 2.812 MB / 0.8242 GB, free: 51.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00612/1.232, allocations: 1.014 MB / 0.8252 GB, free: 50.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 141 * 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 {(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.0004109/1.233, allocations: 137.7 kB / 0.8254 GB, free: 50.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007284/1.24, allocations: 5.346 MB / 0.8306 GB, free: 45.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.24, allocations: 192 / 0.8306 GB, free: 45.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.242, allocations: 1.587 MB / 0.8321 GB, free: 44.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/1.244, allocations: 477.1 kB / 0.8326 GB, free: 43.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/1.262, allocations: 9.27 MB / 0.8416 GB, free: 35.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005203/1.267, allocations: 4.443 MB / 0.846 GB, free: 32.15 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/1.267, allocations: 0 / 0.846 GB, free: 32.15 MB / 474.7 MB Notification: Performance of Templates: time 0.2479/1.515, allocations: 41.34 MB / 0.8864 GB, free: 124.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)