Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007832/0.007832, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.323/1.323, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001683/0.001683, allocations: 111.4 kB / 226.2 MB, free: 10.12 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.3354/0.3354, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006926/0.0006926, allocations: 8 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1694, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5767, allocations: 89.44 MB / 0.4893 GB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.577, allocations: 78.28 kB / 0.4893 GB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.14/0.717, allocations: 56.86 MB / 0.5449 GB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.7171, allocations: 0 / 0.5449 GB, free: 10.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001353/0.7172, allocations: 52 kB / 0.5449 GB, free: 10.5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.008596/0.7258, allocations: 2.772 MB / 0.5476 GB, free: 7.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.7259, allocations: 12.02 kB / 0.5476 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008228/0.7341, allocations: 1.84 MB / 0.5494 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/0.7397, allocations: 1.739 MB / 0.5511 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.7399, allocations: 233.9 kB / 0.5513 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.7413, allocations: 291.9 kB / 0.5516 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01687/0.7582, allocations: 6.802 MB / 0.5583 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.59e-05/0.7583, allocations: 23.75 kB / 0.5583 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004638/0.7588, allocations: 137 kB / 0.5584 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009801/0.7598, allocations: 0.7001 MB / 0.5591 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.7726, allocations: 5.939 MB / 0.5649 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2747/1.047, allocations: 23.82 MB / 0.5882 GB, free: 83.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/1.052, allocations: 2.198 MB / 0.5903 GB, free: 83.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007624/1.06, allocations: 4.006 MB / 0.5942 GB, free: 82.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/1.06, allocations: 40 kB / 0.5943 GB, free: 82.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.348e-06/1.06, allocations: 4.875 kB / 0.5943 GB, free: 82.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.005393/1.065, allocations: 2.51 MB / 0.5967 GB, free: 81.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.065, allocations: 58.89 kB / 0.5968 GB, free: 81.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/1.068, allocations: 1.797 MB / 0.5985 GB, free: 81.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/1.068, allocations: 36.39 kB / 0.5986 GB, free: 81.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.069, allocations: 2.002 MB / 0.6005 GB, free: 80.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/1.07, allocations: 371.7 kB / 0.6009 GB, free: 80.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.07, allocations: 62.5 kB / 0.6009 GB, free: 80.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/1.07, allocations: 0.4984 MB / 0.6014 GB, free: 80.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.071, allocations: 0.9568 MB / 0.6024 GB, free: 80.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/1.073, allocations: 2.899 MB / 0.6052 GB, free: 77.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/1.075, allocations: 1.666 MB / 0.6068 GB, free: 77.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-05/1.075, allocations: 18.03 kB / 0.6068 GB, free: 77.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.005052/1.08, allocations: 3.759 MB / 0.6105 GB, free: 77.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/1.08, allocations: 35.12 kB / 0.6105 GB, free: 77.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-05/1.08, allocations: 68.75 kB / 0.6106 GB, free: 77.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/1.08, allocations: 101.1 kB / 0.6107 GB, free: 77.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.082, allocations: 0.7215 MB / 0.6114 GB, free: 77.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001189/1.082, allocations: 136.1 kB / 0.6115 GB, free: 77.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/1.085, allocations: 444.2 kB / 0.612 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/1.085, allocations: 198.2 kB / 0.6121 GB, free: 77.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (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.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 (395): * Single equations (assignments): 392 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003153/1.089, allocations: 1.455 MB / 0.6136 GB, free: 76.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/1.089, allocations: 172.8 kB / 0.6137 GB, free: 76.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/1.091, allocations: 1.243 MB / 0.6149 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/1.091, allocations: 8.969 kB / 0.615 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.091, allocations: 0 / 0.615 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.091, allocations: 6.484 kB / 0.615 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008926/1.1, allocations: 5.037 MB / 0.6199 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.1, allocations: 7.75 kB / 0.6199 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/1.1, allocations: 143 kB / 0.62 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.1, allocations: 15.53 kB / 0.62 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/1.1, allocations: 25.22 kB / 0.6201 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/1.1, allocations: 19 kB / 0.6201 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.1, allocations: 23.94 kB / 0.6201 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.102, allocations: 2.307 MB / 0.6224 GB, free: 74.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/1.103, allocations: 280.9 kB / 0.6226 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/1.103, allocations: 23.53 kB / 0.6226 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/1.104, allocations: 36.5 kB / 0.6227 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.104, allocations: 89.14 kB / 0.6228 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/1.104, allocations: 35.33 kB / 0.6228 GB, free: 73.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001881/1.106, allocations: 1.314 MB / 0.6241 GB, free: 73.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 0 / 0.6241 GB, free: 73.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003551/1.109, allocations: 0.7692 MB / 0.6248 GB, free: 73.67 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004244/1.11, allocations: 154.6 kB / 0.625 GB, free: 73.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004916/1.115, allocations: 2.226 MB / 0.6272 GB, free: 73.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.115, allocations: 3.344 kB / 0.6272 GB, free: 73.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.116, allocations: 0.563 MB / 0.6277 GB, free: 73.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.117, allocations: 242.1 kB / 0.6279 GB, free: 73.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.129, allocations: 6.922 MB / 0.6347 GB, free: 69.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/1.132, allocations: 2.508 MB / 0.6371 GB, free: 68.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002791/1.134, allocations: 1.037 MB / 0.6382 GB, free: 68.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/1.135, allocations: 135.3 kB / 0.6383 GB, free: 68.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/1.135, allocations: 0 / 0.6383 GB, free: 68.19 MB / 426.7 MB Notification: Performance of Templates: time 0.0313/1.166, allocations: 15.02 MB / 0.653 GB, free: 67.38 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)