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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001634/0.001633, allocations: 176.2 kB / 7.652 MB, free: 1.426 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.499/1.499, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001665/0.001665, allocations: 104.7 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1698/0.1698, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.369e-05/1.39e-05, allocations: 4 kB / 393.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2532, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3445/0.5977, allocations: 104.7 MB / 0.5399 GB, free: 35.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.5979, allocations: 71.94 kB / 0.54 GB, free: 35.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7891/1.387, allocations: 234.3 MB / 0.7688 GB, free: 52.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.387, allocations: 0 / 0.7688 GB, free: 52.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008863/1.388, allocations: 257.9 kB / 0.769 GB, free: 52.25 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.03891/1.427, allocations: 12.34 MB / 0.781 GB, free: 47.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.427, allocations: 10.47 kB / 0.7811 GB, free: 47.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05125/1.478, allocations: 12.81 MB / 0.7936 GB, free: 46.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03235/1.511, allocations: 13.28 MB / 0.8065 GB, free: 45.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007141/1.511, allocations: 423.3 kB / 0.8069 GB, free: 45.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007067/1.518, allocations: 0.7493 MB / 0.8077 GB, free: 45.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03048/1.549, allocations: 17.54 MB / 0.8248 GB, free: 38.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05675/1.606, allocations: 26.02 MB / 0.8502 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008371/1.607, allocations: 148.3 kB / 0.8503 GB, free: 14.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005337/1.612, allocations: 72 kB / 0.8504 GB, free: 13.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003895/1.616, allocations: 2.863 MB / 0.8532 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4581/2.074, allocations: 121.6 MB / 0.972 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/2.087, allocations: 10.78 MB / 0.9825 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008521/2.095, allocations: 7.535 MB / 0.9898 GB, free: 41.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/2.097, allocations: 1.102 MB / 0.9909 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.658e-05/2.097, allocations: 95.91 kB / 0.991 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=548): time 9.608e-06/2.097, allocations: 0 / 0.991 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=636): time 0.1344/2.231, allocations: 61.49 MB / 1.051 GB, free: 21.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/2.232, allocations: 376 kB / 1.051 GB, free: 21.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01746/2.249, allocations: 8.021 MB / 1.059 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001948/2.251, allocations: 25.7 kB / 1.059 GB, free: 18.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006329/2.257, allocations: 8.703 MB / 1.068 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003501/2.261, allocations: 2.269 MB / 1.07 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002679/2.264, allocations: 2.438 kB / 1.07 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002271/2.266, allocations: 0.9852 MB / 1.071 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0123/2.278, allocations: 6.445 MB / 1.077 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02553/2.304, allocations: 15.54 MB / 1.092 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3893/2.693, allocations: 9.859 MB / 1.102 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003657/2.694, allocations: 90.45 kB / 1.102 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2081) (initialization): time 0.0523/2.746, allocations: 22.79 MB / 1.124 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006098/2.747, allocations: 135.3 kB / 1.125 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000795/2.747, allocations: 308.9 kB / 1.125 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008761/2.756, allocations: 3.332 MB / 1.128 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01534/2.772, allocations: 3.874 MB / 1.132 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02956/2.801, allocations: 21.38 MB / 1.153 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01714/2.818, allocations: 0.6452 MB / 1.153 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004634/2.823, allocations: 0.9171 MB / 1.154 GB, free: 105 MB / 0.5417 GB 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 (1961): * Single equations (assignments): 1954 * 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.007646/2.831, allocations: 0.9088 MB / 1.155 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004287/2.835, allocations: 0.9041 MB / 1.156 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03332/2.868, allocations: 13.78 MB / 1.169 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001393/2.868, allocations: 64 kB / 1.17 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001121/2.869, allocations: 21.98 kB / 1.17 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002007/2.869, allocations: 29.16 kB / 1.17 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07126/2.94, allocations: 28.82 MB / 1.198 GB, free: 93.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.993e-05/2.94, allocations: 7.812 kB / 1.198 GB, free: 93.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007365/2.948, allocations: 1.223 MB / 1.199 GB, free: 93.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/2.955, allocations: 2.814 MB / 1.202 GB, free: 91.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002173/2.957, allocations: 23.42 kB / 1.202 GB, free: 91.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/2.981, allocations: 19.8 MB / 1.221 GB, free: 73.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/2.981, allocations: 11.94 kB / 1.221 GB, free: 73.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03969/3.021, allocations: 23.36 MB / 1.244 GB, free: 52.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007217/3.028, allocations: 1.927 MB / 1.246 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00444/3.033, allocations: 15.75 kB / 1.246 GB, free: 51.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0081/3.041, allocations: 347.2 kB / 1.246 GB, free: 50.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002139/3.043, allocations: 395.5 kB / 1.246 GB, free: 50.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001596/3.044, allocations: 166.4 kB / 1.247 GB, free: 50.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01375/3.058, allocations: 5.424 MB / 1.252 GB, free: 45.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.71e-07/3.058, allocations: 0 / 1.252 GB, free: 45.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02248/3.081, allocations: 2.677 MB / 1.255 GB, free: 43.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (547): * Single equations (assignments): 540 * 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.002212/3.083, allocations: 190.5 kB / 1.255 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0319/3.115, allocations: 16.38 MB / 1.271 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/3.115, allocations: 0 / 1.271 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01322/3.128, allocations: 6.824 MB / 1.277 GB, free: 22.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009933/3.138, allocations: 0.9754 MB / 1.278 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4633/3.602, allocations: 26.62 MB / 1.304 GB, free: 96.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02223/3.624, allocations: 8.905 MB / 1.313 GB, free: 95.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01647/3.64, allocations: 5.103 MB / 1.318 GB, free: 95.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00412/3.645, allocations: 0.6549 MB / 1.319 GB, free: 95.35 MB / 0.5417 GB Notification: Performance of SimCode: time 1.112e-06/3.645, allocations: 2.297 kB / 1.319 GB, free: 95.35 MB / 0.5417 GB Notification: Performance of Templates: time 0.1873/3.832, allocations: 101.1 MB / 1.417 GB, free: 68.14 MB / 0.5417 GB 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)