Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 90.08 kB / 16.67 MB, free: 6.59 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.001825/0.001824, allocations: 178.1 kB / 17.57 MB, free: 6.191 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.985/1.985, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2652/0.2652, allocations: 43.59 MB / 315.6 MB, free: 432 kB / 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.000598/0.0005983, allocations: 16.09 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1609, allocations: 58.86 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1238/0.2847, allocations: 98.65 MB / 0.53 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4523/0.7372, allocations: 19.08 MB / 0.5487 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02843/0.7656, allocations: 446 kB / 0.5491 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.7695, allocations: 0.7067 MB / 0.5498 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.7806, allocations: 2.928 MB / 0.5526 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.7844, allocations: 1.253 MB / 0.5538 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02052/0.8049, allocations: 11.91 MB / 0.5655 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01863/0.8236, allocations: 10.59 MB / 0.5758 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007994/0.8317, allocations: 2.404 MB / 0.5782 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008463/0.8402, allocations: 3.888 MB / 0.582 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003289/0.8436, allocations: 284 kB / 0.5822 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005903/0.8495, allocations: 1.175 MB / 0.5834 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006563/0.8561, allocations: 3.441 MB / 0.5867 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01003/0.8662, allocations: 3.791 MB / 0.5905 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0191/0.8853, allocations: 10.02 MB / 0.6002 GB, free: 5.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.8854, allocations: 0 / 0.6002 GB, free: 5.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.8854, allocations: 0 / 0.6002 GB, free: 5.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008646/0.8863, allocations: 0 / 0.6002 GB, free: 5.805 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02425/0.9106, allocations: 7.586 MB / 0.6076 GB, free: 14.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.9106, allocations: 15.97 kB / 0.6077 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.9246, allocations: 2.725 MB / 0.6103 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.9382, allocations: 4.946 MB / 0.6152 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007724/0.9391, allocations: 469.4 kB / 0.6156 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003448/0.9425, allocations: 0.5946 MB / 0.6162 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04984/0.9924, allocations: 18.78 MB / 0.6345 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005095/0.993, allocations: 83.19 kB / 0.6346 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003039/0.996, allocations: 293.4 kB / 0.6349 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006737/1.003, allocations: 3.438 MB / 0.6382 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0385/1.041, allocations: 14.65 MB / 0.6525 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1306/1.172, allocations: 70.44 MB / 0.7213 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.192, allocations: 6.15 MB / 0.7273 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005189/1.197, allocations: 2.461 MB / 0.7297 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02581/1.223, allocations: 10.83 MB / 0.7403 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.037e-05/1.223, allocations: 64.5 kB / 0.7404 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=238): time 9.849e-06/1.223, allocations: 0 / 0.7404 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=262): time 0.7168/1.94, allocations: 15.91 MB / 0.7559 GB, free: 241.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.94, allocations: 159.7 kB / 0.7561 GB, free: 241.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02118/1.961, allocations: 6.645 MB / 0.7626 GB, free: 239.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007857/1.962, allocations: 68.48 kB / 0.7626 GB, free: 239.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004829/1.967, allocations: 5.531 MB / 0.768 GB, free: 235.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.969, allocations: 1.022 MB / 0.769 GB, free: 234.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/1.97, allocations: 0.7892 MB / 0.7698 GB, free: 234.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.97, allocations: 307.5 kB / 0.7701 GB, free: 234.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004591/1.974, allocations: 2.659 MB / 0.7727 GB, free: 233.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007321/1.982, allocations: 8.375 MB / 0.7809 GB, free: 224.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.994, allocations: 11.99 MB / 0.7926 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002131/1.994, allocations: 61.72 kB / 0.7926 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02079/2.015, allocations: 10.72 MB / 0.8031 GB, free: 206.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002229/2.015, allocations: 92 kB / 0.8032 GB, free: 206.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003805/2.016, allocations: 200 kB / 0.8034 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/2.016, allocations: 268 kB / 0.8036 GB, free: 206 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006914/2.023, allocations: 2.144 MB / 0.8057 GB, free: 203.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000365/2.024, allocations: 394.5 kB / 0.8061 GB, free: 203.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008251/2.032, allocations: 459.3 kB / 0.8065 GB, free: 203 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/2.033, allocations: 0.5551 MB / 0.8071 GB, free: 202.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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 (1155): * Single equations (assignments): 1144 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007548/2.041, allocations: 3.627 MB / 0.8106 GB, free: 198.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/2.042, allocations: 0.5668 MB / 0.8112 GB, free: 198.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005682/2.048, allocations: 2.794 MB / 0.8139 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-05/2.048, allocations: 28 kB / 0.8139 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/2.048, allocations: 3.938 kB / 0.8139 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/2.048, allocations: 15.95 kB / 0.814 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0408/2.089, allocations: 26.55 MB / 0.8399 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002105/2.089, allocations: 56 kB / 0.8399 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/2.091, allocations: 0.5224 MB / 0.8404 GB, free: 167.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.233e-05/2.091, allocations: 71.98 kB / 0.8405 GB, free: 167.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005427/2.092, allocations: 112 kB / 0.8406 GB, free: 167.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.48e-05/2.092, allocations: 109.1 kB / 0.8407 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-05/2.092, allocations: 83.62 kB / 0.8408 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008509/2.101, allocations: 5.25 MB / 0.8459 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/2.103, allocations: 0.6769 MB / 0.8466 GB, free: 160.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/2.105, allocations: 120 kB / 0.8467 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003851/2.109, allocations: 153.6 kB / 0.8469 GB, free: 160.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004488/2.109, allocations: 362.2 kB / 0.8472 GB, free: 159.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/2.11, allocations: 148 kB / 0.8473 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006561/2.116, allocations: 4.146 MB / 0.8514 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.71e-07/2.116, allocations: 0 / 0.8514 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009868/2.126, allocations: 1.512 MB / 0.8529 GB, free: 154 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008062/2.127, allocations: 299.2 kB / 0.8532 GB, free: 153.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01023/2.137, allocations: 6.149 MB / 0.8592 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.838e-05/2.137, allocations: 8 kB / 0.8592 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/2.14, allocations: 1.495 MB / 0.8606 GB, free: 146.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05067/2.19, allocations: 0.9171 MB / 0.8615 GB, free: 145.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/2.221, allocations: 21.82 MB / 0.8828 GB, free: 122.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00688/2.228, allocations: 5.565 MB / 0.8883 GB, free: 117 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/2.23, allocations: 471.4 kB / 0.8887 GB, free: 116.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.543e-06/2.23, allocations: 0 / 0.8887 GB, free: 116.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.45/2.68, allocations: 92.5 MB / 0.9791 GB, free: 216.1 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.o] Error 1