Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 92.98 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2657/0.2657, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 63.46 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4463/0.6079, allocations: 90.24 MB / 0.5589 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0551/0.663, allocations: 18.13 MB / 0.5766 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02743/0.6905, allocations: 442.9 kB / 0.5771 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01892/0.7094, allocations: 4.848 MB / 0.5818 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05203/0.7615, allocations: 14.17 MB / 0.5956 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007371/0.7689, allocations: 1.252 MB / 0.5969 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01513/0.7841, allocations: 9.172 MB / 0.6058 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01553/0.7997, allocations: 9.016 MB / 0.6146 GB, free: 324 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.8053, allocations: 2.449 MB / 0.617 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006222/0.8116, allocations: 3.521 MB / 0.6205 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001732/0.8133, allocations: 256 kB / 0.6207 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.8168, allocations: 0.948 MB / 0.6216 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004586/0.8214, allocations: 3.148 MB / 0.6247 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002843/0.8242, allocations: 1.434 MB / 0.6261 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.8384, allocations: 9.266 MB / 0.6351 GB, free: 11.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.8385, allocations: 0 / 0.6351 GB, free: 11.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.141e-06/0.8385, allocations: 4 kB / 0.6352 GB, free: 11.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000589/0.8391, allocations: 0 / 0.6352 GB, free: 11.23 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02048/0.8596, allocations: 7.288 MB / 0.6423 GB, free: 3.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.8596, allocations: 8.031 kB / 0.6423 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.8706, allocations: 2.637 MB / 0.6449 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.8812, allocations: 4.389 MB / 0.6491 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004868/0.8817, allocations: 434.9 kB / 0.6496 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/0.8841, allocations: 0.5621 MB / 0.6501 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03769/0.9218, allocations: 17.43 MB / 0.6671 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002334/0.9221, allocations: 79.33 kB / 0.6672 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/0.9232, allocations: 271.8 kB / 0.6675 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004991/0.9282, allocations: 3.17 MB / 0.6706 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03244/0.9606, allocations: 13.39 MB / 0.6836 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7029/1.664, allocations: 65.95 MB / 0.748 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/1.678, allocations: 5.484 MB / 0.7534 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/1.68, allocations: 2.12 MB / 0.7555 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/1.695, allocations: 9.999 MB / 0.7652 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.695, allocations: 51.38 kB / 0.7653 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.62e-06/1.695, allocations: 3.031 kB / 0.7653 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03527/1.73, allocations: 14.31 MB / 0.7793 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/1.73, allocations: 147.8 kB / 0.7794 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008379/1.739, allocations: 6.345 MB / 0.7856 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003761/1.739, allocations: 59.8 kB / 0.7856 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00296/1.742, allocations: 5.239 MB / 0.7908 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007788/1.743, allocations: 0.8212 MB / 0.7916 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/1.743, allocations: 166.3 kB / 0.7917 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003286/1.743, allocations: 0.6638 MB / 0.7924 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/1.746, allocations: 2.318 MB / 0.7946 GB, free: 98.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005043/1.751, allocations: 7.74 MB / 0.8022 GB, free: 87.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/1.756, allocations: 4.074 MB / 0.8062 GB, free: 83.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-05/1.756, allocations: 56 kB / 0.8062 GB, free: 83.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01527/1.771, allocations: 9.689 MB / 0.8157 GB, free: 74.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.772, allocations: 88 kB / 0.8158 GB, free: 74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002339/1.772, allocations: 192 kB / 0.816 GB, free: 73.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/1.772, allocations: 283.9 kB / 0.8162 GB, free: 73.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005602/1.778, allocations: 1.946 MB / 0.8181 GB, free: 71.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003155/1.778, allocations: 378.5 kB / 0.8185 GB, free: 71.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/1.785, allocations: 415.4 kB / 0.8189 GB, free: 70.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.786, allocations: 0.5209 MB / 0.8194 GB, free: 70.29 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1055): * Single equations (assignments): 1044 * Array equations: 11 * 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.006487/1.792, allocations: 3.412 MB / 0.8227 GB, free: 66.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.794, allocations: 0.5359 MB / 0.8232 GB, free: 66.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/1.795, allocations: 0.6209 MB / 0.8239 GB, free: 65.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/1.795, allocations: 24 kB / 0.8239 GB, free: 65.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/1.795, allocations: 3.984 kB / 0.8239 GB, free: 65.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.795, allocations: 15.91 kB / 0.8239 GB, free: 65.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/1.819, allocations: 16.7 MB / 0.8402 GB, free: 48.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.881e-05/1.819, allocations: 44.25 kB / 0.8402 GB, free: 48.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.82, allocations: 387.2 kB / 0.8406 GB, free: 47.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-05/1.82, allocations: 56 kB / 0.8407 GB, free: 47.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.82, allocations: 80 kB / 0.8407 GB, free: 47.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.75e-05/1.82, allocations: 75.72 kB / 0.8408 GB, free: 47.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-05/1.82, allocations: 63.64 kB / 0.8409 GB, free: 47.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/1.824, allocations: 3.936 MB / 0.8447 GB, free: 43.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.825, allocations: 0.6189 MB / 0.8453 GB, free: 42.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005233/1.826, allocations: 89.38 kB / 0.8454 GB, free: 42.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.827, allocations: 111.9 kB / 0.8455 GB, free: 42.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/1.828, allocations: 255 kB / 0.8458 GB, free: 42.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.828, allocations: 113.3 kB / 0.8459 GB, free: 42.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006273/1.834, allocations: 3.941 MB / 0.8497 GB, free: 38.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.834, allocations: 4 kB / 0.8497 GB, free: 38.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008936/1.843, allocations: 1.368 MB / 0.8511 GB, free: 36.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0006195/1.844, allocations: 247.1 kB / 0.8513 GB, free: 36.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008128/1.852, allocations: 5.344 MB / 0.8565 GB, free: 31.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.001e-05/1.852, allocations: 8 kB / 0.8565 GB, free: 31.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.853, allocations: 1.127 MB / 0.8576 GB, free: 30.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007353/1.861, allocations: 0.8481 MB / 0.8584 GB, free: 29.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/1.896, allocations: 18.93 MB / 0.8769 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006386/1.903, allocations: 5.226 MB / 0.882 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/1.904, allocations: 415.4 kB / 0.8824 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of SimCode: time 1.763e-06/1.904, allocations: 0 / 0.8824 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of Templates: time 0.4964/2.401, allocations: 85.62 MB / 0.966 GB, free: 169 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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_trunk_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.o] Error 1