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.0009803/0.0009803, allocations: 181.6 kB / 7.651 MB, free: 1.402 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.471/1.471, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001556/0.001556, allocations: 115.2 kB / 247.4 MB, free: 6.207 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.2034/0.2034, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.848e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.5606, allocations: 99 MB / 0.5344 GB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5609, allocations: 74.66 kB / 0.5344 GB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6802/1.241, allocations: 139.9 MB / 0.671 GB, free: 83.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.677e-06/1.241, allocations: 3.344 kB / 0.671 GB, free: 83.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008049/1.242, allocations: 141.2 kB / 0.6712 GB, free: 83.41 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.03241/1.274, allocations: 6.835 MB / 0.6778 GB, free: 82.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.274, allocations: 8.312 kB / 0.6778 GB, free: 82.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04107/1.316, allocations: 9.543 MB / 0.6872 GB, free: 81.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02454/1.34, allocations: 8.821 MB / 0.6958 GB, free: 80.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005796/1.341, allocations: 234.1 kB / 0.696 GB, free: 80.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003737/1.345, allocations: 431.7 kB / 0.6964 GB, free: 80.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02117/1.366, allocations: 9.416 MB / 0.7056 GB, free: 80.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03696/1.403, allocations: 14.58 MB / 0.7198 GB, free: 76.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004951/1.403, allocations: 98.67 kB / 0.7199 GB, free: 76.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002343/1.406, allocations: 48.83 kB / 0.72 GB, free: 76.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002099/1.408, allocations: 1.528 MB / 0.7215 GB, free: 76.67 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/1.481, allocations: 69.42 MB / 0.7893 GB, free: 29.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/1.487, allocations: 4.641 MB / 0.7938 GB, free: 27.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003183/1.49, allocations: 3.003 MB / 0.7967 GB, free: 25.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/1.49, allocations: 42.72 kB / 0.7968 GB, free: 25.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/1.49, allocations: 63.88 kB / 0.7968 GB, free: 25.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.169e-06/1.49, allocations: 0 / 0.7968 GB, free: 25.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.0415/1.532, allocations: 24.42 MB / 0.8207 GB, free: 4.438 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/1.532, allocations: 261.2 kB / 0.8209 GB, free: 4.125 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007115/1.539, allocations: 4.908 MB / 0.8257 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006004/1.54, allocations: 33.64 kB / 0.8258 GB, free: 15.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003759/1.544, allocations: 5.133 MB / 0.8308 GB, free: 11.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.545, allocations: 1.012 MB / 0.8318 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004594/1.546, allocations: 4 kB / 0.8318 GB, free: 10.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005031/1.546, allocations: 0.6777 MB / 0.8324 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0043/1.55, allocations: 2.78 MB / 0.8351 GB, free: 7.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008771/1.559, allocations: 8.237 MB / 0.8432 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009087/1.568, allocations: 4.741 MB / 0.8478 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001813/1.569, allocations: 60 kB / 0.8479 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.3262/1.895, allocations: 10.41 MB / 0.858 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/1.895, allocations: 89.25 kB / 0.8581 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000287/1.895, allocations: 195.2 kB / 0.8583 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/1.897, allocations: 0.8352 MB / 0.8591 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0083/1.906, allocations: 2.068 MB / 0.8611 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.916, allocations: 8.203 MB / 0.8692 GB, free: 94.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008802/1.925, allocations: 308.1 kB / 0.8694 GB, free: 94.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002919/1.928, allocations: 0.5431 MB / 0.87 GB, free: 94.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 891 * 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 (1099): * Single equations (assignments): 1093 * 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.003475/1.931, allocations: 0.5925 MB / 0.8706 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.933, allocations: 0.5131 MB / 0.8711 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007766/1.94, allocations: 4.214 MB / 0.8752 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.788e-05/1.94, allocations: 32.39 kB / 0.8752 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/1.94, allocations: 7.938 kB / 0.8752 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.091e-05/1.94, allocations: 13.06 kB / 0.8752 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.96, allocations: 10.29 MB / 0.8853 GB, free: 93.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.96, allocations: 3.438 kB / 0.8853 GB, free: 93.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/1.962, allocations: 440.9 kB / 0.8857 GB, free: 93.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/1.963, allocations: 0.5151 MB / 0.8862 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/1.964, allocations: 15.53 kB / 0.8862 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006536/1.97, allocations: 7.268 MB / 0.8933 GB, free: 89.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.97, allocations: 3.344 kB / 0.8933 GB, free: 89.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/1.983, allocations: 7.611 MB / 0.9008 GB, free: 88.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002815/1.985, allocations: 0.9007 MB / 0.9016 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001732/1.987, allocations: 7.219 kB / 0.9016 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/1.99, allocations: 112.1 kB / 0.9017 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/1.991, allocations: 157.3 kB / 0.9019 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/1.991, allocations: 69.91 kB / 0.902 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006911/1.998, allocations: 3.326 MB / 0.9052 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/1.998, allocations: 3.188 kB / 0.9052 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009129/2.007, allocations: 1.345 MB / 0.9065 GB, free: 88.34 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 (220): * Single equations (assignments): 214 * 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.0006305/2.008, allocations: 145.5 kB / 0.9067 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01084/2.019, allocations: 7.012 MB / 0.9135 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.019, allocations: 5.906 kB / 0.9135 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003301/2.022, allocations: 2.395 MB / 0.9159 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/2.027, allocations: 0.6089 MB / 0.9165 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/2.053, allocations: 12.18 MB / 0.9283 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007648/2.061, allocations: 5.215 MB / 0.9334 GB, free: 82.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007513/2.069, allocations: 2.796 MB / 0.9362 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/2.07, allocations: 355.8 kB / 0.9365 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.492e-06/2.07, allocations: 0 / 0.9365 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.08437/2.154, allocations: 46.26 MB / 0.9817 GB, free: 60.88 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)