Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 192.2 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009478/0.0009476, allocations: 99.16 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2251/0.2251, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2073/0.4325, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.7623, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.9215, allocations: 106.9 MB / 0.5699 GB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.9218, allocations: 79.47 kB / 0.57 GB, free: 7.895 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.7123/1.634, allocations: 182.8 MB / 0.7485 GB, free: 57.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.634, allocations: 8 kB / 0.7485 GB, free: 57.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03977/1.674, allocations: 9.467 MB / 0.7577 GB, free: 47.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02863/1.703, allocations: 9.949 MB / 0.7674 GB, free: 37.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006569/1.703, allocations: 312 kB / 0.7677 GB, free: 37.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005563/1.709, allocations: 0.5388 MB / 0.7682 GB, free: 37.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02819/1.737, allocations: 13.34 MB / 0.7813 GB, free: 23.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05611/1.793, allocations: 19.6 MB / 0.8004 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001063/1.794, allocations: 111 kB / 0.8005 GB, free: 2.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005656/1.8, allocations: 48 kB / 0.8006 GB, free: 2.371 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003134/1.803, allocations: 2.227 MB / 0.8027 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5639/2.367, allocations: 89.04 MB / 0.8897 GB, free: 88.41 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/2.378, allocations: 8.271 MB / 0.8978 GB, free: 87.71 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00718/2.385, allocations: 5.969 MB / 0.9036 GB, free: 87.67 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02873/2.414, allocations: 15.37 MB / 0.9186 GB, free: 85.25 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.829e-05/2.414, allocations: 86.61 kB / 0.9187 GB, free: 85.18 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=394): time 8.075e-06/2.414, allocations: 0 / 0.9187 GB, free: 85.18 MB / 0.4949 GB Notification: Performance of matching and sorting (n=460): time 0.08537/2.499, allocations: 38.16 MB / 0.956 GB, free: 70.57 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/2.499, allocations: 280.9 kB / 0.9562 GB, free: 70.28 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0136/2.513, allocations: 5.684 MB / 0.9618 GB, free: 68.23 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/2.515, allocations: 25.7 kB / 0.9618 GB, free: 68.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005719/2.52, allocations: 5.701 MB / 0.9674 GB, free: 63.87 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003628/2.524, allocations: 1.65 MB / 0.969 GB, free: 62.63 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/2.525, allocations: 0 / 0.969 GB, free: 62.63 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007596/2.526, allocations: 0.7977 MB / 0.9698 GB, free: 62.12 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008227/2.534, allocations: 4.936 MB / 0.9746 GB, free: 60.38 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01432/2.549, allocations: 11.24 MB / 0.9856 GB, free: 49.12 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/2.561, allocations: 7.407 MB / 0.9928 GB, free: 43.17 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000212/2.562, allocations: 64 kB / 0.9929 GB, free: 43.11 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1509) (initialization): time 0.038/2.6, allocations: 16.89 MB / 1.009 GB, free: 28.87 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/2.6, allocations: 4 kB / 1.009 GB, free: 28.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006499/2.6, allocations: 231.7 kB / 1.01 GB, free: 28.64 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007349/2.608, allocations: 2.369 MB / 1.012 GB, free: 26.82 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/2.621, allocations: 2.705 MB / 1.015 GB, free: 24.49 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/2.642, allocations: 15.53 MB / 1.03 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01397/2.656, allocations: 387.3 kB / 1.03 GB, free: 10.19 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004703/2.661, allocations: 0.6743 MB / 1.031 GB, free: 9.543 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1017 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1413): * Single equations (assignments): 1407 * 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,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00581/2.667, allocations: 0.6728 MB / 1.031 GB, free: 8.867 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003048/2.67, allocations: 0.6363 MB / 1.032 GB, free: 8.227 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2746/2.945, allocations: 10.18 MB / 1.042 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000142/2.945, allocations: 41.88 kB / 1.042 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.372e-05/2.945, allocations: 11.25 kB / 1.042 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001293/2.945, allocations: 33.55 kB / 1.042 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04532/2.99, allocations: 20.35 MB / 1.062 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/2.99, allocations: 0 / 1.062 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004588/2.995, allocations: 0.7714 MB / 1.063 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/3.001, allocations: 1.983 MB / 1.065 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001221/3.002, allocations: 13.69 kB / 1.065 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/3.021, allocations: 14.36 MB / 1.079 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/3.021, allocations: 2.219 kB / 1.079 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02637/3.047, allocations: 16.5 MB / 1.095 GB, free: 116.5 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03328/3.081, allocations: 22.95 MB / 1.117 GB, free: 107.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005301/3.086, allocations: 1.418 MB / 1.119 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002833/3.089, allocations: 7.125 kB / 1.119 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005148/3.094, allocations: 189.8 kB / 1.119 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007816/3.095, allocations: 212.5 kB / 1.119 GB, free: 107.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004806/3.095, allocations: 119.1 kB / 1.119 GB, free: 107.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.008929/3.104, allocations: 3.849 MB / 1.123 GB, free: 105.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01653/3.121, allocations: 1.947 MB / 1.125 GB, free: 105.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 383 * 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%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/3.122, allocations: 163.8 kB / 1.125 GB, free: 105.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02244/3.145, allocations: 12.27 MB / 1.137 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/3.145, allocations: 3.219 kB / 1.137 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.009626/3.154, allocations: 5.044 MB / 1.142 GB, free: 98.72 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006292/3.161, allocations: 0.6494 MB / 1.142 GB, free: 98.18 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04796/3.209, allocations: 18.28 MB / 1.16 GB, free: 82.23 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01809/3.227, allocations: 7.144 MB / 1.167 GB, free: 76.93 MB / 0.4949 GB Notification: Performance of SimCode: time 1.263e-06/3.227, allocations: 0 / 1.167 GB, free: 76.93 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1)