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.0009102/0.0009101, allocations: 90.97 kB / 16.33 MB, free: 6.398 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.001047/0.001047, allocations: 187.4 kB / 17.22 MB, free: 6.289 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: 13.17 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.2487/0.2487, allocations: 43.55 MB / 315.2 MB, free: 0.5547 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.0005255/0.0005255, allocations: 12.97 kB / 384.5 MB, free: 57.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1302, allocations: 58.86 MB / 443.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3921/0.5223, allocations: 91.68 MB / 0.5225 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0521/0.5745, allocations: 18.31 MB / 0.5404 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02522/0.5997, allocations: 449.7 kB / 0.5408 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01923/0.619, allocations: 4.915 MB / 0.5456 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04547/0.6645, allocations: 14.36 MB / 0.5597 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007994/0.6726, allocations: 1.259 MB / 0.5609 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01447/0.6871, allocations: 9.481 MB / 0.5702 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01566/0.7028, allocations: 9.198 MB / 0.5791 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006408/0.7092, allocations: 2.598 MB / 0.5817 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007326/0.7166, allocations: 3.866 MB / 0.5855 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00239/0.719, allocations: 280 kB / 0.5857 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.7235, allocations: 0.9812 MB / 0.5867 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005653/0.7291, allocations: 3.37 MB / 0.59 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.7332, allocations: 1.535 MB / 0.5915 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.7486, allocations: 10.02 MB / 0.6013 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.7487, allocations: 3.938 kB / 0.6013 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7487, allocations: 0 / 0.6013 GB, free: 14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006037/0.7493, allocations: 0 / 0.6013 GB, free: 14 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.02256/0.7719, allocations: 7.69 MB / 0.6088 GB, free: 6.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.7719, allocations: 16.02 kB / 0.6088 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.7837, allocations: 2.72 MB / 0.6114 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.7972, allocations: 4.86 MB / 0.6162 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/0.7977, allocations: 466.6 kB / 0.6166 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/0.8004, allocations: 0.5899 MB / 0.6172 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03535/0.8357, allocations: 18.74 MB / 0.6355 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.836, allocations: 80.34 kB / 0.6356 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000709/0.8367, allocations: 283.8 kB / 0.6359 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004856/0.8416, allocations: 3.446 MB / 0.6392 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.8737, allocations: 14.57 MB / 0.6534 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/0.9836, allocations: 70.41 MB / 0.7222 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5169/1.501, allocations: 6.114 MB / 0.7282 GB, free: 212.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004989/1.506, allocations: 2.444 MB / 0.7306 GB, free: 212.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02329/1.529, allocations: 10.84 MB / 0.7411 GB, free: 209.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/1.529, allocations: 57.72 kB / 0.7412 GB, free: 209.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 6.543e-06/1.529, allocations: 0 / 0.7412 GB, free: 209.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.03685/1.566, allocations: 15.9 MB / 0.7567 GB, free: 202.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/1.566, allocations: 160.2 kB / 0.7569 GB, free: 202.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008337/1.574, allocations: 6.602 MB / 0.7633 GB, free: 200.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004857/1.575, allocations: 66.53 kB / 0.7634 GB, free: 200.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003251/1.578, allocations: 5.531 MB / 0.7688 GB, free: 196.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.579, allocations: 1.017 MB / 0.7698 GB, free: 195.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/1.579, allocations: 182.6 kB / 0.77 GB, free: 195.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003627/1.58, allocations: 0.7024 MB / 0.7706 GB, free: 194.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.584, allocations: 2.621 MB / 0.7732 GB, free: 193.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006021/1.59, allocations: 8.337 MB / 0.7813 GB, free: 182.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005579/1.595, allocations: 4.511 MB / 0.7858 GB, free: 178.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.257e-05/1.595, allocations: 56 kB / 0.7858 GB, free: 178.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01459/1.61, allocations: 10.65 MB / 0.7962 GB, free: 167.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/1.61, allocations: 92 kB / 0.7963 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.61, allocations: 206.9 kB / 0.7965 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/1.61, allocations: 296 kB / 0.7968 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005628/1.616, allocations: 2.145 MB / 0.7989 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002411/1.616, allocations: 399.1 kB / 0.7992 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006478/1.623, allocations: 456.8 kB / 0.7997 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008537/1.624, allocations: 0.5562 MB / 0.8002 GB, free: 163.6 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006253/1.63, allocations: 3.624 MB / 0.8038 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.631, allocations: 0.563 MB / 0.8043 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004922/1.636, allocations: 2.783 MB / 0.807 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/1.636, allocations: 32 kB / 0.8071 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.636, allocations: 0 / 0.8071 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/1.636, allocations: 13.92 kB / 0.8071 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03545/1.672, allocations: 26.53 MB / 0.833 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.148e-05/1.672, allocations: 63.92 kB / 0.833 GB, free: 129.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.673, allocations: 0.5185 MB / 0.8336 GB, free: 128.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.071e-05/1.673, allocations: 76 kB / 0.8336 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/1.674, allocations: 123.5 kB / 0.8337 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.308e-05/1.674, allocations: 99.59 kB / 0.8338 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-05/1.674, allocations: 95.61 kB / 0.8339 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/1.679, allocations: 5.218 MB / 0.839 GB, free: 122.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.68, allocations: 0.6769 MB / 0.8397 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005108/1.681, allocations: 124 kB / 0.8398 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/1.683, allocations: 145.4 kB / 0.8399 GB, free: 121.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/1.683, allocations: 354.5 kB / 0.8403 GB, free: 120.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.683, allocations: 155 kB / 0.8404 GB, free: 120.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006628/1.69, allocations: 4.119 MB / 0.8444 GB, free: 116.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.69, allocations: 0 / 0.8444 GB, free: 116.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008047/1.698, allocations: 1.507 MB / 0.8459 GB, free: 115.2 MB / 0.545 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 (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.0004834/1.698, allocations: 292.8 kB / 0.8462 GB, free: 114.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008557/1.707, allocations: 6.103 MB / 0.8522 GB, free: 108.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-05/1.707, allocations: 8 kB / 0.8522 GB, free: 108.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.709, allocations: 1.487 MB / 0.8536 GB, free: 107.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005095/1.714, allocations: 0.907 MB / 0.8545 GB, free: 106.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/1.742, allocations: 20.98 MB / 0.875 GB, free: 84.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005498/1.747, allocations: 5.554 MB / 0.8804 GB, free: 79.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.749, allocations: 471.4 kB / 0.8809 GB, free: 78.65 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.749, allocations: 0 / 0.8809 GB, free: 78.65 MB / 0.545 GB Notification: Performance of Templates: time 0.4078/2.157, allocations: 93.12 MB / 0.9718 GB, free: 169 MB / 0.545 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++ 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.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