Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3") [: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.004294/0.004294, allocations: 173.6 kB / 7.449 MB, free: 2.176 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.062/1.062, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001663/0.001663, allocations: 123.8 kB / 217.7 MB, free: 8.145 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.1684/0.1684, allocations: 37.99 MB / 294.8 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.502e-06, allocations: 1.125 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.088, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3087/0.3968, allocations: 96.33 MB / 494.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3971, allocations: 74.95 kB / 494.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7507/1.148, allocations: 215.8 MB / 0.6937 GB, free: 59.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001277/1.149, allocations: 237.3 kB / 0.694 GB, free: 59.05 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: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.04938/1.199, allocations: 11.33 MB / 0.705 GB, free: 54.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.985e-05/1.199, allocations: 7.906 kB / 0.705 GB, free: 54.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05677/1.255, allocations: 12.19 MB / 0.7169 GB, free: 53.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0371/1.293, allocations: 12.66 MB / 0.7293 GB, free: 41.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008599/1.293, allocations: 392 kB / 0.7297 GB, free: 41.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007334/1.301, allocations: 0.7029 MB / 0.7304 GB, free: 40.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03874/1.34, allocations: 17.25 MB / 0.7472 GB, free: 23.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07005/1.41, allocations: 24.94 MB / 0.7716 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001196/1.411, allocations: 142.7 kB / 0.7717 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006908/1.418, allocations: 56 kB / 0.7718 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004736/1.423, allocations: 2.861 MB / 0.7746 GB, free: 9.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4327/1.855, allocations: 112.6 MB / 0.8845 GB, free: 59.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.871, allocations: 11.43 MB / 0.8957 GB, free: 54.74 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01123/1.882, allocations: 8.154 MB / 0.9036 GB, free: 51.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04351/1.926, allocations: 23.09 MB / 0.9262 GB, free: 39.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.807e-05/1.926, allocations: 88.41 kB / 0.9263 GB, free: 39.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=524): time 8.606e-06/1.926, allocations: 0 / 0.9263 GB, free: 39.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=609): time 0.3635/2.289, allocations: 51.88 MB / 0.977 GB, free: 115.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/2.289, allocations: 316.4 kB / 0.9773 GB, free: 114.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01487/2.304, allocations: 7.195 MB / 0.9843 GB, free: 114.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001925/2.306, allocations: 25.7 kB / 0.9843 GB, free: 114.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004442/2.311, allocations: 7.154 MB / 0.9913 GB, free: 111.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00332/2.314, allocations: 2.159 MB / 0.9934 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008977/2.315, allocations: 0 / 0.9934 GB, free: 110.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006573/2.316, allocations: 0.9269 MB / 0.9943 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008967/2.325, allocations: 6.349 MB / 1.001 GB, free: 109.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01832/2.343, allocations: 14.15 MB / 1.014 GB, free: 99.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/2.36, allocations: 9.424 MB / 1.024 GB, free: 99.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004315/2.36, allocations: 77.12 kB / 1.024 GB, free: 99.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=1904) (initialization): time 0.04277/2.403, allocations: 21.6 MB / 1.045 GB, free: 95.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/2.403, allocations: 3.594 kB / 1.045 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008389/2.404, allocations: 278 kB / 1.045 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008137/2.412, allocations: 3.107 MB / 1.048 GB, free: 94.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/2.426, allocations: 3.47 MB / 1.051 GB, free: 94.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03099/2.457, allocations: 20.67 MB / 1.072 GB, free: 83.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01688/2.474, allocations: 489.2 kB / 1.072 GB, free: 83.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005634/2.48, allocations: 0.832 MB / 1.073 GB, free: 83.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * Number of states: 0 () * Number of discrete variables: 105 (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],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1784): * Single equations (assignments): 1777 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01007/2.49, allocations: 0.8151 MB / 1.074 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005071/2.495, allocations: 0.8162 MB / 1.074 GB, free: 82.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03181/2.527, allocations: 13.55 MB / 1.088 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001257/2.527, allocations: 60 kB / 1.088 GB, free: 76.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/2.527, allocations: 18.06 kB / 1.088 GB, free: 76.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001234/2.527, allocations: 36.88 kB / 1.088 GB, free: 76.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0667/2.594, allocations: 27.17 MB / 1.114 GB, free: 54.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/2.594, allocations: 0 / 1.114 GB, free: 54.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00674/2.601, allocations: 1.088 MB / 1.115 GB, free: 53.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007444/2.608, allocations: 2.63 MB / 1.118 GB, free: 51.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/2.609, allocations: 19.47 kB / 1.118 GB, free: 51.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3181/2.927, allocations: 19.27 MB / 1.137 GB, free: 99.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/2.927, allocations: 4.375 kB / 1.137 GB, free: 99.89 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03845/2.966, allocations: 21.53 MB / 1.158 GB, free: 98.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007063/2.973, allocations: 1.814 MB / 1.16 GB, free: 98.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003629/2.977, allocations: 5.094 kB / 1.16 GB, free: 98.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006898/2.984, allocations: 262.3 kB / 1.16 GB, free: 98.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/2.985, allocations: 281.5 kB / 1.16 GB, free: 98.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007937/2.986, allocations: 149.4 kB / 1.16 GB, free: 98.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.01287/2.998, allocations: 4.878 MB / 1.165 GB, free: 98.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02232/3.021, allocations: 2.488 MB / 1.167 GB, free: 98.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.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 (522): * Single equations (assignments): 515 * 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%) 18,(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.002098/3.023, allocations: 183.8 kB / 1.168 GB, free: 98.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0324/3.055, allocations: 15.84 MB / 1.183 GB, free: 95.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/3.055, allocations: 7.641 kB / 1.183 GB, free: 95.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01575/3.071, allocations: 6.667 MB / 1.19 GB, free: 93.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/3.081, allocations: 0.836 MB / 1.19 GB, free: 92.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07026/3.152, allocations: 23.7 MB / 1.214 GB, free: 84.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02253/3.174, allocations: 8.966 MB / 1.222 GB, free: 79.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/3.174, allocations: 3.172 kB / 1.222 GB, free: 79.43 MB / 458.7 MB Notification: Performance of Templates: time 0.5017/3.676, allocations: 115.2 MB / 1.335 GB, free: 95.46 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1)