Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 90.89 kB / 16.66 MB, free: 5.684 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.001947/0.001947, allocations: 179.5 kB / 17.57 MB, free: 5.414 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.975/1.975, 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.2902/0.2902, allocations: 43.59 MB / 315.6 MB, free: 428 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.0005745/0.0005746, allocations: 18.36 kB / 385.2 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1362, allocations: 58.86 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03796/0.1742, allocations: 37.87 MB / 482 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02208/0.1963, allocations: 7.663 MB / 489.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00945/0.2058, allocations: 155.7 kB / 489.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2072, allocations: 314.5 kB / 490.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.2108, allocations: 1.149 MB / 491.2 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.2115, allocations: 259.6 kB / 491.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005888/0.2175, allocations: 3.649 MB / 495.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005308/0.2228, allocations: 3.421 MB / 498.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.2243, allocations: 0.704 MB / 499.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.226, allocations: 1.172 MB / 0.4887 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.2262, allocations: 100 kB / 0.4888 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.2275, allocations: 0.6278 MB / 0.4894 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.2288, allocations: 1.114 MB / 0.4905 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.2304, allocations: 1.333 MB / 0.4918 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.2357, allocations: 3.717 MB / 0.4954 GB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2358, allocations: 0 / 0.4954 GB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2358, allocations: 4 kB / 0.4954 GB, free: 5.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000179/0.236, allocations: 4 kB / 0.4954 GB, free: 5.637 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.006528/0.2425, allocations: 2.578 MB / 0.498 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.2426, allocations: 8.031 kB / 0.498 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006084/0.2487, allocations: 1.666 MB / 0.4996 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.2518, allocations: 1.414 MB / 0.501 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.2519, allocations: 156.1 kB / 0.5011 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.2524, allocations: 207.9 kB / 0.5013 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.2637, allocations: 6.97 MB / 0.5081 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.2638, allocations: 19.81 kB / 0.5082 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.2641, allocations: 99.88 kB / 0.5082 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002478/0.2666, allocations: 1.525 MB / 0.5097 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.278, allocations: 5.943 MB / 0.5155 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3556/0.6336, allocations: 22.24 MB / 0.5373 GB, free: 77.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005767/0.6395, allocations: 2.192 MB / 0.5394 GB, free: 77.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.6411, allocations: 0.8073 MB / 0.5402 GB, free: 77.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0085/0.6497, allocations: 3.967 MB / 0.5441 GB, free: 76.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.6497, allocations: 45.8 kB / 0.5441 GB, free: 76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.6497, allocations: 1.156 kB / 0.5441 GB, free: 76 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006564/0.6563, allocations: 2.257 MB / 0.5463 GB, free: 75.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.6564, allocations: 59.59 kB / 0.5464 GB, free: 75.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.6602, allocations: 2.058 MB / 0.5484 GB, free: 75.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.6603, allocations: 40.45 kB / 0.5484 GB, free: 75.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.6621, allocations: 2.004 MB / 0.5504 GB, free: 73.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/0.6625, allocations: 380.7 kB / 0.5507 GB, free: 73.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005425/0.6631, allocations: 297.8 kB / 0.551 GB, free: 73.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.6633, allocations: 358.2 kB / 0.5514 GB, free: 73.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.6649, allocations: 0.9998 MB / 0.5523 GB, free: 72.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.6673, allocations: 2.998 MB / 0.5553 GB, free: 69.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.6714, allocations: 4.356 MB / 0.5595 GB, free: 66.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.304e-05/0.6714, allocations: 18.62 kB / 0.5595 GB, free: 66.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005256/0.6767, allocations: 3.879 MB / 0.5633 GB, free: 64.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.6768, allocations: 44.47 kB / 0.5634 GB, free: 64.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/0.6768, allocations: 69.22 kB / 0.5634 GB, free: 64.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.6769, allocations: 99.14 kB / 0.5635 GB, free: 64.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.6789, allocations: 0.7243 MB / 0.5642 GB, free: 64.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001024/0.679, allocations: 139.9 kB / 0.5644 GB, free: 64.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.6812, allocations: 459.7 kB / 0.5648 GB, free: 64.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.6814, allocations: 204.3 kB / 0.565 GB, free: 64.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (401): * Single equations (assignments): 396 * Array equations: 5 * 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.002236/0.6836, allocations: 1.461 MB / 0.5664 GB, free: 63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.6838, allocations: 177.6 kB / 0.5666 GB, free: 62.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.6856, allocations: 1.247 MB / 0.5678 GB, free: 61.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.6856, allocations: 12 kB / 0.5678 GB, free: 61.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6856, allocations: 0 / 0.5678 GB, free: 61.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6856, allocations: 3.984 kB / 0.5678 GB, free: 61.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/0.6933, allocations: 5.027 MB / 0.5727 GB, free: 56.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.6933, allocations: 12.56 kB / 0.5728 GB, free: 56.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.6938, allocations: 139.8 kB / 0.5729 GB, free: 56.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.6939, allocations: 12 kB / 0.5729 GB, free: 56.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.6939, allocations: 30.19 kB / 0.5729 GB, free: 56.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/0.6939, allocations: 25.92 kB / 0.573 GB, free: 56.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.6939, allocations: 15.94 kB / 0.573 GB, free: 56.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.6957, allocations: 1.579 MB / 0.5745 GB, free: 54.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.6962, allocations: 286.4 kB / 0.5748 GB, free: 54.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.6964, allocations: 21.48 kB / 0.5748 GB, free: 54.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.6969, allocations: 38.31 kB / 0.5748 GB, free: 54.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.6971, allocations: 82.17 kB / 0.5749 GB, free: 53.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.6971, allocations: 45.39 kB / 0.575 GB, free: 53.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.6987, allocations: 1.337 MB / 0.5763 GB, free: 52.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6987, allocations: 0 / 0.5763 GB, free: 52.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002987/0.7017, allocations: 0.7812 MB / 0.577 GB, free: 51.77 MB / 414.1 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 (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.0003259/0.702, allocations: 159.1 kB / 0.5772 GB, free: 51.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.7049, allocations: 2.293 MB / 0.5794 GB, free: 49.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7049, allocations: 8.125 kB / 0.5794 GB, free: 49.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.7055, allocations: 0.5567 MB / 0.58 GB, free: 48.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.7088, allocations: 269.3 kB / 0.5802 GB, free: 48.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/0.7184, allocations: 7.624 MB / 0.5877 GB, free: 40.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/0.7206, allocations: 2.462 MB / 0.5901 GB, free: 38.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.721, allocations: 167.4 kB / 0.5902 GB, free: 38.07 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.721, allocations: 0 / 0.5902 GB, free: 38.07 MB / 414.1 MB Notification: Performance of Templates: time 0.05154/0.7726, allocations: 32.74 MB / 0.6222 GB, free: 5.359 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.o] Error 1