Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,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.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,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.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, 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.001166/0.001166, 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.53/1.53, allocations: 223.2 MB / 242.5 MB, free: 328 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.2175/0.2175, allocations: 44.22 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004765, allocations: 10.94 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1803, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03758/0.218, allocations: 34.1 MB / 0.4944 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02173/0.2398, allocations: 7.211 MB / 0.5015 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009879/0.2497, allocations: 151.7 kB / 0.5016 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006174/0.2559, allocations: 1.497 MB / 0.5031 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3065/0.5624, allocations: 4.392 MB / 0.5074 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.5644, allocations: 247.8 kB / 0.5076 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.5693, allocations: 2.618 MB / 0.5102 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/0.5744, allocations: 2.971 MB / 0.5131 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.5759, allocations: 0.6896 MB / 0.5137 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.5775, allocations: 1.027 MB / 0.5147 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.5778, allocations: 89.78 kB / 0.5148 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.579, allocations: 0.5236 MB / 0.5153 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.5803, allocations: 0.9887 MB / 0.5163 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005654/0.5808, allocations: 0.5271 MB / 0.5168 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.5846, allocations: 3.418 MB / 0.5201 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5846, allocations: 1 kB / 0.5201 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5846, allocations: 0.8438 kB / 0.5201 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.309e-05/0.5847, allocations: 0 / 0.5201 GB, free: 10.68 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.004845/0.5895, allocations: 2.455 MB / 0.5225 GB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5896, allocations: 9.625 kB / 0.5226 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/0.5946, allocations: 1.631 MB / 0.5241 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.5976, allocations: 1.321 MB / 0.5254 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.5978, allocations: 149.9 kB / 0.5256 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004193/0.5982, allocations: 186.7 kB / 0.5258 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.6101, allocations: 6.422 MB / 0.532 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/0.6102, allocations: 16.84 kB / 0.532 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.6105, allocations: 86.91 kB / 0.5321 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/0.6126, allocations: 1.409 MB / 0.5335 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.6237, allocations: 5.463 MB / 0.5388 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03127/0.6551, allocations: 20.59 MB / 0.5589 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.6596, allocations: 1.994 MB / 0.5609 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/0.6606, allocations: 0.6915 MB / 0.5616 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006663/0.6673, allocations: 3.645 MB / 0.5651 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.6674, allocations: 39.09 kB / 0.5652 GB, free: 15.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.6674, allocations: 0 / 0.5652 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005288/0.6727, allocations: 1.981 MB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.6728, allocations: 59.84 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.6757, allocations: 1.95 MB / 0.5691 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.6758, allocations: 33.7 kB / 0.5691 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.6771, allocations: 1.88 MB / 0.5709 GB, free: 9.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.6774, allocations: 314.8 kB / 0.5712 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.6776, allocations: 56 kB / 0.5713 GB, free: 8.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003202/0.6779, allocations: 0.4895 MB / 0.5718 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.6792, allocations: 0.8842 MB / 0.5726 GB, free: 7.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.6819, allocations: 2.759 MB / 0.5753 GB, free: 3.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.6841, allocations: 1.557 MB / 0.5768 GB, free: 2.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.905e-05/0.6841, allocations: 22.62 kB / 0.5769 GB, free: 2.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005543/0.6897, allocations: 3.524 MB / 0.5803 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.6897, allocations: 37.64 kB / 0.5803 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.484e-05/0.6898, allocations: 64.91 kB / 0.5804 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/0.6899, allocations: 100 kB / 0.5805 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.6917, allocations: 0.6667 MB / 0.5811 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001072/0.6918, allocations: 127.5 kB / 0.5813 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.6939, allocations: 420.3 kB / 0.5817 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/0.6942, allocations: 192 kB / 0.5819 GB, free: 13.53 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.002648/0.6968, allocations: 1.377 MB / 0.5832 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.6971, allocations: 157.9 kB / 0.5833 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.6975, allocations: 197.2 kB / 0.5835 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.6975, allocations: 11.36 kB / 0.5835 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6975, allocations: 3.938 kB / 0.5836 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6975, allocations: 0 / 0.5836 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.7041, allocations: 4.096 MB / 0.5876 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.7041, allocations: 8 kB / 0.5876 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.7045, allocations: 103.8 kB / 0.5877 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/0.7046, allocations: 12 kB / 0.5877 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.7046, allocations: 21.64 kB / 0.5877 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.7046, allocations: 11.98 kB / 0.5877 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.7046, allocations: 11.94 kB / 0.5877 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.7062, allocations: 1.267 MB / 0.589 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.7067, allocations: 258.7 kB / 0.5892 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.7069, allocations: 19.98 kB / 0.5892 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.7073, allocations: 35.02 kB / 0.5892 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.7074, allocations: 55.84 kB / 0.5893 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.7074, allocations: 35.94 kB / 0.5893 GB, free: 5.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001889/0.7093, allocations: 1.271 MB / 0.5906 GB, free: 4.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7093, allocations: 0 / 0.5906 GB, free: 4.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002868/0.7122, allocations: 0.6997 MB / 0.5913 GB, free: 3.641 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.0003302/0.7126, allocations: 146 kB / 0.5914 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.7157, allocations: 2.019 MB / 0.5934 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7158, allocations: 0 / 0.5934 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005831/0.7164, allocations: 464.1 kB / 0.5938 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.7176, allocations: 235.8 kB / 0.594 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.7283, allocations: 6.619 MB / 0.6005 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.7308, allocations: 2.32 MB / 0.6028 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/0.7313, allocations: 147.4 kB / 0.6029 GB, free: 7.574 MB / 446.1 MB Notification: Performance of SimCode: time 2.124e-06/0.7313, allocations: 0 / 0.6029 GB, free: 7.574 MB / 446.1 MB Notification: Performance of Templates: time 0.05928/0.7906, allocations: 30.12 MB / 0.6323 GB, free: 9.52 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3CalcHelperMain.o] Error 1