Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004478/0.004478, allocations: 176.5 kB / 7.452 MB, free: 2.246 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.138/1.138, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.001947/0.001946, allocations: 103.9 kB / 217.7 MB, free: 8.117 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.1708/0.1708, allocations: 37.97 MB / 294.8 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.337e-05, allocations: 1.25 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.5485, allocations: 93.03 MB / 491.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.5489, allocations: 74.2 kB / 491.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2903/0.8392, allocations: 107 MB / 0.5843 GB, free: 208 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005406/0.8397, allocations: 100 kB / 0.5844 GB, free: 108 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02199/0.8618, allocations: 5.286 MB / 0.5896 GB, free: 10.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.8618, allocations: 12.02 kB / 0.5896 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02918/0.891, allocations: 6.551 MB / 0.596 GB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02233/0.9134, allocations: 6.858 MB / 0.6027 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000419/0.9139, allocations: 176 kB / 0.6028 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003104/0.917, allocations: 315.8 kB / 0.6031 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01622/0.9332, allocations: 7.463 MB / 0.6104 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.218/1.151, allocations: 11.63 MB / 0.6218 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004229/1.152, allocations: 75.5 kB / 0.6219 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/1.154, allocations: 37.78 kB / 0.6219 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/1.156, allocations: 1.289 MB / 0.6232 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06551/1.221, allocations: 57.41 MB / 0.6792 GB, free: 79.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004782/1.226, allocations: 3.74 MB / 0.6829 GB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/1.229, allocations: 2.382 MB / 0.6852 GB, free: 78.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/1.241, allocations: 6.771 MB / 0.6918 GB, free: 75.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/1.241, allocations: 61.56 kB / 0.6919 GB, free: 75.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=172): time 7.715e-06/1.241, allocations: 0 / 0.6919 GB, free: 75.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=185): time 0.0314/1.272, allocations: 15.24 MB / 0.7067 GB, free: 69.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/1.273, allocations: 203.9 kB / 0.7069 GB, free: 69.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007892/1.28, allocations: 4.141 MB / 0.711 GB, free: 67.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005257/1.281, allocations: 25.7 kB / 0.711 GB, free: 67.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.283, allocations: 3.726 MB / 0.7146 GB, free: 64.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/1.285, allocations: 0.7184 MB / 0.7154 GB, free: 64.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/1.285, allocations: 0 / 0.7154 GB, free: 64.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003878/1.285, allocations: 0.6063 MB / 0.7159 GB, free: 63.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/1.288, allocations: 2.198 MB / 0.7181 GB, free: 63.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/1.293, allocations: 6.735 MB / 0.7247 GB, free: 56.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005736/1.299, allocations: 3.866 MB / 0.7284 GB, free: 54.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.299, allocations: 49.16 kB / 0.7285 GB, free: 54.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=949) (initialization): time 0.02073/1.32, allocations: 8.236 MB / 0.7365 GB, free: 52.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/1.32, allocations: 3.406 kB / 0.7365 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004992/1.32, allocations: 164.2 kB / 0.7367 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/1.322, allocations: 0.5928 MB / 0.7373 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006704/1.329, allocations: 1.652 MB / 0.7389 GB, free: 51.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006274/1.335, allocations: 5.317 MB / 0.7441 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008171/1.344, allocations: 222.6 kB / 0.7443 GB, free: 48.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002686/1.346, allocations: 451.2 kB / 0.7447 GB, free: 48.07 MB / 426.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.003032/1.349, allocations: 0.4987 MB / 0.7452 GB, free: 47.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/1.351, allocations: 421.1 kB / 0.7456 GB, free: 47.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006435/1.357, allocations: 2.824 MB / 0.7484 GB, free: 46.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.717e-05/1.357, allocations: 16 kB / 0.7484 GB, free: 46.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/1.357, allocations: 8 kB / 0.7484 GB, free: 46.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/1.357, allocations: 7.219 kB / 0.7484 GB, free: 46.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.376, allocations: 6.993 MB / 0.7552 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/1.376, allocations: 3.438 kB / 0.7552 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.378, allocations: 261.6 kB / 0.7555 GB, free: 40.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/1.379, allocations: 337.6 kB / 0.7558 GB, free: 40.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/1.379, allocations: 15.7 kB / 0.7558 GB, free: 40.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/1.384, allocations: 4.615 MB / 0.7603 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.384, allocations: 4 kB / 0.7603 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007334/1.391, allocations: 5.417 MB / 0.7656 GB, free: 30.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.393, allocations: 0.6853 MB / 0.7663 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.395, allocations: 15.84 kB / 0.7663 GB, free: 30.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.397, allocations: 46.11 kB / 0.7663 GB, free: 30.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.397, allocations: 76.06 kB / 0.7664 GB, free: 30.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.397, allocations: 51.8 kB / 0.7665 GB, free: 30.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004956/1.402, allocations: 2.807 MB / 0.7692 GB, free: 27.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006764/1.409, allocations: 1.013 MB / 0.7702 GB, free: 26.56 MB / 426.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.0004741/1.41, allocations: 142.1 kB / 0.7703 GB, free: 26.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007727/1.417, allocations: 5.347 MB / 0.7756 GB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.417, allocations: 8.062 kB / 0.7756 GB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.419, allocations: 1.584 MB / 0.7771 GB, free: 20.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/1.422, allocations: 469.1 kB / 0.7776 GB, free: 19.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.441, allocations: 9.261 MB / 0.7866 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005773/1.447, allocations: 4.456 MB / 0.791 GB, free: 7.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/1.447, allocations: 0 / 0.791 GB, free: 7.996 MB / 426.7 MB Notification: Performance of Templates: time 0.2511/1.698, allocations: 41.43 MB / 0.8314 GB, free: 103.1 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)