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.0009188/0.0009191, allocations: 96.94 kB / 16.33 MB, free: 5.938 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.0008877/0.0008877, allocations: 188.9 kB / 17.22 MB, free: 5.879 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.689/1.689, allocations: 205.4 MB / 223.4 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4278/0.4278, allocations: 43.55 MB / 315.2 MB, free: 8.746 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.0005537/0.0005539, allocations: 15.98 kB / 384.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.85 MB / 443.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2951/0.4374, allocations: 23.7 MB / 467.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.4512, allocations: 5.945 MB / 473 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004982/0.4562, allocations: 117.9 kB / 473.2 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.4587, allocations: 1.128 MB / 474.3 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007851/0.4665, allocations: 3.356 MB / 477.6 MB, free: 32.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.4675, allocations: 219.6 kB / 477.9 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.4725, allocations: 3.971 MB / 481.8 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/0.4761, allocations: 2.845 MB / 484.7 MB, free: 29.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.4777, allocations: 1.03 MB / 485.7 MB, free: 29.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.4796, allocations: 1.608 MB / 487.3 MB, free: 29.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.4799, allocations: 130.8 kB / 487.4 MB, free: 29.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.481, allocations: 0.5305 MB / 488 MB, free: 29.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.4825, allocations: 1.488 MB / 489.5 MB, free: 28.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.4833, allocations: 0.7875 MB / 490.3 MB, free: 28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008309/0.4917, allocations: 4.967 MB / 495.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.4917, allocations: 0 / 495.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4917, allocations: 0 / 495.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003116/0.492, allocations: 5.094 kB / 495.2 MB, free: 26.98 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.01087/0.5029, allocations: 3.457 MB / 498.7 MB, free: 24.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.503, allocations: 9.969 kB / 498.7 MB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.5134, allocations: 3.098 MB / 0.49 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/0.5191, allocations: 1.831 MB / 0.4918 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.5193, allocations: 204.3 kB / 0.492 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.5206, allocations: 262.9 kB / 0.4923 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/0.5425, allocations: 10.5 MB / 0.5025 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.238e-05/0.5426, allocations: 36.17 kB / 0.5026 GB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/0.543, allocations: 134.8 kB / 0.5027 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00397/0.547, allocations: 2.434 MB / 0.5051 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.5633, allocations: 9.322 MB / 0.5142 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05489/0.6183, allocations: 38.93 MB / 0.5522 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006024/0.6243, allocations: 3.488 MB / 0.5556 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.6264, allocations: 1.267 MB / 0.5568 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009602/0.636, allocations: 5.458 MB / 0.5622 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.6361, allocations: 47.06 kB / 0.5622 GB, free: 4.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 4.989e-06/0.6361, allocations: 0 / 0.5622 GB, free: 4.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.007045/0.6431, allocations: 3.349 MB / 0.5655 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.6432, allocations: 170.7 kB / 0.5656 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00656/0.6498, allocations: 3.932 MB / 0.5695 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.65, allocations: 41.7 kB / 0.5695 GB, free: 12.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002717/0.6528, allocations: 3.32 MB / 0.5728 GB, free: 9.316 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008649/0.6536, allocations: 0.6252 MB / 0.5734 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.6539, allocations: 128 kB / 0.5735 GB, free: 8.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000456/0.6544, allocations: 0.5911 MB / 0.5741 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/0.6575, allocations: 1.977 MB / 0.576 GB, free: 5.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006676/0.6642, allocations: 6.288 MB / 0.5821 GB, free: 13.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/0.6699, allocations: 3.515 MB / 0.5856 GB, free: 10.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.695e-05/0.67, allocations: 48 kB / 0.5856 GB, free: 9.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01277/0.6828, allocations: 7.88 MB / 0.5933 GB, free: 2.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-05/0.6829, allocations: 72 kB / 0.5934 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/0.6831, allocations: 156 kB / 0.5935 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.6833, allocations: 224 kB / 0.5937 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/0.6873, allocations: 1.513 MB / 0.5952 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002448/0.6876, allocations: 295 kB / 0.5955 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/0.6928, allocations: 0.9393 MB / 0.5964 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008119/0.6936, allocations: 424 kB / 0.5968 GB, free: 14.48 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00517/0.6988, allocations: 2.28 MB / 0.5991 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/0.6994, allocations: 319.8 kB / 0.5994 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.7004, allocations: 420.2 kB / 0.5998 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.746e-05/0.7004, allocations: 39.94 kB / 0.5998 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/0.7005, allocations: 4 kB / 0.5998 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.7005, allocations: 7.922 kB / 0.5998 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.7109, allocations: 5.696 MB / 0.6054 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.711, allocations: 8 kB / 0.6054 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.7119, allocations: 203.7 kB / 0.6056 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.712, allocations: 15.98 kB / 0.6056 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/0.7121, allocations: 32.31 kB / 0.6056 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.7121, allocations: 11.94 kB / 0.6056 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.7121, allocations: 15.95 kB / 0.6056 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.7155, allocations: 2.57 MB / 0.6082 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.7166, allocations: 400.5 kB / 0.6085 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.7169, allocations: 27.98 kB / 0.6086 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009673/0.7178, allocations: 59.92 kB / 0.6086 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.718, allocations: 96.25 kB / 0.6087 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.7181, allocations: 47.98 kB / 0.6088 GB, free: 1.996 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004617/0.7227, allocations: 2.388 MB / 0.6111 GB, free: 15.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.585e-06/0.7228, allocations: 0 / 0.6111 GB, free: 15.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006365/0.7291, allocations: 1.133 MB / 0.6122 GB, free: 14.49 MB / 494.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 (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.000436/0.7296, allocations: 162.9 kB / 0.6123 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007592/0.7372, allocations: 4.503 MB / 0.6167 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7372, allocations: 0 / 0.6167 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.7385, allocations: 0.9578 MB / 0.6177 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.7408, allocations: 342.1 kB / 0.618 GB, free: 8.559 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.7596, allocations: 10.83 MB / 0.6286 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003898/0.7635, allocations: 3.288 MB / 0.6318 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.7646, allocations: 283.4 kB / 0.6321 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.7646, allocations: 0 / 0.6321 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.3364/1.101, allocations: 53.61 MB / 0.6844 GB, free: 138.2 MB / 0.4981 GB 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++ 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.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