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.0008897/0.0008895, allocations: 94.39 kB / 16.33 MB, free: 5.938 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.0008611/0.0008613, allocations: 189.4 kB / 17.22 MB, free: 5.879 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.669/1.669, allocations: 205.4 MB / 223.4 MB, free: 5.223 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4255/0.4255, allocations: 43.53 MB / 315.2 MB, free: 8.973 MB / 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.0005079/0.000508, allocations: 12 kB / 384.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.134, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2827/0.4167, allocations: 35.25 MB / 478.7 MB, free: 29.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.4347, allocations: 7.329 MB / 486 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007446/0.4422, allocations: 161.5 kB / 486.1 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004768/0.4469, allocations: 1.521 MB / 487.7 MB, free: 24.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.4592, allocations: 4.457 MB / 492.1 MB, free: 22.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.4612, allocations: 249.1 kB / 492.4 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003935/0.4652, allocations: 2.831 MB / 495.2 MB, free: 21.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004844/0.47, allocations: 3.031 MB / 498.2 MB, free: 20.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.4719, allocations: 0.7529 MB / 499 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.4745, allocations: 1.143 MB / 0.4884 GB, free: 19.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006788/0.4752, allocations: 102.4 kB / 0.4885 GB, free: 19.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.477, allocations: 0.5234 MB / 0.489 GB, free: 19.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.4788, allocations: 1.076 MB / 0.4901 GB, free: 19.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.4801, allocations: 0.5662 MB / 0.4906 GB, free: 18.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00613/0.4862, allocations: 3.718 MB / 0.4942 GB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4863, allocations: 1.25 kB / 0.4942 GB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4863, allocations: 0 / 0.4942 GB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002342/0.4865, allocations: 0 / 0.4942 GB, free: 17.92 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.007538/0.4941, allocations: 2.624 MB / 0.4968 GB, free: 16.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4941, allocations: 9.625 kB / 0.4968 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005721/0.4998, allocations: 1.659 MB / 0.4984 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.503, allocations: 1.383 MB / 0.4998 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.5032, allocations: 164.9 kB / 0.4999 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.5036, allocations: 205.1 kB / 0.5001 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.5159, allocations: 6.961 MB / 0.5069 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/0.516, allocations: 13.09 kB / 0.507 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.5163, allocations: 101.1 kB / 0.5071 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/0.5188, allocations: 1.522 MB / 0.5085 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.5304, allocations: 5.922 MB / 0.5143 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/0.5606, allocations: 22.23 MB / 0.536 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.565, allocations: 2.187 MB / 0.5382 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.5662, allocations: 0.8088 MB / 0.539 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006835/0.573, allocations: 3.964 MB / 0.5428 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.5731, allocations: 43.22 kB / 0.5429 GB, free: 9.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/0.5731, allocations: 0 / 0.5429 GB, free: 9.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005334/0.5784, allocations: 2.245 MB / 0.5451 GB, free: 6.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.5785, allocations: 60.06 kB / 0.5451 GB, free: 6.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.5813, allocations: 2.052 MB / 0.5471 GB, free: 4.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.5814, allocations: 37.69 kB / 0.5472 GB, free: 4.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.5827, allocations: 2.011 MB / 0.5491 GB, free: 2.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.583, allocations: 375.1 kB / 0.5495 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.5832, allocations: 71.98 kB / 0.5495 GB, free: 2.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.5835, allocations: 0.498 MB / 0.55 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.5849, allocations: 0.9824 MB / 0.551 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/0.588, allocations: 2.976 MB / 0.5539 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.5911, allocations: 1.721 MB / 0.5556 GB, free: 10.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.053e-05/0.5911, allocations: 20 kB / 0.5556 GB, free: 10.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007014/0.5982, allocations: 3.851 MB / 0.5594 GB, free: 7.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.5982, allocations: 36.22 kB / 0.5594 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.719e-05/0.5983, allocations: 76 kB / 0.5595 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.5984, allocations: 104 kB / 0.5596 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.6004, allocations: 0.7252 MB / 0.5603 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001087/0.6005, allocations: 139.4 kB / 0.5604 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.6027, allocations: 451.2 kB / 0.5608 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/0.603, allocations: 204 kB / 0.561 GB, free: 5.289 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002941/0.6059, allocations: 1.478 MB / 0.5625 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.6063, allocations: 173.7 kB / 0.5626 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.6084, allocations: 1.237 MB / 0.5639 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.6084, allocations: 12 kB / 0.5639 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6084, allocations: 0 / 0.5639 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.6084, allocations: 3.984 kB / 0.5639 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007971/0.6164, allocations: 5.018 MB / 0.5688 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.6165, allocations: 11.94 kB / 0.5688 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.617, allocations: 143.7 kB / 0.5689 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/0.617, allocations: 19.95 kB / 0.5689 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.6171, allocations: 24 kB / 0.569 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/0.6171, allocations: 20.48 kB / 0.569 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.6171, allocations: 15.94 kB / 0.569 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.6191, allocations: 1.574 MB / 0.5705 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004848/0.6196, allocations: 278.5 kB / 0.5708 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.6197, allocations: 27.95 kB / 0.5708 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.6203, allocations: 39.88 kB / 0.5709 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6204, allocations: 75.72 kB / 0.5709 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.6205, allocations: 47.97 kB / 0.571 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002025/0.6225, allocations: 1.329 MB / 0.5723 GB, free: 9.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6225, allocations: 0 / 0.5723 GB, free: 9.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003122/0.6257, allocations: 0.7776 MB / 0.573 GB, free: 8.578 MB / 446.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 (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.0003686/0.626, allocations: 151 kB / 0.5732 GB, free: 8.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.6298, allocations: 2.276 MB / 0.5754 GB, free: 6.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.6298, allocations: 8.188 kB / 0.5754 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.6306, allocations: 0.5574 MB / 0.576 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.6318, allocations: 253.7 kB / 0.5762 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6426, allocations: 7.331 MB / 0.5834 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/0.6453, allocations: 2.45 MB / 0.5857 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/0.6459, allocations: 171.4 kB / 0.5859 GB, free: 11.21 MB / 462.1 MB Notification: Performance of SimCode: time 2.184e-06/0.6459, allocations: 0 / 0.5859 GB, free: 11.21 MB / 462.1 MB Notification: Performance of Templates: time 0.05452/0.7005, allocations: 32.87 MB / 0.618 GB, free: 10.38 MB / 494.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++ 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_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