Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008903, allocations: 88.42 kB / 17.63 MB, free: 5.719 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.0008481/0.0008481, allocations: 186.4 kB / 18.52 MB, free: 5.168 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.519/1.519, allocations: 223.2 MB / 242.5 MB, free: 324 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.2389/0.2389, allocations: 44.23 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 12 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03473/0.1866, allocations: 34.09 MB / 0.4944 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02022/0.2068, allocations: 7.203 MB / 0.5015 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007501/0.2144, allocations: 155.6 kB / 0.5016 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.2197, allocations: 1.497 MB / 0.5031 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3544/0.5742, allocations: 4.389 MB / 0.5074 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.5764, allocations: 256 kB / 0.5076 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005955/0.5823, allocations: 2.618 MB / 0.5102 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005779/0.5881, allocations: 2.97 MB / 0.5131 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.5899, allocations: 0.6898 MB / 0.5137 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.5918, allocations: 1.031 MB / 0.5147 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.5921, allocations: 86.62 kB / 0.5148 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.5934, allocations: 0.5267 MB / 0.5153 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.5948, allocations: 0.9908 MB / 0.5163 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.5955, allocations: 0.5276 MB / 0.5168 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004666/0.6001, allocations: 3.419 MB / 0.5202 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6002, allocations: 0 / 0.5202 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6002, allocations: 0 / 0.5202 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000163/0.6003, allocations: 2.703 kB / 0.5202 GB, free: 10.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006441/0.6068, allocations: 2.456 MB / 0.5226 GB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6068, allocations: 10.16 kB / 0.5226 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005399/0.6123, allocations: 1.63 MB / 0.5242 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.6156, allocations: 1.317 MB / 0.5254 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.6157, allocations: 146.6 kB / 0.5256 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004119/0.6162, allocations: 192.8 kB / 0.5258 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.6267, allocations: 6.417 MB / 0.532 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.6268, allocations: 15 kB / 0.532 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.6271, allocations: 90.58 kB / 0.5321 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.6291, allocations: 1.406 MB / 0.5335 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.6407, allocations: 5.46 MB / 0.5388 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03304/0.6738, allocations: 20.56 MB / 0.5589 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.6788, allocations: 2.077 MB / 0.5609 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.6801, allocations: 0.6909 MB / 0.5616 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00893/0.6891, allocations: 3.509 MB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.6892, allocations: 39.94 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.009e-06/0.6892, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005784/0.695, allocations: 1.972 MB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.6951, allocations: 55.84 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/0.7002, allocations: 1.952 MB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.7003, allocations: 40.2 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00208/0.7024, allocations: 1.875 MB / 0.5708 GB, free: 9.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.7029, allocations: 321.6 kB / 0.5711 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.7032, allocations: 58.81 kB / 0.5712 GB, free: 8.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004774/0.7036, allocations: 497.2 kB / 0.5717 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.7055, allocations: 0.8842 MB / 0.5725 GB, free: 7.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/0.709, allocations: 2.76 MB / 0.5752 GB, free: 3.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/0.7117, allocations: 1.554 MB / 0.5768 GB, free: 2.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.118e-05/0.7118, allocations: 20 kB / 0.5768 GB, free: 2.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006882/0.7187, allocations: 3.518 MB / 0.5802 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.7188, allocations: 36 kB / 0.5802 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.7189, allocations: 66.48 kB / 0.5803 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.7191, allocations: 100 kB / 0.5804 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.7213, allocations: 0.6667 MB / 0.5811 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001466/0.7214, allocations: 131.5 kB / 0.5812 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.724, allocations: 417 kB / 0.5816 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.7244, allocations: 194.6 kB / 0.5818 GB, free: 13.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * 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.003234/0.7276, allocations: 1.377 MB / 0.5831 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.728, allocations: 153.9 kB / 0.5833 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.7286, allocations: 197.2 kB / 0.5834 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.7286, allocations: 8 kB / 0.5834 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.7286, allocations: 4 kB / 0.5835 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.7286, allocations: 3.984 kB / 0.5835 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009723/0.7384, allocations: 4.143 MB / 0.5875 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.7384, allocations: 8 kB / 0.5875 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.7388, allocations: 99.81 kB / 0.5876 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/0.7389, allocations: 8 kB / 0.5876 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.7389, allocations: 20 kB / 0.5876 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.739, allocations: 9.969 kB / 0.5876 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.739, allocations: 11.94 kB / 0.5877 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.7409, allocations: 1.242 MB / 0.5889 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/0.7417, allocations: 262.6 kB / 0.5891 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/0.7421, allocations: 19.28 kB / 0.5891 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.7429, allocations: 27.91 kB / 0.5892 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.743, allocations: 55.84 kB / 0.5892 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.7431, allocations: 28 kB / 0.5892 GB, free: 5.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002992/0.7461, allocations: 1.268 MB / 0.5905 GB, free: 4.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7461, allocations: 8 kB / 0.5905 GB, free: 4.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003969/0.7501, allocations: 0.7032 MB / 0.5912 GB, free: 3.754 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.000432/0.7505, allocations: 142.7 kB / 0.5913 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.7546, allocations: 2.026 MB / 0.5933 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.7546, allocations: 0 / 0.5933 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.7554, allocations: 457 kB / 0.5937 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.7575, allocations: 237.7 kB / 0.5939 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.7729, allocations: 6.58 MB / 0.6004 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004447/0.7774, allocations: 2.324 MB / 0.6026 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.778, allocations: 147.4 kB / 0.6028 GB, free: 7.723 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7781, allocations: 0 / 0.6028 GB, free: 7.723 MB / 446.1 MB Notification: Performance of Templates: time 0.06331/0.8414, allocations: 30.09 MB / 0.6322 GB, free: 9.707 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2CalcHelperMain.o] Error 1