Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009214/0.0009214, allocations: 90.66 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004317, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1874, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4439/0.6314, allocations: 90.24 MB / 0.5589 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06796/0.6994, allocations: 18.13 MB / 0.5767 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02724/0.7267, allocations: 442.9 kB / 0.5771 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01774/0.7445, allocations: 4.856 MB / 0.5818 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04737/0.7919, allocations: 14.16 MB / 0.5956 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008496/0.8004, allocations: 1.252 MB / 0.5969 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.8159, allocations: 9.169 MB / 0.6058 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.8316, allocations: 9.021 MB / 0.6146 GB, free: 292 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.8372, allocations: 2.449 MB / 0.617 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006529/0.8437, allocations: 3.529 MB / 0.6205 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.8452, allocations: 252 kB / 0.6207 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.8481, allocations: 0.944 MB / 0.6216 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004149/0.8523, allocations: 3.152 MB / 0.6247 GB, free: 5.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002678/0.855, allocations: 1.431 MB / 0.6261 GB, free: 4.488 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.8674, allocations: 9.27 MB / 0.6352 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.8675, allocations: 0 / 0.6352 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8675, allocations: 0 / 0.6352 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005746/0.8681, allocations: 0 / 0.6352 GB, free: 11.2 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01646/0.8845, allocations: 7.292 MB / 0.6423 GB, free: 3.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.8846, allocations: 8.031 kB / 0.6423 GB, free: 3.812 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.895, allocations: 2.63 MB / 0.6449 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00903/0.9041, allocations: 4.393 MB / 0.6491 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/0.9046, allocations: 438.9 kB / 0.6496 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.9064, allocations: 0.5542 MB / 0.6501 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0341/0.9406, allocations: 17.45 MB / 0.6671 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/0.9408, allocations: 67.34 kB / 0.6672 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009058/0.9417, allocations: 275.7 kB / 0.6675 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004967/0.9467, allocations: 3.174 MB / 0.6706 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03188/0.9786, allocations: 13.38 MB / 0.6836 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7224/1.701, allocations: 65.97 MB / 0.7481 GB, free: 136 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/1.715, allocations: 5.377 MB / 0.7533 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/1.719, allocations: 2.109 MB / 0.7554 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/1.736, allocations: 10.01 MB / 0.7651 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/1.736, allocations: 57.81 kB / 0.7652 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 6.272e-06/1.736, allocations: 0 / 0.7652 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03954/1.776, allocations: 14.22 MB / 0.7791 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.776, allocations: 145.8 kB / 0.7792 GB, free: 114 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007751/1.783, allocations: 6.345 MB / 0.7854 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003735/1.784, allocations: 59.42 kB / 0.7855 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002932/1.787, allocations: 5.235 MB / 0.7906 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008826/1.788, allocations: 0.8226 MB / 0.7914 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/1.788, allocations: 163.6 kB / 0.7915 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003597/1.788, allocations: 0.6658 MB / 0.7922 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/1.792, allocations: 2.318 MB / 0.7945 GB, free: 98.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005573/1.797, allocations: 7.739 MB / 0.802 GB, free: 88.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/1.802, allocations: 4.07 MB / 0.806 GB, free: 83.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.249e-05/1.803, allocations: 56 kB / 0.806 GB, free: 83.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01516/1.818, allocations: 9.689 MB / 0.8155 GB, free: 74.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.717e-05/1.818, allocations: 88 kB / 0.8156 GB, free: 74.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.818, allocations: 193.5 kB / 0.8158 GB, free: 73.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/1.818, allocations: 280 kB / 0.816 GB, free: 73.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005245/1.823, allocations: 1.953 MB / 0.8179 GB, free: 71.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002234/1.824, allocations: 374.5 kB / 0.8183 GB, free: 71.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005996/1.83, allocations: 413.4 kB / 0.8187 GB, free: 70.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008028/1.831, allocations: 0.5208 MB / 0.8192 GB, free: 70.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 (1055): * Single equations (assignments): 1044 * Array equations: 11 * 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.00679/1.837, allocations: 3.407 MB / 0.8225 GB, free: 67.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.839, allocations: 0.536 MB / 0.8231 GB, free: 66.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/1.84, allocations: 0.6287 MB / 0.8237 GB, free: 65.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/1.84, allocations: 24 kB / 0.8237 GB, free: 65.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/1.84, allocations: 3.938 kB / 0.8237 GB, free: 65.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/1.84, allocations: 11.95 kB / 0.8237 GB, free: 65.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.862, allocations: 15.25 MB / 0.8386 GB, free: 49.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/1.862, allocations: 44 kB / 0.8386 GB, free: 49.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.864, allocations: 451.1 kB / 0.8391 GB, free: 49.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.76e-05/1.864, allocations: 68 kB / 0.8391 GB, free: 49.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.864, allocations: 99.98 kB / 0.8392 GB, free: 49.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-05/1.864, allocations: 87.66 kB / 0.8393 GB, free: 49.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.412e-05/1.864, allocations: 79.64 kB / 0.8394 GB, free: 49.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004707/1.869, allocations: 4.291 MB / 0.8436 GB, free: 44.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.87, allocations: 0.6461 MB / 0.8442 GB, free: 43.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005215/1.871, allocations: 108 kB / 0.8443 GB, free: 43.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.873, allocations: 113.1 kB / 0.8444 GB, free: 43.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/1.873, allocations: 310.7 kB / 0.8447 GB, free: 42.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.873, allocations: 124 kB / 0.8448 GB, free: 42.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005949/1.879, allocations: 3.949 MB / 0.8487 GB, free: 38.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.879, allocations: 0 / 0.8487 GB, free: 38.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008328/1.887, allocations: 1.379 MB / 0.85 GB, free: 37.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0005899/1.888, allocations: 271.4 kB / 0.8503 GB, free: 37.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008832/1.897, allocations: 5.366 MB / 0.8555 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.358e-05/1.897, allocations: 10 kB / 0.8556 GB, free: 31.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.899, allocations: 1.19 MB / 0.8567 GB, free: 30.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/1.905, allocations: 0.8903 MB / 0.8576 GB, free: 29.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/1.939, allocations: 19.22 MB / 0.8764 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00721/1.946, allocations: 5.239 MB / 0.8815 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.948, allocations: 423.4 kB / 0.8819 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/1.948, allocations: 0 / 0.8819 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of Templates: time 0.4808/2.429, allocations: 85.79 MB / 0.9657 GB, free: 167.4 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o] Error 1