Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00111/0.00111, allocations: 171.5 kB / 7.638 MB, free: 1.418 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.28/1.28, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001574/0.001574, allocations: 107.4 kB / 218 MB, free: 8.406 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.1768/0.1768, allocations: 37.98 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.896e-05, allocations: 3 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.6023, allocations: 93.28 MB / 492 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.6026, allocations: 72.75 kB / 492.1 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2867/0.8894, allocations: 112 MB / 0.59 GB, free: 14.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8894, allocations: 0 / 0.59 GB, free: 14.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004197/0.8898, allocations: 104 kB / 0.5901 GB, free: 14.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.01916/0.909, allocations: 5.455 MB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.9091, allocations: 12.03 kB / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03013/0.9392, allocations: 6.958 MB / 0.6022 GB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02135/0.9606, allocations: 6.845 MB / 0.6089 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/0.9611, allocations: 176 kB / 0.6091 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/0.9651, allocations: 323.9 kB / 0.6094 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01885/0.984, allocations: 7.449 MB / 0.6166 GB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3261/1.31, allocations: 11.72 MB / 0.6281 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005271/1.311, allocations: 74.83 kB / 0.6282 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002235/1.313, allocations: 40.53 kB / 0.6282 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002339/1.315, allocations: 1.254 MB / 0.6294 GB, free: 71.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06781/1.383, allocations: 57.39 MB / 0.6855 GB, free: 52.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/1.388, allocations: 3.439 MB / 0.6888 GB, free: 51.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/1.39, allocations: 2.099 MB / 0.6909 GB, free: 51.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/1.39, allocations: 36.81 kB / 0.6909 GB, free: 51.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/1.39, allocations: 51.28 kB / 0.691 GB, free: 51.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 4.849e-06/1.39, allocations: 4.031 kB / 0.691 GB, free: 51.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=198): time 0.0305/1.421, allocations: 17.53 MB / 0.7081 GB, free: 44.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/1.421, allocations: 226.1 kB / 0.7083 GB, free: 43.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/1.427, allocations: 4.13 MB / 0.7123 GB, free: 42.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004585/1.428, allocations: 25.7 kB / 0.7124 GB, free: 42.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/1.43, allocations: 4.202 MB / 0.7165 GB, free: 39.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.431, allocations: 0.7654 MB / 0.7172 GB, free: 38.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/1.432, allocations: 1.312 kB / 0.7172 GB, free: 38.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004085/1.432, allocations: 0.6232 MB / 0.7178 GB, free: 38.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/1.435, allocations: 2.199 MB / 0.72 GB, free: 37.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/1.44, allocations: 6.853 MB / 0.7267 GB, free: 30.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/1.445, allocations: 3.857 MB / 0.7304 GB, free: 29.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/1.445, allocations: 49.5 kB / 0.7305 GB, free: 29.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0153/1.46, allocations: 8.394 MB / 0.7387 GB, free: 26.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/1.461, allocations: 82.56 kB / 0.7387 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001873/1.461, allocations: 169.6 kB / 0.7389 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/1.462, allocations: 0.6146 MB / 0.7395 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005313/1.467, allocations: 1.72 MB / 0.7412 GB, free: 25.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005775/1.473, allocations: 5.52 MB / 0.7466 GB, free: 22.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00601/1.479, allocations: 247.3 kB / 0.7468 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.481, allocations: 469.8 kB / 0.7473 GB, free: 21.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (925): * Single equations (assignments): 920 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001159/1.482, allocations: 0.514 MB / 0.7478 GB, free: 21.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009005/1.483, allocations: 428.7 kB / 0.7482 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/1.487, allocations: 2.914 MB / 0.751 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/1.487, allocations: 24.84 kB / 0.751 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.487, allocations: 7.453 kB / 0.751 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.487, allocations: 14.22 kB / 0.7511 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/1.501, allocations: 7.54 MB / 0.7584 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.501, allocations: 4 kB / 0.7584 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/1.503, allocations: 300.1 kB / 0.7587 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009936/1.504, allocations: 353.5 kB / 0.7591 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.504, allocations: 11.94 kB / 0.7591 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/1.509, allocations: 4.845 MB / 0.7638 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.509, allocations: 10.69 kB / 0.7638 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00849/1.518, allocations: 5.68 MB / 0.7694 GB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/1.52, allocations: 0.7108 MB / 0.77 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007307/1.521, allocations: 4 kB / 0.77 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.522, allocations: 66.94 kB / 0.7701 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.523, allocations: 116.2 kB / 0.7702 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.523, allocations: 56 kB / 0.7703 GB, free: 4.094 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006241/1.529, allocations: 2.793 MB / 0.773 GB, free: 1.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.529, allocations: 0 / 0.773 GB, free: 1.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008487/1.538, allocations: 1.053 MB / 0.774 GB, free: 0.625 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (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 (155): * Single equations (assignments): 150 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0005393/1.538, allocations: 147.4 kB / 0.7742 GB, free: 492 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/1.551, allocations: 5.43 MB / 0.7795 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.551, allocations: 4 kB / 0.7795 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/1.554, allocations: 1.673 MB / 0.7811 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.557, allocations: 481.5 kB / 0.7816 GB, free: 9.688 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/1.577, allocations: 9.475 MB / 0.7908 GB, free: 1.234 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2788/1.856, allocations: 4.244 MB / 0.795 GB, free: 93.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01247/1.869, allocations: 2.372 MB / 0.7973 GB, free: 93.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/1.871, allocations: 291.9 kB / 0.7976 GB, free: 93.93 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/1.871, allocations: 0 / 0.7976 GB, free: 93.93 MB / 458.7 MB Notification: Performance of Templates: time 0.07462/1.945, allocations: 35.34 MB / 0.8321 GB, free: 92.54 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)