Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001639/0.00164, allocations: 191.7 kB / 16.13 MB, free: 6.656 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.569/1.569, allocations: 205.1 MB / 222 MB, free: 4.758 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.4089/0.4089, allocations: 39.94 MB / 309.3 MB, free: 9.352 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.001441/0.001442, allocations: 69.94 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1554, allocations: 56.89 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4039/0.5593, allocations: 101.9 MB / 0.5232 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0761/0.6355, allocations: 19.26 MB / 0.542 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03597/0.6715, allocations: 450.2 kB / 0.5424 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01664/0.6883, allocations: 6.114 MB / 0.5484 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.7017, allocations: 3.001 MB / 0.5513 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.7068, allocations: 1.498 MB / 0.5528 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01909/0.726, allocations: 12.2 MB / 0.5647 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01542/0.7415, allocations: 7.699 MB / 0.5722 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008803/0.7503, allocations: 2.967 MB / 0.5751 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.7613, allocations: 4.631 MB / 0.5796 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004137/0.7655, allocations: 0.4922 MB / 0.5801 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006582/0.7721, allocations: 1.389 MB / 0.5815 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00855/0.7807, allocations: 3.845 MB / 0.5852 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01444/0.7952, allocations: 4.306 MB / 0.5894 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02457/0.8199, allocations: 12.97 MB / 0.6021 GB, free: 12.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.8199, allocations: 0 / 0.6021 GB, free: 12.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.82, allocations: 0 / 0.6021 GB, free: 12.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008993/0.8209, allocations: 0 / 0.6021 GB, free: 12.34 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.0365/0.8574, allocations: 9.532 MB / 0.6114 GB, free: 2.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.8575, allocations: 8.031 kB / 0.6114 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.871, allocations: 2.713 MB / 0.6141 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.8833, allocations: 5.04 MB / 0.619 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005758/0.884, allocations: 484.3 kB / 0.6194 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003284/0.8873, allocations: 0.6128 MB / 0.62 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7233/1.611, allocations: 19.49 MB / 0.6391 GB, free: 55.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005385/1.611, allocations: 74.39 kB / 0.6391 GB, free: 55.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00222/1.613, allocations: 299.6 kB / 0.6394 GB, free: 55.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007894/1.621, allocations: 3.641 MB / 0.643 GB, free: 55.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04231/1.664, allocations: 15.17 MB / 0.6578 GB, free: 55.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/1.784, allocations: 73.13 MB / 0.7292 GB, free: 10.77 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/1.802, allocations: 6.12 MB / 0.7352 GB, free: 4.52 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005012/1.807, allocations: 2.534 MB / 0.7377 GB, free: 1.969 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02885/1.836, allocations: 11.17 MB / 0.7486 GB, free: 6.445 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.75e-05/1.836, allocations: 56.56 kB / 0.7486 GB, free: 6.383 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=250): time 8.336e-06/1.836, allocations: 0 / 0.7486 GB, free: 6.383 MB / 0.5138 GB Notification: Performance of matching and sorting (n=274): time 0.05264/1.889, allocations: 16.34 MB / 0.7646 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.889, allocations: 161.6 kB / 0.7647 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.901, allocations: 6.771 MB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008412/1.902, allocations: 70.98 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006013/1.908, allocations: 5.734 MB / 0.777 GB, free: 9.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002365/1.911, allocations: 1.054 MB / 0.778 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006549/1.917, allocations: 1.894 MB / 0.7799 GB, free: 6.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.918, allocations: 301.1 kB / 0.7802 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006725/1.924, allocations: 2.771 MB / 0.7829 GB, free: 3.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/1.937, allocations: 8.66 MB / 0.7913 GB, free: 7.887 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/1.956, allocations: 12.45 MB / 0.8035 GB, free: 9.391 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003037/1.956, allocations: 61.31 kB / 0.8036 GB, free: 9.332 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02648/1.982, allocations: 11.12 MB / 0.8144 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004193/1.983, allocations: 96 kB / 0.8145 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005373/1.983, allocations: 212 kB / 0.8147 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/1.984, allocations: 276 kB / 0.815 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009102/1.993, allocations: 2.213 MB / 0.8171 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006427/1.994, allocations: 410.3 kB / 0.8175 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009802/2.003, allocations: 459.5 kB / 0.818 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/2.006, allocations: 0.5841 MB / 0.8185 GB, free: 11.53 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.01126/2.017, allocations: 3.757 MB / 0.8222 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002235/2.019, allocations: 0.5822 MB / 0.8228 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008581/2.028, allocations: 2.998 MB / 0.8257 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/2.028, allocations: 29.09 kB / 0.8257 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/2.028, allocations: 3.984 kB / 0.8257 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-05/2.028, allocations: 15.95 kB / 0.8257 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3321/2.36, allocations: 25.12 MB / 0.8503 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.598e-05/2.36, allocations: 64.66 kB / 0.8503 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/2.363, allocations: 0.6134 MB / 0.8509 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.104e-05/2.363, allocations: 83.66 kB / 0.851 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002723/2.363, allocations: 143.7 kB / 0.8511 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.259e-05/2.363, allocations: 124 kB / 0.8513 GB, free: 242.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.925e-05/2.363, allocations: 99.44 kB / 0.8514 GB, free: 242.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007097/2.37, allocations: 5.889 MB / 0.8571 GB, free: 238.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/2.372, allocations: 0.7066 MB / 0.8578 GB, free: 238.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/2.373, allocations: 150.3 kB / 0.8579 GB, free: 238.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/2.376, allocations: 149.7 kB / 0.8581 GB, free: 238.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/2.376, allocations: 424.7 kB / 0.8585 GB, free: 238.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/2.377, allocations: 177.1 kB / 0.8587 GB, free: 238.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006691/2.383, allocations: 4.228 MB / 0.8628 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/2.383, allocations: 0 / 0.8628 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009972/2.393, allocations: 1.566 MB / 0.8643 GB, free: 237 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.001019/2.394, allocations: 334.3 kB / 0.8646 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01103/2.405, allocations: 6.444 MB / 0.8709 GB, free: 234.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-05/2.406, allocations: 13.19 kB / 0.8709 GB, free: 234.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/2.408, allocations: 1.646 MB / 0.8726 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007072/2.416, allocations: 0.9463 MB / 0.8735 GB, free: 233.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03508/2.451, allocations: 22.24 MB / 0.8952 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01218/2.463, allocations: 5.798 MB / 0.9009 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01087/2.474, allocations: 2.886 MB / 0.9037 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/2.476, allocations: 421.7 kB / 0.9041 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.292e-06/2.476, allocations: 0 / 0.9041 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.09707/2.573, allocations: 49.36 MB / 0.9523 GB, free: 184.3 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)