Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.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.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2") [: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.002742/0.002742, allocations: 175.7 kB / 7.448 MB, free: 2.512 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.251/1.251, allocations: 170.6 MB / 178.4 MB, free: 15.48 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.001714/0.001713, allocations: 119.9 kB / 217.7 MB, free: 8.23 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.1584/0.1584, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/6.923e-06, allocations: 2.156 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.08914, allocations: 48.72 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/0.371, allocations: 97.81 MB / 496 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.3713, allocations: 73.81 kB / 496.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7563/1.128, allocations: 228.7 MB / 0.7078 GB, free: 50.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001779/1.129, allocations: 251.6 kB / 0.7081 GB, free: 50.68 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.04854/1.178, allocations: 12.18 MB / 0.72 GB, free: 44.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.97e-05/1.178, allocations: 8.031 kB / 0.72 GB, free: 44.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05493/1.233, allocations: 12.35 MB / 0.732 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04117/1.274, allocations: 13.35 MB / 0.7451 GB, free: 18.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009511/1.275, allocations: 415.9 kB / 0.7455 GB, free: 18.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008281/1.284, allocations: 0.7341 MB / 0.7462 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04715/1.331, allocations: 17.97 MB / 0.7637 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07378/1.405, allocations: 26.31 MB / 0.7894 GB, free: 2.898 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009411/1.406, allocations: 142.7 kB / 0.7896 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005938/1.412, allocations: 64 kB / 0.7896 GB, free: 2.695 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2668/1.678, allocations: 3.033 MB / 0.7926 GB, free: 72.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1587/1.837, allocations: 123.3 MB / 0.913 GB, free: 19.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/1.852, allocations: 11.63 MB / 0.9244 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01243/1.864, allocations: 8.321 MB / 0.9325 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04946/1.913, allocations: 22.77 MB / 0.9547 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/1.914, allocations: 94.16 kB / 0.9548 GB, free: 9.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=514): time 1.644e-05/1.914, allocations: 0 / 0.9548 GB, free: 9.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=598): time 0.4477/2.361, allocations: 57.61 MB / 1.011 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/2.362, allocations: 371.6 kB / 1.011 GB, free: 110.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02487/2.387, allocations: 8.2 MB / 1.019 GB, free: 110 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002283/2.389, allocations: 25.7 kB / 1.019 GB, free: 110 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.007524/2.396, allocations: 7.717 MB / 1.027 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005202/2.402, allocations: 2.15 MB / 1.029 GB, free: 104 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00512/2.407, allocations: 0 / 1.029 GB, free: 104 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.003514/2.41, allocations: 0.968 MB / 1.03 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01511/2.426, allocations: 6.57 MB / 1.036 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02115/2.447, allocations: 15.03 MB / 1.051 GB, free: 92.76 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01925/2.466, allocations: 9.872 MB / 1.061 GB, free: 91.22 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008402/2.467, allocations: 87.91 kB / 1.061 GB, free: 91.22 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2037) (initialization): time 0.06697/2.534, allocations: 22.55 MB / 1.083 GB, free: 84.39 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/2.534, allocations: 5.125 kB / 1.083 GB, free: 84.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001454/2.536, allocations: 304.4 kB / 1.083 GB, free: 84.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/2.551, allocations: 3.125 MB / 1.086 GB, free: 83.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02999/2.581, allocations: 3.701 MB / 1.09 GB, free: 82.15 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/2.606, allocations: 20.38 MB / 1.11 GB, free: 63.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01878/2.624, allocations: 0.5154 MB / 1.11 GB, free: 63.32 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004685/2.629, allocations: 0.8936 MB / 1.111 GB, free: 62.46 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1919): * Single equations (assignments): 1912 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005051/2.634, allocations: 0.8796 MB / 1.112 GB, free: 61.57 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002304/2.636, allocations: 0.8948 MB / 1.113 GB, free: 60.66 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.025/2.661, allocations: 13.47 MB / 1.126 GB, free: 49.69 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001786/2.662, allocations: 60 kB / 1.126 GB, free: 49.63 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/2.662, allocations: 16 kB / 1.126 GB, free: 49.62 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001623/2.662, allocations: 27.8 kB / 1.126 GB, free: 49.62 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06999/2.732, allocations: 27.34 MB / 1.153 GB, free: 27.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.338e-05/2.732, allocations: 0 / 1.153 GB, free: 27.49 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007561/2.74, allocations: 1.066 MB / 1.154 GB, free: 26.62 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008147/2.748, allocations: 2.61 MB / 1.156 GB, free: 24.71 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001891/2.75, allocations: 20.45 kB / 1.156 GB, free: 24.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3368/3.087, allocations: 19.16 MB / 1.175 GB, free: 101.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/3.087, allocations: 3.125 kB / 1.175 GB, free: 101.3 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03651/3.123, allocations: 21.72 MB / 1.196 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007412/3.131, allocations: 1.888 MB / 1.198 GB, free: 99.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003924/3.135, allocations: 3.906 kB / 1.198 GB, free: 99.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00825/3.143, allocations: 222.1 kB / 1.198 GB, free: 99.96 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002175/3.145, allocations: 282.9 kB / 1.199 GB, free: 99.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007215/3.146, allocations: 143.4 kB / 1.199 GB, free: 99.96 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.01389/3.16, allocations: 5.57 MB / 1.204 GB, free: 99.71 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02192/3.182, allocations: 2.609 MB / 1.207 GB, free: 99.71 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 504 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(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.002124/3.184, allocations: 186.6 kB / 1.207 GB, free: 99.62 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03171/3.215, allocations: 16.16 MB / 1.223 GB, free: 95.79 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/3.216, allocations: 0 / 1.223 GB, free: 95.79 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/3.227, allocations: 6.586 MB / 1.229 GB, free: 93.32 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009721/3.237, allocations: 0.9304 MB / 1.23 GB, free: 92.94 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07815/3.315, allocations: 24.87 MB / 1.254 GB, free: 78.42 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02462/3.34, allocations: 9.468 MB / 1.264 GB, free: 71.46 MB / 0.4949 GB Notification: Performance of SimCode: time 2.324e-06/3.34, allocations: 0 / 1.264 GB, free: 71.46 MB / 0.4949 GB Notification: Performance of Templates: time 0.5425/3.883, allocations: 119.7 MB / 1.38 GB, free: 82.63 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)