Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009906/0.0009903, allocations: 95.56 kB / 17.63 MB, free: 6.156 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.001219/0.001219, allocations: 182.4 kB / 18.52 MB, free: 5.32 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.517/1.517, allocations: 223.2 MB / 242.5 MB, free: 212 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.2421/0.2421, allocations: 44.22 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 8.531 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4637/0.6273, allocations: 90.22 MB / 0.5492 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05553/0.6829, allocations: 18.11 MB / 0.5669 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02656/0.7095, allocations: 439.6 kB / 0.5673 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0186/0.7281, allocations: 4.852 MB / 0.5721 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.054/0.7822, allocations: 14.17 MB / 0.5859 GB, free: 136 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007527/0.7897, allocations: 1.256 MB / 0.5871 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.8047, allocations: 8.916 MB / 0.5958 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/0.8201, allocations: 9.034 MB / 0.6047 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00631/0.8265, allocations: 2.456 MB / 0.607 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007123/0.8336, allocations: 3.521 MB / 0.6105 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.8353, allocations: 260 kB / 0.6107 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.8385, allocations: 0.9636 MB / 0.6117 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004207/0.8427, allocations: 3.152 MB / 0.6148 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.8454, allocations: 1.434 MB / 0.6162 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.8596, allocations: 9.274 MB / 0.6252 GB, free: 7.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.8597, allocations: 3.938 kB / 0.6252 GB, free: 7.711 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.8597, allocations: 0 / 0.6252 GB, free: 7.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000538/0.8602, allocations: 0 / 0.6252 GB, free: 7.711 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01854/0.8788, allocations: 7.292 MB / 0.6323 GB, free: 340 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.8788, allocations: 8.031 kB / 0.6323 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.8898, allocations: 2.645 MB / 0.6349 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.9023, allocations: 4.494 MB / 0.6393 GB, free: 9.094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/0.9029, allocations: 434.9 kB / 0.6397 GB, free: 8.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002596/0.9055, allocations: 0.5582 MB / 0.6403 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03857/0.944, allocations: 17.43 MB / 0.6573 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004714/0.9446, allocations: 67.41 kB / 0.6574 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002408/0.947, allocations: 275.8 kB / 0.6576 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005354/0.9524, allocations: 3.17 MB / 0.6607 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03462/0.987, allocations: 13.38 MB / 0.6738 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7256/1.713, allocations: 65.95 MB / 0.7382 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/1.727, allocations: 5.5 MB / 0.7436 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/1.731, allocations: 2.106 MB / 0.7456 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01623/1.747, allocations: 10.02 MB / 0.7554 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.747, allocations: 56.58 kB / 0.7555 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.34e-06/1.747, allocations: 0 / 0.7555 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03911/1.786, allocations: 14.31 MB / 0.7694 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/1.786, allocations: 148.7 kB / 0.7696 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008328/1.795, allocations: 6.344 MB / 0.7758 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004149/1.795, allocations: 64.28 kB / 0.7758 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003171/1.798, allocations: 5.239 MB / 0.781 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008737/1.799, allocations: 0.8211 MB / 0.7818 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/1.799, allocations: 165.6 kB / 0.7819 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003379/1.8, allocations: 0.6624 MB / 0.7826 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/1.803, allocations: 2.318 MB / 0.7848 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007024/1.81, allocations: 7.734 MB / 0.7924 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006032/1.816, allocations: 4.073 MB / 0.7964 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.816, allocations: 59.95 kB / 0.7964 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02/1.836, allocations: 9.687 MB / 0.8059 GB, free: 92.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/1.836, allocations: 88 kB / 0.806 GB, free: 92.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003365/1.837, allocations: 192.2 kB / 0.8061 GB, free: 92.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/1.837, allocations: 280 kB / 0.8064 GB, free: 91.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/1.843, allocations: 1.945 MB / 0.8083 GB, free: 90.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00022/1.843, allocations: 374.6 kB / 0.8087 GB, free: 89.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006143/1.849, allocations: 421.9 kB / 0.8091 GB, free: 89.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/1.85, allocations: 0.5185 MB / 0.8096 GB, free: 88.75 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.006182/1.856, allocations: 3.411 MB / 0.8129 GB, free: 85.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.857, allocations: 0.536 MB / 0.8134 GB, free: 84.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.859, allocations: 0.6248 MB / 0.814 GB, free: 84.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.859, allocations: 20 kB / 0.8141 GB, free: 84.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/1.859, allocations: 4.875 kB / 0.8141 GB, free: 84.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.859, allocations: 11.95 kB / 0.8141 GB, free: 84.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0248/1.884, allocations: 16.7 MB / 0.8304 GB, free: 66.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001232/1.884, allocations: 36 kB / 0.8304 GB, free: 66.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.886, allocations: 375.3 kB / 0.8308 GB, free: 66.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.373e-05/1.886, allocations: 64.02 kB / 0.8308 GB, free: 66.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/1.886, allocations: 90.89 kB / 0.8309 GB, free: 66.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-05/1.886, allocations: 75.66 kB / 0.831 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.043e-05/1.886, allocations: 59.75 kB / 0.8311 GB, free: 66.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/1.89, allocations: 3.938 MB / 0.8349 GB, free: 61.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.892, allocations: 0.6149 MB / 0.8355 GB, free: 61.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007719/1.893, allocations: 91.97 kB / 0.8356 GB, free: 60.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.895, allocations: 113 kB / 0.8357 GB, free: 60.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.895, allocations: 251 kB / 0.8359 GB, free: 60.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.895, allocations: 112.8 kB / 0.836 GB, free: 60.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005445/1.9, allocations: 3.945 MB / 0.8399 GB, free: 56.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/1.9, allocations: 0 / 0.8399 GB, free: 56.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008386/1.909, allocations: 1.365 MB / 0.8412 GB, free: 55.19 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.0006272/1.91, allocations: 251.2 kB / 0.8415 GB, free: 54.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008066/1.918, allocations: 5.34 MB / 0.8467 GB, free: 49.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.102e-05/1.918, allocations: 12.25 kB / 0.8467 GB, free: 49.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.919, allocations: 1.127 MB / 0.8478 GB, free: 48.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005546/1.925, allocations: 0.8559 MB / 0.8486 GB, free: 47.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/1.952, allocations: 18.92 MB / 0.8671 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006489/1.958, allocations: 5.222 MB / 0.8722 GB, free: 22.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.959, allocations: 411.4 kB / 0.8726 GB, free: 22.52 MB / 0.5294 GB Notification: Performance of SimCode: time 1.143e-06/1.959, allocations: 4 kB / 0.8726 GB, free: 22.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.4792/2.439, allocations: 85.62 MB / 0.9562 GB, free: 176 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceCalcHelperMain.o] Error 1