Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="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_3.2.3_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_3.2.3_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.001164/0.001164, allocations: 91.34 kB / 16.67 MB, free: 6.105 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.001445/0.001445, allocations: 177.3 kB / 17.57 MB, free: 5.82 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.964/1.964, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2781/0.2781, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 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: Performance of FrontEnd - loaded program: time 0.0006411/0.0006411, allocations: 13.31 kB / 385.2 MB, free: 56.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1535, allocations: 58.87 MB / 444.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.5467/0.7002, allocations: 99.57 MB / 0.5309 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07255/0.7729, allocations: 19.25 MB / 0.5497 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03808/0.811, allocations: 446.2 kB / 0.5501 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005805/0.8168, allocations: 0.7394 MB / 0.5509 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01696/0.8339, allocations: 3.012 MB / 0.5538 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005596/0.8395, allocations: 1.253 MB / 0.555 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02359/0.8631, allocations: 12.19 MB / 0.5669 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02178/0.8849, allocations: 10.69 MB / 0.5774 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007143/0.8921, allocations: 2.471 MB / 0.5798 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00788/0.9001, allocations: 3.996 MB / 0.5837 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002301/0.9024, allocations: 296 kB / 0.584 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005164/0.9076, allocations: 1.192 MB / 0.5851 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006448/0.9141, allocations: 3.553 MB / 0.5886 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009476/0.9236, allocations: 3.938 MB / 0.5925 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.9399, allocations: 10.43 MB / 0.6026 GB, free: 7.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.94, allocations: 0 / 0.6026 GB, free: 7.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.94, allocations: 0 / 0.6026 GB, free: 7.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006909/0.9407, allocations: 4 kB / 0.6026 GB, free: 7.953 MB / 446.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.02461/0.9653, allocations: 7.808 MB / 0.6103 GB, free: 104 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.9654, allocations: 8.031 kB / 0.6103 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.98, allocations: 2.778 MB / 0.613 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.994, allocations: 5.032 MB / 0.6179 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008455/0.9949, allocations: 485.5 kB / 0.6184 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/0.998, allocations: 0.6142 MB / 0.619 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04302/1.041, allocations: 19.53 MB / 0.638 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/1.041, allocations: 79.25 kB / 0.6381 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/1.043, allocations: 299.1 kB / 0.6384 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006423/1.049, allocations: 3.639 MB / 0.642 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03653/1.085, allocations: 15.21 MB / 0.6568 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7546/1.84, allocations: 72.99 MB / 0.7281 GB, free: 168.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/1.859, allocations: 6.122 MB / 0.7341 GB, free: 167.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006208/1.866, allocations: 2.536 MB / 0.7365 GB, free: 167.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02694/1.893, allocations: 11.17 MB / 0.7475 GB, free: 164.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.883e-05/1.893, allocations: 62.47 kB / 0.7475 GB, free: 164.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=250): time 9.308e-06/1.893, allocations: 2.25 kB / 0.7475 GB, free: 164.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=274): time 0.06173/1.955, allocations: 16.4 MB / 0.7635 GB, free: 157.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/1.955, allocations: 163.2 kB / 0.7637 GB, free: 157 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/1.969, allocations: 6.769 MB / 0.7703 GB, free: 153.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000574/1.97, allocations: 66.97 kB / 0.7704 GB, free: 153.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004106/1.974, allocations: 5.739 MB / 0.776 GB, free: 148.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.976, allocations: 1.059 MB / 0.777 GB, free: 147.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/1.977, allocations: 0.8193 MB / 0.7778 GB, free: 146.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/1.977, allocations: 304.8 kB / 0.7781 GB, free: 146.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004412/1.982, allocations: 2.771 MB / 0.7808 GB, free: 143.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006443/1.988, allocations: 8.668 MB / 0.7893 GB, free: 132.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/2.001, allocations: 12.43 MB / 0.8014 GB, free: 117.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003121/2.002, allocations: 64 kB / 0.8015 GB, free: 117.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02507/2.027, allocations: 11.13 MB / 0.8123 GB, free: 106.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004797/2.027, allocations: 96.88 kB / 0.8124 GB, free: 106.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006389/2.028, allocations: 214.8 kB / 0.8126 GB, free: 106.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/2.028, allocations: 272 kB / 0.8129 GB, free: 105.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008031/2.036, allocations: 2.211 MB / 0.815 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004752/2.037, allocations: 410.4 kB / 0.8154 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00878/2.046, allocations: 463.5 kB / 0.8159 GB, free: 102.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/2.047, allocations: 0.5795 MB / 0.8164 GB, free: 102.2 MB / 0.545 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.009973/2.057, allocations: 3.759 MB / 0.8201 GB, free: 98.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/2.059, allocations: 0.59 MB / 0.8207 GB, free: 97.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/2.066, allocations: 2.98 MB / 0.8236 GB, free: 94.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/2.066, allocations: 28 kB / 0.8236 GB, free: 94.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/2.066, allocations: 4 kB / 0.8236 GB, free: 94.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/2.066, allocations: 11.95 kB / 0.8236 GB, free: 94.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04175/2.107, allocations: 25.15 MB / 0.8482 GB, free: 68.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002374/2.108, allocations: 64 kB / 0.8483 GB, free: 68.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/2.11, allocations: 0.6082 MB / 0.8489 GB, free: 68.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.572e-05/2.11, allocations: 84 kB / 0.8489 GB, free: 67.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005294/2.111, allocations: 136 kB / 0.8491 GB, free: 67.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.702e-05/2.111, allocations: 123.5 kB / 0.8492 GB, free: 67.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.333e-05/2.111, allocations: 99.56 kB / 0.8493 GB, free: 67.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008302/2.119, allocations: 5.883 MB / 0.855 GB, free: 60.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002897/2.122, allocations: 0.7195 MB / 0.8557 GB, free: 59.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001923/2.124, allocations: 144 kB / 0.8559 GB, free: 59.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/2.128, allocations: 155.9 kB / 0.856 GB, free: 59.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005702/2.129, allocations: 431.4 kB / 0.8564 GB, free: 59.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003366/2.129, allocations: 180 kB / 0.8566 GB, free: 59.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007865/2.137, allocations: 4.228 MB / 0.8607 GB, free: 54.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/2.137, allocations: 0 / 0.8607 GB, free: 54.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01167/2.148, allocations: 1.56 MB / 0.8623 GB, free: 53.3 MB / 0.545 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.001305/2.15, allocations: 340.1 kB / 0.8626 GB, free: 52.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01246/2.162, allocations: 6.45 MB / 0.8689 GB, free: 46.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-05/2.162, allocations: 8 kB / 0.8689 GB, free: 46.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003074/2.166, allocations: 1.639 MB / 0.8705 GB, free: 44.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06149/2.227, allocations: 0.9755 MB / 0.8714 GB, free: 43.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/2.265, allocations: 23.07 MB / 0.894 GB, free: 19.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007955/2.273, allocations: 5.776 MB / 0.8996 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002461/2.275, allocations: 495.4 kB / 0.9001 GB, free: 13.64 MB / 0.545 GB Notification: Performance of SimCode: time 2.254e-06/2.275, allocations: 0 / 0.9001 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Templates: time 0.5934/2.869, allocations: 96.24 MB / 0.9941 GB, free: 156.7 MB / 0.5607 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o] Error 1