Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009621/0.0009673, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.001249/0.001249, allocations: 180.5 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 242.5 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 44.22 MB / 337.9 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005066, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1636, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03493/0.1986, allocations: 34.1 MB / 0.4944 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.2175, allocations: 7.207 MB / 0.5015 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007463/0.225, allocations: 155.7 kB / 0.5016 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005929/0.231, allocations: 1.501 MB / 0.5031 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.358/0.589, allocations: 4.387 MB / 0.5074 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.5919, allocations: 251.5 kB / 0.5076 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007938/0.5998, allocations: 2.623 MB / 0.5102 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008856/0.6088, allocations: 2.969 MB / 0.5131 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.6112, allocations: 0.683 MB / 0.5137 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.6144, allocations: 1.039 MB / 0.5147 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000467/0.6149, allocations: 87.72 kB / 0.5148 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.6167, allocations: 0.5254 MB / 0.5153 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.619, allocations: 0.9876 MB / 0.5163 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009284/0.6199, allocations: 0.5279 MB / 0.5168 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00604/0.626, allocations: 3.415 MB / 0.5201 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.626, allocations: 0 / 0.5201 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.626, allocations: 0 / 0.5201 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001814/0.6262, allocations: 0 / 0.5201 GB, free: 10.69 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.008244/0.6345, allocations: 2.46 MB / 0.5226 GB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.6346, allocations: 13.61 kB / 0.5226 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007963/0.6425, allocations: 1.623 MB / 0.5241 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.6467, allocations: 1.32 MB / 0.5254 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.6468, allocations: 153.4 kB / 0.5256 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007661/0.6476, allocations: 193.2 kB / 0.5258 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.6593, allocations: 6.411 MB / 0.532 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/0.6594, allocations: 16.12 kB / 0.532 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.6597, allocations: 93.31 kB / 0.5321 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/0.6618, allocations: 1.404 MB / 0.5335 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.6736, allocations: 5.467 MB / 0.5388 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.7074, allocations: 20.59 MB / 0.5589 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/0.7124, allocations: 1.993 MB / 0.5609 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.7135, allocations: 0.6924 MB / 0.5616 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007272/0.7208, allocations: 3.645 MB / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.7209, allocations: 38.28 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.7209, allocations: 4 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005304/0.7262, allocations: 1.968 MB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.7263, allocations: 59.84 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.7295, allocations: 1.954 MB / 0.5691 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.7296, allocations: 37.7 kB / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.7313, allocations: 1.881 MB / 0.5709 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.7317, allocations: 310.8 kB / 0.5712 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.7318, allocations: 56 kB / 0.5713 GB, free: 8.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003542/0.7322, allocations: 497.2 kB / 0.5718 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.7337, allocations: 0.8803 MB / 0.5726 GB, free: 7.477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.7365, allocations: 2.767 MB / 0.5753 GB, free: 3.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.7387, allocations: 1.563 MB / 0.5768 GB, free: 2.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/0.7387, allocations: 20 kB / 0.5769 GB, free: 2.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005871/0.7446, allocations: 3.523 MB / 0.5803 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/0.7447, allocations: 36.25 kB / 0.5803 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.052e-05/0.7448, allocations: 68 kB / 0.5804 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/0.7449, allocations: 100.8 kB / 0.5805 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.7468, allocations: 0.6628 MB / 0.5811 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/0.7469, allocations: 135.5 kB / 0.5813 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.7491, allocations: 417 kB / 0.5817 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.7494, allocations: 188 kB / 0.5819 GB, free: 13.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * Array equations: 5 * 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.00289/0.7523, allocations: 1.388 MB / 0.5832 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.7526, allocations: 157.9 kB / 0.5834 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.7531, allocations: 193.2 kB / 0.5835 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.7531, allocations: 8 kB / 0.5836 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.7531, allocations: 0 / 0.5836 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.7532, allocations: 3.984 kB / 0.5836 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007213/0.7604, allocations: 4.096 MB / 0.5876 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7604, allocations: 8 kB / 0.5876 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.7608, allocations: 103.8 kB / 0.5877 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/0.7608, allocations: 12 kB / 0.5877 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.7609, allocations: 21.75 kB / 0.5877 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.7609, allocations: 8 kB / 0.5877 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.7609, allocations: 11.94 kB / 0.5877 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.7626, allocations: 1.273 MB / 0.589 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.7631, allocations: 258.7 kB / 0.5892 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.7633, allocations: 19.98 kB / 0.5892 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.7638, allocations: 27.89 kB / 0.5892 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.7639, allocations: 55.84 kB / 0.5893 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.7639, allocations: 35.94 kB / 0.5893 GB, free: 5.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002162/0.7661, allocations: 1.268 MB / 0.5906 GB, free: 4.305 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7661, allocations: 0 / 0.5906 GB, free: 4.305 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003115/0.7692, allocations: 0.7103 MB / 0.5913 GB, free: 3.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003866/0.7696, allocations: 141.5 kB / 0.5914 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003904/0.7736, allocations: 2.019 MB / 0.5934 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.7736, allocations: 0 / 0.5934 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.7742, allocations: 461.5 kB / 0.5938 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.7757, allocations: 240.2 kB / 0.594 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.7876, allocations: 6.623 MB / 0.6005 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/0.7905, allocations: 2.32 MB / 0.6028 GB, free: 7.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.7911, allocations: 143.4 kB / 0.6029 GB, free: 7.531 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7911, allocations: 3.938 kB / 0.6029 GB, free: 7.527 MB / 446.1 MB Notification: Performance of Templates: time 0.06644/0.8575, allocations: 30.1 MB / 0.6323 GB, free: 9.488 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.o] Error 1