Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0009188/0.0009187, allocations: 92.41 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.0008769/0.0008769, allocations: 188.1 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.584/1.584, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.2373/0.2373, allocations: 43.56 MB / 315.2 MB, free: 0.5508 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.0005613/0.0005614, allocations: 16 kB / 384.5 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1327, allocations: 58.87 MB / 443.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03356/0.1663, allocations: 34.84 MB / 478.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.1854, allocations: 7.262 MB / 485.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007988/0.1934, allocations: 159.7 kB / 485.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005959/0.1994, allocations: 1.512 MB / 487.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01426/0.2138, allocations: 4.44 MB / 491.6 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.2157, allocations: 243.7 kB / 491.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004295/0.22, allocations: 2.773 MB / 494.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004304/0.2244, allocations: 3.006 MB / 497.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.2258, allocations: 0.7238 MB / 498.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.2273, allocations: 1.121 MB / 499.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.2276, allocations: 96 kB / 499.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.2286, allocations: 0.5343 MB / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000974/0.2296, allocations: 1.048 MB / 0.4894 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005751/0.2302, allocations: 0.5507 MB / 0.4899 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.2339, allocations: 3.612 MB / 0.4935 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2339, allocations: 0 / 0.4935 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.2339, allocations: 0 / 0.4935 GB, free: 7.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.463e-05/0.234, allocations: 3.938 kB / 0.4935 GB, free: 7.621 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.004689/0.2387, allocations: 2.561 MB / 0.496 GB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2387, allocations: 16.02 kB / 0.496 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/0.244, allocations: 1.653 MB / 0.4976 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.2472, allocations: 1.37 MB / 0.4989 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.2475, allocations: 159.8 kB / 0.4991 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.2479, allocations: 195.9 kB / 0.4993 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.2591, allocations: 6.765 MB / 0.5059 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/0.2592, allocations: 11.88 kB / 0.5059 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.2594, allocations: 95.84 kB / 0.506 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002173/0.2616, allocations: 1.477 MB / 0.5074 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.2725, allocations: 5.775 MB / 0.5131 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3192/0.5917, allocations: 21.59 MB / 0.5342 GB, free: 78.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/0.5966, allocations: 2.242 MB / 0.5364 GB, free: 77.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.5978, allocations: 0.7772 MB / 0.5371 GB, free: 77.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006738/0.6046, allocations: 3.755 MB / 0.5408 GB, free: 76.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.6047, allocations: 48.84 kB / 0.5408 GB, free: 76.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.609e-06/0.6047, allocations: 0 / 0.5408 GB, free: 76.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005931/0.6106, allocations: 2.185 MB / 0.543 GB, free: 76.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.6107, allocations: 59.75 kB / 0.543 GB, free: 76.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.6139, allocations: 2.013 MB / 0.545 GB, free: 76.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.614, allocations: 36.17 kB / 0.545 GB, free: 76.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.6155, allocations: 1.955 MB / 0.5469 GB, free: 75.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.6158, allocations: 367.6 kB / 0.5473 GB, free: 74.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6159, allocations: 60.58 kB / 0.5473 GB, free: 74.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.6162, allocations: 0.4911 MB / 0.5478 GB, free: 74.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.6178, allocations: 0.962 MB / 0.5488 GB, free: 74.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.6197, allocations: 2.908 MB / 0.5516 GB, free: 71.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.6216, allocations: 1.662 MB / 0.5532 GB, free: 70.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.076e-05/0.6217, allocations: 22.75 kB / 0.5532 GB, free: 70.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.004844/0.6265, allocations: 3.758 MB / 0.5569 GB, free: 69.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.6266, allocations: 36.81 kB / 0.5569 GB, free: 69.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.337e-05/0.6266, allocations: 70.47 kB / 0.557 GB, free: 69.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-05/0.6267, allocations: 102.7 kB / 0.5571 GB, free: 69.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.6285, allocations: 0.7136 MB / 0.5578 GB, free: 69.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.419e-05/0.6286, allocations: 133 kB / 0.5579 GB, free: 69.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.6307, allocations: 448.8 kB / 0.5584 GB, free: 68.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.6309, allocations: 201.1 kB / 0.5586 GB, free: 68.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002246/0.6332, allocations: 1.431 MB / 0.56 GB, free: 68.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.6334, allocations: 171.3 kB / 0.5601 GB, free: 68.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.635, allocations: 1.184 MB / 0.5613 GB, free: 67.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.6351, allocations: 17.86 kB / 0.5613 GB, free: 67.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6351, allocations: 0 / 0.5613 GB, free: 67.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6351, allocations: 3.984 kB / 0.5613 GB, free: 67.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/0.6416, allocations: 4.976 MB / 0.5662 GB, free: 62.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6417, allocations: 8 kB / 0.5662 GB, free: 62.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.6421, allocations: 131.8 kB / 0.5663 GB, free: 62.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.6421, allocations: 12 kB / 0.5663 GB, free: 62.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.6422, allocations: 24 kB / 0.5663 GB, free: 62.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.6422, allocations: 23.88 kB / 0.5663 GB, free: 62.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.6422, allocations: 16.69 kB / 0.5664 GB, free: 62.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.6437, allocations: 1.498 MB / 0.5678 GB, free: 60.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.6441, allocations: 270.5 kB / 0.5681 GB, free: 60.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6442, allocations: 26.14 kB / 0.5681 GB, free: 60.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.6447, allocations: 43.91 kB / 0.5681 GB, free: 60.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.6448, allocations: 73 kB / 0.5682 GB, free: 60.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.6449, allocations: 36.86 kB / 0.5682 GB, free: 59.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.6463, allocations: 1.32 MB / 0.5695 GB, free: 58.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6463, allocations: 3.938 kB / 0.5695 GB, free: 58.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002758/0.6491, allocations: 0.7511 MB / 0.5703 GB, free: 57.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0002795/0.6493, allocations: 144.3 kB / 0.5704 GB, free: 57.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002772/0.6521, allocations: 2.217 MB / 0.5726 GB, free: 55.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6521, allocations: 0 / 0.5726 GB, free: 55.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.6527, allocations: 0.5388 MB / 0.5731 GB, free: 55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6539, allocations: 242.4 kB / 0.5733 GB, free: 54.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/0.6629, allocations: 7.073 MB / 0.5802 GB, free: 47.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.6649, allocations: 2.414 MB / 0.5826 GB, free: 45.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.6654, allocations: 159.4 kB / 0.5828 GB, free: 44.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6654, allocations: 0 / 0.5828 GB, free: 44.96 MB / 414.1 MB Notification: Performance of Templates: time 0.04538/0.7108, allocations: 31.97 MB / 0.614 GB, free: 13.02 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2CalcHelperMain.o] Error 1