Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002424/0.002424, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.648/1.648, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001754/0.001753, allocations: 98.78 kB / 252.6 MB, free: 4.812 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.1974/0.1974, allocations: 39.93 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.096e-05, allocations: 7.984 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 54.87 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5202, allocations: 99.66 MB / 0.5418 GB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5205, allocations: 72.03 kB / 0.5419 GB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.643/1.164, allocations: 142.9 MB / 0.6814 GB, free: 83.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.228e-06/1.164, allocations: 0 / 0.6814 GB, free: 83.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005529/1.164, allocations: 146 kB / 0.6816 GB, free: 83.7 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: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.02594/1.19, allocations: 6.84 MB / 0.6882 GB, free: 81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.19, allocations: 10.75 kB / 0.6883 GB, free: 81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03665/1.227, allocations: 9.536 MB / 0.6976 GB, free: 80.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/1.25, allocations: 8.832 MB / 0.7062 GB, free: 79.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005644/1.25, allocations: 0.5369 MB / 0.7067 GB, free: 79.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004633/1.255, allocations: 0.7031 MB / 0.7074 GB, free: 79.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03852/1.293, allocations: 16.53 MB / 0.7235 GB, free: 75.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004569/1.294, allocations: 99.81 kB / 0.7236 GB, free: 75.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00258/1.297, allocations: 342.5 kB / 0.724 GB, free: 75.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/1.299, allocations: 1.524 MB / 0.7255 GB, free: 75.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/1.325, allocations: 13.11 MB / 0.7383 GB, free: 74.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07705/1.402, allocations: 72.59 MB / 0.8091 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.414, allocations: 5.853 MB / 0.8149 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003476/1.418, allocations: 3.072 MB / 0.8179 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/1.418, allocations: 49.66 kB / 0.8179 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.418, allocations: 60.06 kB / 0.818 GB, free: 7.172 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 6.302e-06/1.418, allocations: 0 / 0.818 GB, free: 7.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.05034/1.468, allocations: 19.5 MB / 0.837 GB, free: 6.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/1.469, allocations: 257.2 kB / 0.8372 GB, free: 5.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01406/1.483, allocations: 6.132 MB / 0.8432 GB, free: 380 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006916/1.483, allocations: 69.7 kB / 0.8433 GB, free: 304 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005509/1.489, allocations: 5.061 MB / 0.8482 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001828/1.491, allocations: 1.026 MB / 0.8492 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/1.492, allocations: 179.5 kB / 0.8494 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005923/1.492, allocations: 0.6712 MB / 0.8501 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/1.498, allocations: 2.882 MB / 0.8529 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3119/1.81, allocations: 8.121 MB / 0.8608 GB, free: 99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009586/1.82, allocations: 4.785 MB / 0.8655 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002777/1.82, allocations: 53.89 kB / 0.8655 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02428/1.844, allocations: 11.39 MB / 0.8767 GB, free: 98.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/1.845, allocations: 84.84 kB / 0.8767 GB, free: 98.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002435/1.845, allocations: 185.5 kB / 0.8769 GB, free: 98.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/1.847, allocations: 0.8366 MB / 0.8777 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006941/1.854, allocations: 1.987 MB / 0.8797 GB, free: 98.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/1.862, allocations: 8.477 MB / 0.888 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008526/1.87, allocations: 476.9 kB / 0.8884 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002082/1.872, allocations: 0.5143 MB / 0.8889 GB, free: 94.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1056): * Single equations (assignments): 1050 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.874, allocations: 0.7807 MB / 0.8897 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.875, allocations: 0.5905 MB / 0.8903 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007307/1.883, allocations: 4.45 MB / 0.8946 GB, free: 93.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.962e-05/1.883, allocations: 26.84 kB / 0.8946 GB, free: 93.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.883, allocations: 9.875 kB / 0.8946 GB, free: 93.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/1.883, allocations: 14.78 kB / 0.8947 GB, free: 93.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/1.904, allocations: 11.61 MB / 0.906 GB, free: 93.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.904, allocations: 3.969 kB / 0.906 GB, free: 93.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/1.906, allocations: 440.1 kB / 0.9064 GB, free: 92.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/1.908, allocations: 0.5251 MB / 0.9069 GB, free: 92.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/1.908, allocations: 49.25 kB / 0.907 GB, free: 92.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006839/1.915, allocations: 7.578 MB / 0.9144 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.915, allocations: 0 / 0.9144 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.925, allocations: 7.877 MB / 0.9221 GB, free: 85.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003144/1.928, allocations: 1.009 MB / 0.923 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/1.929, allocations: 38.41 kB / 0.9231 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.932, allocations: 161.4 kB / 0.9232 GB, free: 84.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/1.933, allocations: 153.9 kB / 0.9234 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/1.933, allocations: 71.5 kB / 0.9235 GB, free: 84.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007828/1.941, allocations: 4.359 MB / 0.9277 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/1.941, allocations: 0 / 0.9277 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009107/1.95, allocations: 1.555 MB / 0.9292 GB, free: 83.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006413/1.951, allocations: 194.3 kB / 0.9294 GB, free: 83.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.962, allocations: 7.343 MB / 0.9366 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.962, allocations: 0 / 0.9366 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003452/1.966, allocations: 2.485 MB / 0.939 GB, free: 79.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/1.971, allocations: 0.7627 MB / 0.9398 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/1.996, allocations: 12.38 MB / 0.9518 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007694/2.004, allocations: 5.208 MB / 0.9569 GB, free: 72.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007747/2.012, allocations: 2.811 MB / 0.9597 GB, free: 70.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/2.014, allocations: 388.3 kB / 0.96 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of SimCode: time 1.243e-06/2.014, allocations: 0 / 0.96 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.1035/2.117, allocations: 55.7 MB / 1.014 GB, free: 27.53 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)