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.01198/0.01198, allocations: 166.7 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.448/1.448, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001602/0.001602, allocations: 110.6 kB / 226.2 MB, free: 10.11 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.3482/0.3482, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 48.69 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4448, allocations: 94.05 MB / 0.4938 GB, free: 9.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4451, allocations: 78.33 kB / 0.4938 GB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5398/0.9849, allocations: 114.3 MB / 0.6055 GB, free: 72.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.985, allocations: 3.719 kB / 0.6055 GB, free: 72.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003234/0.9853, allocations: 108.7 kB / 0.6056 GB, free: 72.37 MB / 426.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.01936/1.005, allocations: 5.927 MB / 0.6114 GB, free: 69.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.005, allocations: 9.594 kB / 0.6114 GB, free: 69.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02747/1.032, allocations: 6.952 MB / 0.6182 GB, free: 69.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/1.051, allocations: 6.896 MB / 0.6249 GB, free: 68.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/1.051, allocations: 415.4 kB / 0.6253 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002587/1.054, allocations: 0.5423 MB / 0.6259 GB, free: 68.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02905/1.083, allocations: 13.35 MB / 0.6389 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002231/1.083, allocations: 75.56 kB / 0.639 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009022/1.084, allocations: 271.7 kB / 0.6392 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/1.086, allocations: 1.246 MB / 0.6404 GB, free: 65.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/1.105, allocations: 10.66 MB / 0.6509 GB, free: 63.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06297/1.168, allocations: 59.64 MB / 0.7091 GB, free: 18.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/1.178, allocations: 4.645 MB / 0.7136 GB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01548/1.194, allocations: 6.503 MB / 0.72 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/1.194, allocations: 56.34 kB / 0.72 GB, free: 29.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 5.069e-06/1.194, allocations: 0 / 0.72 GB, free: 29.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.0436/1.237, allocations: 16.91 MB / 0.7366 GB, free: 16.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/1.238, allocations: 235.1 kB / 0.7368 GB, free: 16.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/1.251, allocations: 5.218 MB / 0.7419 GB, free: 11.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005833/1.251, allocations: 53.7 kB / 0.7419 GB, free: 11.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004706/1.256, allocations: 4.124 MB / 0.746 GB, free: 7.965 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001468/1.258, allocations: 0.7605 MB / 0.7467 GB, free: 7.297 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/1.259, allocations: 143.9 kB / 0.7468 GB, free: 7.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001063/1.26, allocations: 0.6077 MB / 0.7474 GB, free: 6.633 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005111/1.265, allocations: 2.306 MB / 0.7497 GB, free: 4.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2357/1.501, allocations: 6.781 MB / 0.7563 GB, free: 77.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007675/1.508, allocations: 3.869 MB / 0.7601 GB, free: 77.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002334/1.509, allocations: 45.19 kB / 0.7601 GB, free: 77.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02078/1.53, allocations: 9.256 MB / 0.7692 GB, free: 76.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/1.53, allocations: 73.97 kB / 0.7692 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000241/1.53, allocations: 160.9 kB / 0.7694 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/1.532, allocations: 0.6202 MB / 0.77 GB, free: 76.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005879/1.537, allocations: 1.644 MB / 0.7716 GB, free: 76.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/1.543, allocations: 5.814 MB / 0.7773 GB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/1.55, allocations: 386.8 kB / 0.7776 GB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.552, allocations: 445.6 kB / 0.7781 GB, free: 73.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 877 * 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.006167/1.558, allocations: 2.695 MB / 0.7807 GB, free: 73.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.559, allocations: 488.7 kB / 0.7812 GB, free: 73.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/1.565, allocations: 3.057 MB / 0.7841 GB, free: 73.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.683e-05/1.566, allocations: 26.52 kB / 0.7842 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.566, allocations: 12.31 kB / 0.7842 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.566, allocations: 5.719 kB / 0.7842 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.584, allocations: 8.469 MB / 0.7925 GB, free: 72.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.584, allocations: 3.844 kB / 0.7925 GB, free: 72.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.586, allocations: 326.1 kB / 0.7928 GB, free: 72.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/1.587, allocations: 368.4 kB / 0.7931 GB, free: 72.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/1.587, allocations: 33.25 kB / 0.7932 GB, free: 72.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/1.593, allocations: 5.185 MB / 0.7982 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-06/1.594, allocations: 4 kB / 0.7982 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008391/1.602, allocations: 6.152 MB / 0.8042 GB, free: 66.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/1.605, allocations: 0.7975 MB / 0.805 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/1.606, allocations: 33.5 kB / 0.805 GB, free: 66.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.609, allocations: 97.45 kB / 0.8051 GB, free: 66.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/1.609, allocations: 116.6 kB / 0.8052 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.609, allocations: 51.52 kB / 0.8053 GB, free: 66.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0068/1.616, allocations: 3.732 MB / 0.8089 GB, free: 64.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.616, allocations: 0 / 0.8089 GB, free: 64.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008299/1.624, allocations: 1.223 MB / 0.8101 GB, free: 64.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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.0005754/1.625, allocations: 168.6 kB / 0.8103 GB, free: 64.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009751/1.635, allocations: 5.716 MB / 0.8159 GB, free: 62.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.635, allocations: 0 / 0.8159 GB, free: 62.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002239/1.637, allocations: 1.712 MB / 0.8176 GB, free: 61.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.641, allocations: 0.6017 MB / 0.8181 GB, free: 61.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.666, allocations: 13.74 MB / 0.8316 GB, free: 54.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005225/1.671, allocations: 4.237 MB / 0.8357 GB, free: 52.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006138/1.677, allocations: 2.318 MB / 0.838 GB, free: 52.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.679, allocations: 317 kB / 0.8383 GB, free: 52.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/1.679, allocations: 0 / 0.8383 GB, free: 52.64 MB / 442.7 MB Notification: Performance of Templates: time 0.08462/1.763, allocations: 43.19 MB / 0.8804 GB, free: 31.68 MB / 442.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)