Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006096/0.006096, allocations: 100.4 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 192.2 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3864/0.3864, allocations: 39.94 MB / 309.8 MB, free: 9.418 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 72.22 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3859, allocations: 56.87 MB / 492.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0131/0.399, allocations: 11.04 MB / 0.4919 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00866/0.4077, allocations: 3.05 MB / 0.4949 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.4111, allocations: 57.09 kB / 0.4949 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.4155, allocations: 2.02 MB / 0.4969 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004129/0.4196, allocations: 1.21 MB / 0.4981 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.4205, allocations: 291 kB / 0.4983 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004246/0.4248, allocations: 2.499 MB / 0.5008 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.4281, allocations: 2.393 MB / 0.5031 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.4303, allocations: 0.9586 MB / 0.5041 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.4325, allocations: 1.303 MB / 0.5053 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005992/0.4331, allocations: 220.2 kB / 0.5055 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.4348, allocations: 0.7072 MB / 0.5062 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.4361, allocations: 1.243 MB / 0.5074 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.4374, allocations: 1.472 MB / 0.5089 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.443, allocations: 4.841 MB / 0.5136 GB, free: 14.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.443, allocations: 0 / 0.5136 GB, free: 14.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.443, allocations: 1.094 kB / 0.5136 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.4432, allocations: 0 / 0.5136 GB, free: 14.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.007537/0.4507, allocations: 3.149 MB / 0.5167 GB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4508, allocations: 15.89 kB / 0.5167 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/0.4561, allocations: 1.615 MB / 0.5183 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.4596, allocations: 1.426 MB / 0.5197 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.4598, allocations: 164.4 kB / 0.5198 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.4601, allocations: 207.8 kB / 0.52 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.4716, allocations: 6.969 MB / 0.5268 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.4717, allocations: 11.88 kB / 0.5268 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.4719, allocations: 95.89 kB / 0.5269 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002297/0.4742, allocations: 1.532 MB / 0.5284 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.4855, allocations: 5.948 MB / 0.5342 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03194/0.5175, allocations: 22.09 MB / 0.5558 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/0.5217, allocations: 2.187 MB / 0.5579 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.5228, allocations: 0.8127 MB / 0.5587 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007383/0.5302, allocations: 3.961 MB / 0.5626 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5303, allocations: 39.22 kB / 0.5626 GB, free: 11.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.016e-06/0.5303, allocations: 0 / 0.5626 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.005637/0.5359, allocations: 2.268 MB / 0.5649 GB, free: 9.133 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.536, allocations: 60.06 kB / 0.5649 GB, free: 9.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.5391, allocations: 2.06 MB / 0.5669 GB, free: 6.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.5392, allocations: 33.7 kB / 0.567 GB, free: 6.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.5405, allocations: 2.003 MB / 0.5689 GB, free: 4.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.5409, allocations: 387.1 kB / 0.5693 GB, free: 4.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008501/0.5417, allocations: 0.6746 MB / 0.5699 GB, free: 3.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5419, allocations: 369.7 kB / 0.5703 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.5433, allocations: 0.9941 MB / 0.5713 GB, free: 2.449 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/0.5464, allocations: 2.992 MB / 0.5742 GB, free: 14.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004701/0.5512, allocations: 4.363 MB / 0.5784 GB, free: 9.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/0.5512, allocations: 24 kB / 0.5785 GB, free: 9.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006152/0.5574, allocations: 3.874 MB / 0.5822 GB, free: 5.203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.5574, allocations: 36 kB / 0.5823 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.348e-05/0.5575, allocations: 68.84 kB / 0.5823 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.742e-05/0.5576, allocations: 96 kB / 0.5824 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.5595, allocations: 0.7291 MB / 0.5832 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001059/0.5596, allocations: 139.4 kB / 0.5833 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.5618, allocations: 451.1 kB / 0.5837 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.562, allocations: 204 kB / 0.5839 GB, free: 3.496 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002358/0.5644, allocations: 1.474 MB / 0.5854 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.5646, allocations: 169.8 kB / 0.5855 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.5665, allocations: 1.233 MB / 0.5867 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.5665, allocations: 15.98 kB / 0.5867 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5665, allocations: 0 / 0.5867 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.5665, allocations: 0 / 0.5867 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008639/0.5752, allocations: 5.038 MB / 0.5917 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.5752, allocations: 11.94 kB / 0.5917 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.5758, allocations: 147.7 kB / 0.5918 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/0.5759, allocations: 12 kB / 0.5918 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.5759, allocations: 27.98 kB / 0.5918 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.5759, allocations: 23.88 kB / 0.5919 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.81e-05/0.576, allocations: 15.94 kB / 0.5919 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.5781, allocations: 1.578 MB / 0.5934 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.5786, allocations: 274.5 kB / 0.5937 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.5788, allocations: 24 kB / 0.5937 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.5794, allocations: 35.97 kB / 0.5937 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.5795, allocations: 83.69 kB / 0.5938 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.5796, allocations: 47.95 kB / 0.5939 GB, free: 8.902 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002205/0.5818, allocations: 1.34 MB / 0.5952 GB, free: 7.539 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5818, allocations: 0 / 0.5952 GB, free: 7.539 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004276/0.5861, allocations: 0.7737 MB / 0.5959 GB, free: 6.762 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * 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 (76): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005226/0.5866, allocations: 162.8 kB / 0.5961 GB, free: 6.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.591, allocations: 2.327 MB / 0.5984 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.591, allocations: 0 / 0.5984 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.5918, allocations: 0.5633 MB / 0.5989 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5934, allocations: 271.7 kB / 0.5992 GB, free: 3.457 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.604, allocations: 5.731 MB / 0.6048 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/0.6068, allocations: 2.458 MB / 0.6072 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002542/0.6094, allocations: 1.047 MB / 0.6082 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.6097, allocations: 139.4 kB / 0.6083 GB, free: 9.895 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/0.6097, allocations: 0 / 0.6083 GB, free: 9.895 MB / 494.1 MB Notification: Performance of Templates: time 0.03312/0.6429, allocations: 16.64 MB / 0.6246 GB, free: 9.254 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)