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.00125/0.00125, allocations: 103.1 kB / 16.52 MB, free: 6.266 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.001229/0.001229, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.855/1.855, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2504/0.2504, allocations: 43.51 MB / 314.1 MB, free: 0.7578 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.0015/0.0015, allocations: 65.48 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1701, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1132/0.2834, allocations: 101 MB / 0.5288 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4642/0.7476, allocations: 19.14 MB / 0.5474 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03167/0.7793, allocations: 444.5 kB / 0.5479 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01313/0.7926, allocations: 6.104 MB / 0.5538 GB, free: 292 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.806, allocations: 2.91 MB / 0.5567 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006026/0.8121, allocations: 1.495 MB / 0.5581 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02508/0.8372, allocations: 11.91 MB / 0.5698 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01899/0.8563, allocations: 7.619 MB / 0.5772 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.8667, allocations: 2.911 MB / 0.5801 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0121/0.8789, allocations: 4.509 MB / 0.5845 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004379/0.8833, allocations: 492 kB / 0.5849 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007697/0.8911, allocations: 1.385 MB / 0.5863 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00896/0.9001, allocations: 3.737 MB / 0.5899 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01353/0.9136, allocations: 4.148 MB / 0.594 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.9332, allocations: 10.25 MB / 0.604 GB, free: 15.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.9332, allocations: 0 / 0.604 GB, free: 15.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.9333, allocations: 0 / 0.604 GB, free: 15.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000848/0.9341, allocations: 0 / 0.604 GB, free: 15.94 MB / 462.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.03765/0.9718, allocations: 9.251 MB / 0.613 GB, free: 6.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.9719, allocations: 8.031 kB / 0.613 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/0.9861, allocations: 2.67 MB / 0.6156 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/1.001, allocations: 4.947 MB / 0.6205 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007612/1.002, allocations: 465.6 kB / 0.6209 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003554/1.005, allocations: 0.5909 MB / 0.6215 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04834/1.054, allocations: 18.74 MB / 0.6398 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005439/1.054, allocations: 67.31 kB / 0.6399 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003429/1.058, allocations: 286.2 kB / 0.6401 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006411/1.064, allocations: 3.453 MB / 0.6435 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04177/1.106, allocations: 14.6 MB / 0.6578 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1459/1.252, allocations: 70.57 MB / 0.7267 GB, free: 96 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02529/1.277, allocations: 6.133 MB / 0.7327 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006122/1.283, allocations: 2.455 MB / 0.7351 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6452/1.929, allocations: 10.82 MB / 0.7456 GB, free: 244.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/1.929, allocations: 62.06 kB / 0.7457 GB, free: 244.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=238): time 7.124e-06/1.929, allocations: 0 / 0.7457 GB, free: 244.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=262): time 0.05134/1.98, allocations: 15.86 MB / 0.7612 GB, free: 239.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.98, allocations: 158 kB / 0.7613 GB, free: 239.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/1.993, allocations: 6.647 MB / 0.7678 GB, free: 237.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000718/1.994, allocations: 65.25 kB / 0.7679 GB, free: 237 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005165/1.999, allocations: 5.532 MB / 0.7733 GB, free: 232.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001845/2.001, allocations: 1.017 MB / 0.7743 GB, free: 232.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002839/2.004, allocations: 1.828 MB / 0.7761 GB, free: 231.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001584/2.004, allocations: 301.1 kB / 0.7764 GB, free: 230.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/2.008, allocations: 2.655 MB / 0.779 GB, free: 230.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008349/2.016, allocations: 8.378 MB / 0.7871 GB, free: 221.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/2.031, allocations: 12 MB / 0.7989 GB, free: 208.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003386/2.031, allocations: 56 kB / 0.7989 GB, free: 208.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02357/2.055, allocations: 10.72 MB / 0.8094 GB, free: 197.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003565/2.055, allocations: 95.94 kB / 0.8095 GB, free: 197.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005508/2.056, allocations: 200 kB / 0.8097 GB, free: 197.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004789/2.057, allocations: 268 kB / 0.8099 GB, free: 197.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007707/2.064, allocations: 2.141 MB / 0.812 GB, free: 195.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005453/2.065, allocations: 398.7 kB / 0.8124 GB, free: 194.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009835/2.075, allocations: 447.5 kB / 0.8128 GB, free: 194.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00227/2.077, allocations: 0.5582 MB / 0.8134 GB, free: 193.8 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.01022/2.087, allocations: 3.629 MB / 0.8169 GB, free: 190.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002179/2.089, allocations: 0.5668 MB / 0.8175 GB, free: 189.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006835/2.096, allocations: 2.794 MB / 0.8202 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/2.096, allocations: 31.44 kB / 0.8202 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/2.096, allocations: 0 / 0.8202 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/2.096, allocations: 15.95 kB / 0.8202 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04519/2.142, allocations: 26.56 MB / 0.8462 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.086e-05/2.142, allocations: 55.98 kB / 0.8462 GB, free: 159.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/2.143, allocations: 0.5224 MB / 0.8467 GB, free: 158.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.51e-05/2.143, allocations: 68.69 kB / 0.8468 GB, free: 158.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/2.144, allocations: 116.8 kB / 0.8469 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.056e-05/2.144, allocations: 107.6 kB / 0.847 GB, free: 158.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-05/2.144, allocations: 83.62 kB / 0.8471 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006681/2.15, allocations: 5.247 MB / 0.8522 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/2.153, allocations: 0.6769 MB / 0.8529 GB, free: 151.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009203/2.154, allocations: 120 kB / 0.853 GB, free: 151.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/2.156, allocations: 138.7 kB / 0.8531 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/2.157, allocations: 366.2 kB / 0.8535 GB, free: 151 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/2.157, allocations: 148 kB / 0.8536 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009002/2.166, allocations: 4.15 MB / 0.8577 GB, free: 146.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.233e-06/2.166, allocations: 4 kB / 0.8577 GB, free: 146.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01206/2.178, allocations: 1.509 MB / 0.8591 GB, free: 145.3 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.001018/2.179, allocations: 295.5 kB / 0.8594 GB, free: 145 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0129/2.192, allocations: 6.144 MB / 0.8654 GB, free: 138.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.113e-05/2.192, allocations: 8 kB / 0.8654 GB, free: 138.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003263/2.195, allocations: 1.499 MB / 0.8669 GB, free: 137.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/2.208, allocations: 0.8938 MB / 0.8678 GB, free: 136.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/2.253, allocations: 21.79 MB / 0.889 GB, free: 113.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008619/2.262, allocations: 5.563 MB / 0.8945 GB, free: 108.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/2.264, allocations: 471.4 kB / 0.8949 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.753e-06/2.264, allocations: 0 / 0.8949 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.5056/2.769, allocations: 94.06 MB / 0.9868 GB, free: 214.5 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