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.001064/0.001064, allocations: 87.56 kB / 16.66 MB, free: 6.594 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.001159/0.001159, allocations: 181.9 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2804/0.2804, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 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.0005917/0.0005914, allocations: 19.06 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1444, allocations: 58.86 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02778/0.1722, allocations: 25.43 MB / 469.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.1911, allocations: 6.288 MB / 475.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007232/0.1984, allocations: 119.7 kB / 475.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.2004, allocations: 458 kB / 476.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.2061, allocations: 1.526 MB / 477.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.2074, allocations: 227.5 kB / 478.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00823/0.2157, allocations: 5.138 MB / 483.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006722/0.2224, allocations: 3.234 MB / 486.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.2253, allocations: 0.9413 MB / 487.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.2288, allocations: 1.635 MB / 489.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.2298, allocations: 128 kB / 489.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.2321, allocations: 0.6317 MB / 489.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002506/0.2346, allocations: 1.546 MB / 491.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.2388, allocations: 1.876 MB / 493.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007537/0.2464, allocations: 4.961 MB / 498.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.2464, allocations: 8 kB / 498.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.86e-06/0.2464, allocations: 0 / 498.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003399/0.2468, allocations: 0 / 498.2 MB, free: 14.77 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.01045/0.2573, allocations: 3.4 MB / 0.4899 GB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.2573, allocations: 11.97 kB / 0.4899 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.2688, allocations: 3.099 MB / 0.4929 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/0.2739, allocations: 1.858 MB / 0.4947 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.2742, allocations: 205.1 kB / 0.4949 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.2752, allocations: 259.8 kB / 0.4952 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.2939, allocations: 10.52 MB / 0.5054 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.922e-05/0.2941, allocations: 31.75 kB / 0.5055 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004106/0.2945, allocations: 135.8 kB / 0.5056 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004083/0.2986, allocations: 2.431 MB / 0.508 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.3174, allocations: 9.367 MB / 0.5171 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3939/0.7113, allocations: 38.96 MB / 0.5552 GB, free: 60.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006236/0.7176, allocations: 3.492 MB / 0.5586 GB, free: 59.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.72, allocations: 1.273 MB / 0.5598 GB, free: 59.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.7302, allocations: 5.461 MB / 0.5652 GB, free: 56.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.7303, allocations: 56.66 kB / 0.5652 GB, free: 56.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 6.953e-06/0.7304, allocations: 0 / 0.5652 GB, free: 56.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.006859/0.7372, allocations: 3.361 MB / 0.5685 GB, free: 55.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.7373, allocations: 173.1 kB / 0.5687 GB, free: 54.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/0.7426, allocations: 3.944 MB / 0.5725 GB, free: 53.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.7428, allocations: 50.89 kB / 0.5726 GB, free: 53.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.7448, allocations: 3.313 MB / 0.5758 GB, free: 50.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006209/0.7454, allocations: 0.6259 MB / 0.5764 GB, free: 49.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000596/0.746, allocations: 0.5602 MB / 0.5769 GB, free: 49.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.7461, allocations: 305.1 kB / 0.5772 GB, free: 49.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.7485, allocations: 2.001 MB / 0.5792 GB, free: 48.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004154/0.7527, allocations: 6.298 MB / 0.5853 GB, free: 40.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008178/0.7609, allocations: 9.063 MB / 0.5942 GB, free: 29.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000174/0.7611, allocations: 47.94 kB / 0.5942 GB, free: 29.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01438/0.7755, allocations: 7.93 MB / 0.602 GB, free: 21.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.154e-05/0.7756, allocations: 72 kB / 0.6021 GB, free: 21.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/0.7758, allocations: 156.1 kB / 0.6022 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.7759, allocations: 203.9 kB / 0.6024 GB, free: 21.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/0.7801, allocations: 1.509 MB / 0.6039 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001889/0.7803, allocations: 298.9 kB / 0.6042 GB, free: 19.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/0.786, allocations: 0.9392 MB / 0.6051 GB, free: 18.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008152/0.7868, allocations: 414 kB / 0.6055 GB, free: 18.12 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.003802/0.7906, allocations: 2.298 MB / 0.6077 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005346/0.7912, allocations: 315.8 kB / 0.608 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.7919, allocations: 416.2 kB / 0.6084 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.905e-05/0.792, allocations: 44.86 kB / 0.6085 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.792, allocations: 0 / 0.6085 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.792, allocations: 7.984 kB / 0.6085 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008094/0.8001, allocations: 5.693 MB / 0.614 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.8002, allocations: 16.06 kB / 0.614 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.8011, allocations: 207.7 kB / 0.6142 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.8011, allocations: 12 kB / 0.6142 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/0.8012, allocations: 37.34 kB / 0.6143 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.8012, allocations: 15.92 kB / 0.6143 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.8012, allocations: 8 kB / 0.6143 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.8037, allocations: 2.585 MB / 0.6168 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007284/0.8045, allocations: 396.5 kB / 0.6172 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.8047, allocations: 30.52 kB / 0.6172 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.8057, allocations: 71.91 kB / 0.6173 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.8059, allocations: 84.28 kB / 0.6174 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.806, allocations: 44.7 kB / 0.6174 GB, free: 5.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002907/0.8089, allocations: 2.415 MB / 0.6198 GB, free: 3.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8089, allocations: 0 / 0.6198 GB, free: 3.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005426/0.8144, allocations: 1.137 MB / 0.6209 GB, free: 2.113 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.0004177/0.8148, allocations: 153.5 kB / 0.621 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007858/0.8227, allocations: 4.53 MB / 0.6255 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/0.8227, allocations: 8.062 kB / 0.6255 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.8242, allocations: 0.9556 MB / 0.6264 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/0.8292, allocations: 354.4 kB / 0.6267 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/0.8539, allocations: 11.24 MB / 0.6377 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004329/0.8583, allocations: 3.285 MB / 0.6409 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/0.8595, allocations: 287.4 kB / 0.6412 GB, free: 13.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.8595, allocations: 4 kB / 0.6412 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Templates: time 0.1103/0.9698, allocations: 53.48 MB / 0.6934 GB, free: 7.727 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