Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2") [: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.003176/0.003176, allocations: 184.1 kB / 7.461 MB, free: 2.23 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.152/1.152, allocations: 194.2 MB / 202.1 MB, free: 8.641 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.001618/0.001618, allocations: 122.9 kB / 247.1 MB, free: 6.344 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.1596/0.1596, allocations: 39.94 MB / 331.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.316e-06, allocations: 4 kB / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.09982, allocations: 54.87 MB / 447.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4437, allocations: 104.6 MB / 0.5393 GB, free: 11.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.444, allocations: 72.16 kB / 0.5394 GB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7553/1.199, allocations: 232.2 MB / 0.7662 GB, free: 71.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002157/1.201, allocations: 257.6 kB / 0.7664 GB, free: 71.26 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.05051/1.252, allocations: 12.28 MB / 0.7784 GB, free: 62.28 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.252, allocations: 8.031 kB / 0.7784 GB, free: 62.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05187/1.304, allocations: 12.38 MB / 0.7905 GB, free: 49.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03624/1.34, allocations: 13.41 MB / 0.8036 GB, free: 36.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000852/1.341, allocations: 416 kB / 0.804 GB, free: 36.06 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008917/1.35, allocations: 0.7536 MB / 0.8047 GB, free: 35.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04193/1.392, allocations: 18.09 MB / 0.8224 GB, free: 17.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08258/1.475, allocations: 26.56 MB / 0.8483 GB, free: 4.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00101/1.476, allocations: 146.7 kB / 0.8485 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006529/1.482, allocations: 64 kB / 0.8485 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00502/1.487, allocations: 3.045 MB / 0.8515 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3951/1.882, allocations: 124 MB / 0.9726 GB, free: 50.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/1.897, allocations: 11.47 MB / 0.9838 GB, free: 45.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01103/1.908, allocations: 8.178 MB / 0.9918 GB, free: 42.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04436/1.953, allocations: 22.24 MB / 1.014 GB, free: 31.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/1.953, allocations: 94.19 kB / 1.014 GB, free: 31.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=510): time 1.242e-05/1.953, allocations: 3.188 kB / 1.014 GB, free: 31.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=596): time 0.383/2.336, allocations: 56.82 MB / 1.069 GB, free: 110.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/2.336, allocations: 372.5 kB / 1.069 GB, free: 110.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01734/2.353, allocations: 8.309 MB / 1.078 GB, free: 109.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001854/2.355, allocations: 25.7 kB / 1.078 GB, free: 109.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006209/2.361, allocations: 7.871 MB / 1.085 GB, free: 105.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003625/2.365, allocations: 2.154 MB / 1.087 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002177/2.367, allocations: 3.375 kB / 1.087 GB, free: 103.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008999/2.368, allocations: 0.976 MB / 1.088 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/2.379, allocations: 6.604 MB / 1.095 GB, free: 103.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01981/2.399, allocations: 15.25 MB / 1.11 GB, free: 92.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/2.417, allocations: 9.972 MB / 1.119 GB, free: 92.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007779/2.418, allocations: 87.5 kB / 1.12 GB, free: 92.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=2067) (initialization): time 0.05219/2.47, allocations: 22.76 MB / 1.142 GB, free: 86.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/2.47, allocations: 3.031 kB / 1.142 GB, free: 86.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00152/2.472, allocations: 306.5 kB / 1.142 GB, free: 86.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009162/2.481, allocations: 3.152 MB / 1.145 GB, free: 86.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01589/2.497, allocations: 3.737 MB / 1.149 GB, free: 85.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/2.523, allocations: 20.51 MB / 1.169 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01817/2.541, allocations: 0.5242 MB / 1.169 GB, free: 74.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005405/2.547, allocations: 0.9142 MB / 1.17 GB, free: 73.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1397 * 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],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],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],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],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 (1947): * Single equations (assignments): 1940 * 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.008017/2.555, allocations: 0.8984 MB / 1.171 GB, free: 72.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004096/2.559, allocations: 0.9017 MB / 1.172 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03047/2.589, allocations: 13.45 MB / 1.185 GB, free: 60.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001713/2.59, allocations: 56 kB / 1.185 GB, free: 60.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.623e-05/2.59, allocations: 16 kB / 1.185 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002137/2.59, allocations: 34.42 kB / 1.185 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3209/2.911, allocations: 27.36 MB / 1.212 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000121/2.911, allocations: 0 / 1.212 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007519/2.918, allocations: 1.033 MB / 1.213 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007202/2.926, allocations: 2.625 MB / 1.216 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001786/2.928, allocations: 22.86 kB / 1.216 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/2.952, allocations: 19.24 MB / 1.234 GB, free: 94.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/2.952, allocations: 3.125 kB / 1.234 GB, free: 94.97 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03635/2.988, allocations: 21.69 MB / 1.255 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008068/2.996, allocations: 1.883 MB / 1.257 GB, free: 93.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004934/3.001, allocations: 15.25 kB / 1.257 GB, free: 93.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008578/3.01, allocations: 214.5 kB / 1.258 GB, free: 93.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002171/3.012, allocations: 274.7 kB / 1.258 GB, free: 93.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001708/3.014, allocations: 145.9 kB / 1.258 GB, free: 93.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.01585/3.03, allocations: 5.636 MB / 1.263 GB, free: 93.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02329/3.053, allocations: 2.635 MB / 1.266 GB, free: 93.32 MB / 490.7 MB 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 (507): * Single equations (assignments): 500 * 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.002302/3.055, allocations: 181.8 kB / 1.266 GB, free: 93.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03088/3.086, allocations: 16.23 MB / 1.282 GB, free: 89.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/3.086, allocations: 0 / 1.282 GB, free: 89.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01434/3.101, allocations: 6.582 MB / 1.288 GB, free: 86.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00937/3.11, allocations: 0.9465 MB / 1.289 GB, free: 86.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07675/3.187, allocations: 25.07 MB / 1.314 GB, free: 76.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02004/3.207, allocations: 9.585 MB / 1.323 GB, free: 69.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/3.207, allocations: 0 / 1.323 GB, free: 69.3 MB / 490.7 MB Notification: Performance of Templates: time 0.4782/3.685, allocations: 120.3 MB / 1.441 GB, free: 91.55 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1)