Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 85.97 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.001994/0.001994, allocations: 181.2 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.504/1.504, allocations: 223.2 MB / 242.5 MB, free: 320 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.2512/0.2512, allocations: 44.23 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004564, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1512, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.4383/0.5896, allocations: 47.57 MB / 0.5076 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02749/0.6171, allocations: 9.682 MB / 0.517 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01393/0.6311, allocations: 215.1 kB / 0.5172 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009795/0.6409, allocations: 2.068 MB / 0.5192 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02237/0.6634, allocations: 5.926 MB / 0.525 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.6663, allocations: 303.6 kB / 0.5253 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.6719, allocations: 3.001 MB / 0.5283 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006247/0.6782, allocations: 3.799 MB / 0.532 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.6801, allocations: 0.7799 MB / 0.5327 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.6817, allocations: 1.185 MB / 0.5339 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.682, allocations: 104.4 kB / 0.534 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.6832, allocations: 0.5457 MB / 0.5345 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.6843, allocations: 1.175 MB / 0.5357 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000604/0.685, allocations: 0.6138 MB / 0.5363 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.6888, allocations: 4.149 MB / 0.5403 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6888, allocations: 0 / 0.5403 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6888, allocations: 1.781 kB / 0.5403 GB, free: 1.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001203/0.689, allocations: 4 kB / 0.5403 GB, free: 1.926 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.005231/0.6942, allocations: 2.811 MB / 0.5431 GB, free: 120 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6943, allocations: 13.94 kB / 0.5431 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/0.6995, allocations: 1.699 MB / 0.5447 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.7032, allocations: 1.505 MB / 0.5462 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.7034, allocations: 180 kB / 0.5464 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005442/0.7039, allocations: 241.5 kB / 0.5466 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.7184, allocations: 7.471 MB / 0.5539 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.326e-05/0.7186, allocations: 13.52 kB / 0.5539 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003585/0.7189, allocations: 109.7 kB / 0.554 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002595/0.7215, allocations: 1.572 MB / 0.5556 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.7356, allocations: 6.219 MB / 0.5616 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0398/0.7755, allocations: 23.31 MB / 0.5844 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.7803, allocations: 2.199 MB / 0.5865 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.7815, allocations: 0.762 MB / 0.5873 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007751/0.7892, allocations: 3.888 MB / 0.5911 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.7893, allocations: 51.12 kB / 0.5911 GB, free: 4.941 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/0.7893, allocations: 0 / 0.5911 GB, free: 4.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006284/0.7956, allocations: 2.24 MB / 0.5933 GB, free: 2.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.7957, allocations: 59.91 kB / 0.5934 GB, free: 2.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/0.7997, allocations: 2.094 MB / 0.5954 GB, free: 496 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.7998, allocations: 37.7 kB / 0.5955 GB, free: 452 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.8014, allocations: 2.116 MB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.8017, allocations: 355.3 kB / 0.5979 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.8019, allocations: 63.28 kB / 0.5979 GB, free: 13.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.8021, allocations: 446.1 kB / 0.5984 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.8035, allocations: 0.9275 MB / 0.5993 GB, free: 12.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.8063, allocations: 2.905 MB / 0.6021 GB, free: 8.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.8087, allocations: 1.65 MB / 0.6037 GB, free: 7.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.698e-05/0.8088, allocations: 20 kB / 0.6037 GB, free: 6.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006676/0.8154, allocations: 3.725 MB / 0.6074 GB, free: 3.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.8155, allocations: 36 kB / 0.6074 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-05/0.8156, allocations: 68 kB / 0.6075 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.993e-05/0.8157, allocations: 100 kB / 0.6076 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.8176, allocations: 0.7025 MB / 0.6082 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001067/0.8177, allocations: 131.5 kB / 0.6084 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.8198, allocations: 446.2 kB / 0.6088 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.82, allocations: 202.5 kB / 0.609 GB, free: 1.609 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (388): * Single equations (assignments): 383 * 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.002642/0.8227, allocations: 1.558 MB / 0.6105 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.823, allocations: 175.2 kB / 0.6107 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.8234, allocations: 214.7 kB / 0.6109 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.8234, allocations: 8 kB / 0.6109 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.8235, allocations: 4 kB / 0.6109 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.8235, allocations: 3.984 kB / 0.6109 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007827/0.8313, allocations: 5.071 MB / 0.6158 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.8314, allocations: 8 kB / 0.6159 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.8318, allocations: 120.6 kB / 0.616 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.8318, allocations: 12 kB / 0.616 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.8319, allocations: 26.97 kB / 0.616 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/0.8319, allocations: 15.98 kB / 0.616 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.8319, allocations: 11.94 kB / 0.616 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.8338, allocations: 1.399 MB / 0.6174 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.8344, allocations: 303.6 kB / 0.6177 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.8346, allocations: 23.94 kB / 0.6177 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.8352, allocations: 35.88 kB / 0.6177 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.8353, allocations: 63.73 kB / 0.6178 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.8354, allocations: 38.8 kB / 0.6178 GB, free: 8.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002384/0.8378, allocations: 1.461 MB / 0.6193 GB, free: 6.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8378, allocations: 4 kB / 0.6193 GB, free: 6.742 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003455/0.8412, allocations: 0.8011 MB / 0.6201 GB, free: 5.941 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003945/0.8416, allocations: 153.6 kB / 0.6202 GB, free: 5.781 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003858/0.8455, allocations: 2.153 MB / 0.6223 GB, free: 3.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8455, allocations: 0 / 0.6223 GB, free: 3.637 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006835/0.8462, allocations: 0.5009 MB / 0.6228 GB, free: 3.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.8477, allocations: 284.8 kB / 0.6231 GB, free: 2.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.8598, allocations: 7.622 MB / 0.6305 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/0.8627, allocations: 2.6 MB / 0.633 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.8632, allocations: 163.4 kB / 0.6332 GB, free: 8.312 MB / 478.1 MB Notification: Performance of SimCode: time 1.252e-06/0.8632, allocations: 0 / 0.6332 GB, free: 8.312 MB / 478.1 MB Notification: Performance of Templates: time 0.06122/0.9245, allocations: 34.25 MB / 0.6667 GB, free: 6.078 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3CalcHelperMain.o] Error 1