Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 102.3 kB / 16.52 MB, free: 6.668 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.001559/0.001559, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.875/1.875, allocations: 205.1 MB / 223.3 MB, free: 12.39 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.2719/0.2719, allocations: 43.52 MB / 314.1 MB, free: 0.75 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.001463/0.001463, allocations: 74.08 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1494, allocations: 57.79 MB / 440.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02611/0.1756, allocations: 26.32 MB / 466.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0213/0.1969, allocations: 6.35 MB / 473.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007337/0.2043, allocations: 111.8 kB / 473.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004505/0.209, allocations: 1.648 MB / 474.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.2144, allocations: 1.526 MB / 476.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.2169, allocations: 1.185 MB / 477.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008295/0.2252, allocations: 5.132 MB / 482.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004188/0.2295, allocations: 2.517 MB / 485.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.2315, allocations: 1.066 MB / 486.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.2346, allocations: 1.783 MB / 488.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006096/0.2352, allocations: 176 kB / 488.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.2368, allocations: 0.6826 MB / 489 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.2385, allocations: 1.605 MB / 490.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.2406, allocations: 1.94 MB / 492.5 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005337/0.246, allocations: 5.075 MB / 497.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.246, allocations: 4 kB / 497.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.246, allocations: 0 / 497.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.2461, allocations: 0 / 497.6 MB, free: 14.04 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.008302/0.2544, allocations: 4.199 MB / 0.49 GB, free: 9.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.2545, allocations: 8.031 kB / 0.49 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009973/0.2645, allocations: 3.013 MB / 0.493 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005067/0.2696, allocations: 1.858 MB / 0.4948 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.2698, allocations: 201.3 kB / 0.495 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006206/0.2704, allocations: 267.8 kB / 0.4952 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02046/0.2909, allocations: 10.52 MB / 0.5055 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-05/0.291, allocations: 27.75 kB / 0.5055 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000459/0.2915, allocations: 131.8 kB / 0.5057 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00385/0.2954, allocations: 2.439 MB / 0.508 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.3137, allocations: 9.365 MB / 0.5172 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3694/0.6831, allocations: 38.93 MB / 0.5552 GB, free: 62.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006699/0.6898, allocations: 3.491 MB / 0.5586 GB, free: 60.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.6925, allocations: 1.278 MB / 0.5599 GB, free: 60.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.703, allocations: 5.46 MB / 0.5652 GB, free: 57.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.7031, allocations: 50.19 kB / 0.5652 GB, free: 57.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 4.599e-06/0.7031, allocations: 0 / 0.5652 GB, free: 57.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.006787/0.7099, allocations: 3.36 MB / 0.5685 GB, free: 56.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.71, allocations: 169.8 kB / 0.5687 GB, free: 56.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00642/0.7164, allocations: 3.952 MB / 0.5725 GB, free: 54.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.7166, allocations: 41.42 kB / 0.5726 GB, free: 54.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002059/0.7187, allocations: 3.319 MB / 0.5758 GB, free: 51.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008236/0.7195, allocations: 0.6185 MB / 0.5764 GB, free: 50.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001633/0.7212, allocations: 1.35 MB / 0.5777 GB, free: 50.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.7213, allocations: 305.1 kB / 0.578 GB, free: 49.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.7238, allocations: 2.004 MB / 0.58 GB, free: 48.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004696/0.7285, allocations: 6.303 MB / 0.5861 GB, free: 40.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009238/0.7378, allocations: 9.064 MB / 0.595 GB, free: 28.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/0.738, allocations: 44 kB / 0.595 GB, free: 28.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01657/0.7546, allocations: 7.921 MB / 0.6028 GB, free: 20.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.7548, allocations: 72 kB / 0.6028 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002104/0.755, allocations: 152.8 kB / 0.603 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.7552, allocations: 203.9 kB / 0.6032 GB, free: 20.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/0.7597, allocations: 1.509 MB / 0.6047 GB, free: 19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001779/0.7599, allocations: 295.5 kB / 0.6049 GB, free: 18.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/0.7656, allocations: 0.9508 MB / 0.6059 GB, free: 17.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008132/0.7664, allocations: 427.8 kB / 0.6063 GB, free: 17.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (819): * Single equations (assignments): 811 * Array equations: 8 * 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.004058/0.7705, allocations: 2.277 MB / 0.6085 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006273/0.7711, allocations: 319.8 kB / 0.6088 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/0.7718, allocations: 417.7 kB / 0.6092 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-05/0.7719, allocations: 51.77 kB / 0.6092 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.7719, allocations: 4 kB / 0.6093 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7719, allocations: 3.984 kB / 0.6093 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008673/0.7806, allocations: 5.703 MB / 0.6148 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.7807, allocations: 8 kB / 0.6148 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/0.7816, allocations: 211.7 kB / 0.615 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.7816, allocations: 8.75 kB / 0.615 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/0.7817, allocations: 35.94 kB / 0.6151 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.7817, allocations: 15.94 kB / 0.6151 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.7817, allocations: 15.69 kB / 0.6151 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.7845, allocations: 2.582 MB / 0.6176 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/0.7855, allocations: 380.6 kB / 0.618 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/0.7858, allocations: 34.06 kB / 0.618 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7869, allocations: 67.91 kB / 0.6181 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.7871, allocations: 86.77 kB / 0.6182 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.7872, allocations: 44 kB / 0.6182 GB, free: 4.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00355/0.7907, allocations: 2.411 MB / 0.6206 GB, free: 2.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7908, allocations: 0 / 0.6206 GB, free: 2.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00596/0.7967, allocations: 1.13 MB / 0.6217 GB, free: 1.367 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * 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.0004673/0.7972, allocations: 162.5 kB / 0.6218 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00864/0.8059, allocations: 4.522 MB / 0.6262 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.8059, allocations: 0 / 0.6262 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.8075, allocations: 0.9684 MB / 0.6272 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/0.8114, allocations: 346.9 kB / 0.6275 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0264/0.8378, allocations: 11.22 MB / 0.6385 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004544/0.8425, allocations: 3.291 MB / 0.6417 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.8438, allocations: 279.4 kB / 0.642 GB, free: 12.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.464e-06/0.8439, allocations: 0 / 0.642 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Templates: time 0.1147/0.9585, allocations: 54.29 MB / 0.695 GB, free: 6.195 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.o] Error 1