Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00164/0.00164, allocations: 170.1 kB / 12.72 MB, free: 2.594 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.233/1.233, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001668/0.001668, allocations: 114.1 kB / 223.2 MB, free: 4.109 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.174/0.174, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.85e-05, allocations: 0 / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09031, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.4535, allocations: 94.09 MB / 499.8 MB, free: 17.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.4538, allocations: 73.38 kB / 499.9 MB, free: 17.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7177/1.172, allocations: 200.7 MB / 0.6841 GB, free: 57.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.172, allocations: 0 / 0.6841 GB, free: 57.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004652/1.172, allocations: 200.7 kB / 0.6843 GB, free: 57.75 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.02978/1.202, allocations: 9.426 MB / 0.6935 GB, free: 54.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.202, allocations: 7.906 kB / 0.6935 GB, free: 54.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02148/1.223, allocations: 4.02 MB / 0.6974 GB, free: 53.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0242/1.248, allocations: 10.56 MB / 0.7077 GB, free: 52.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000793/1.248, allocations: 0.7926 MB / 0.7085 GB, free: 52.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005121/1.254, allocations: 1.041 MB / 0.7095 GB, free: 52.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05561/1.309, allocations: 24.08 MB / 0.7331 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000535/1.31, allocations: 95.09 kB / 0.7331 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004276/1.314, allocations: 497.6 kB / 0.7336 GB, free: 33.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003314/1.317, allocations: 2.27 MB / 0.7358 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04034/1.358, allocations: 18.98 MB / 0.7544 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4008/1.759, allocations: 94.14 MB / 0.8463 GB, free: 50.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/1.778, allocations: 7.536 MB / 0.8537 GB, free: 49.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/1.782, allocations: 3.041 MB / 0.8566 GB, free: 49.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02146/1.803, allocations: 13.29 MB / 0.8696 GB, free: 46.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.803, allocations: 77.03 kB / 0.8697 GB, free: 46.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=336): time 5.38e-06/1.803, allocations: 0 / 0.8697 GB, free: 46.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=360): time 0.04426/1.848, allocations: 18.76 MB / 0.888 GB, free: 40.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.848, allocations: 171.1 kB / 0.8882 GB, free: 40.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007926/1.856, allocations: 6.393 MB / 0.8944 GB, free: 39.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005858/1.856, allocations: 78.36 kB / 0.8945 GB, free: 39.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003279/1.86, allocations: 6.807 MB / 0.9011 GB, free: 36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/1.861, allocations: 1.357 MB / 0.9025 GB, free: 35.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/1.861, allocations: 212.1 kB / 0.9027 GB, free: 35.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004873/1.862, allocations: 0.7509 MB / 0.9034 GB, free: 34.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/1.866, allocations: 2.987 MB / 0.9063 GB, free: 34.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007013/1.873, allocations: 9.469 MB / 0.9156 GB, free: 24.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008356/1.881, allocations: 5.234 MB / 0.9207 GB, free: 22.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002519/1.882, allocations: 67.03 kB / 0.9207 GB, free: 22.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.02162/1.903, allocations: 12.18 MB / 0.9326 GB, free: 18.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/1.903, allocations: 104.2 kB / 0.9327 GB, free: 18.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002499/1.904, allocations: 236.2 kB / 0.933 GB, free: 18.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/1.904, allocations: 337.1 kB / 0.9333 GB, free: 18.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008329/1.912, allocations: 2.612 MB / 0.9358 GB, free: 18.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003871/1.913, allocations: 452.2 kB / 0.9363 GB, free: 18.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008585/1.921, allocations: 0.6922 MB / 0.9369 GB, free: 18.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.923, allocations: 0.6351 MB / 0.9376 GB, free: 18.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * 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.001507/1.924, allocations: 0.9494 MB / 0.9385 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.926, allocations: 0.6607 MB / 0.9391 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/1.931, allocations: 3.985 MB / 0.943 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/1.931, allocations: 38.44 kB / 0.9431 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.931, allocations: 3.938 kB / 0.9431 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/1.931, allocations: 20.98 kB / 0.9431 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3155/2.247, allocations: 50.03 MB / 0.9919 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-05/2.247, allocations: 76.16 kB / 0.992 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/2.25, allocations: 0.7451 MB / 0.9927 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-05/2.25, allocations: 104.5 kB / 0.9928 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/2.25, allocations: 163.5 kB / 0.993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.008e-05/2.25, allocations: 146.3 kB / 0.9931 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-05/2.25, allocations: 111.2 kB / 0.9932 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/2.261, allocations: 21.37 MB / 1.014 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003188/2.264, allocations: 0.7981 MB / 1.015 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002427/2.267, allocations: 168.1 kB / 1.015 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005137/2.272, allocations: 272.5 kB / 1.015 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009746/2.273, allocations: 485.2 kB / 1.016 GB, free: 80.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003938/2.273, allocations: 208 kB / 1.016 GB, free: 80.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008997/2.282, allocations: 4.459 MB / 1.02 GB, free: 80.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.283, allocations: 0 / 1.02 GB, free: 80.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01473/2.297, allocations: 1.878 MB / 1.022 GB, free: 80.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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.001414/2.299, allocations: 339.3 kB / 1.022 GB, free: 80.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01232/2.311, allocations: 7.314 MB / 1.03 GB, free: 79.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001001/2.311, allocations: 10.09 kB / 1.03 GB, free: 79.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003633/2.315, allocations: 2.076 MB / 1.032 GB, free: 79.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008253/2.323, allocations: 1.035 MB / 1.033 GB, free: 79.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03636/2.36, allocations: 18.04 MB / 1.05 GB, free: 70.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01492/2.374, allocations: 7.13 MB / 1.057 GB, free: 68.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01255/2.387, allocations: 3.321 MB / 1.06 GB, free: 68.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/2.389, allocations: 482.2 kB / 1.061 GB, free: 68.48 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/2.389, allocations: 7.281 kB / 1.061 GB, free: 68.47 MB / 490.7 MB Notification: Performance of Templates: time 0.1066/2.496, allocations: 56.25 MB / 1.116 GB, free: 27.68 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)