Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.001663/0.001663, allocations: 180.5 kB / 18.52 MB, free: 5.445 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.563/1.563, allocations: 223.2 MB / 242.5 MB, free: 300 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.2499/0.2499, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.000339, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 61.91 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02676/0.172, allocations: 26.8 MB / 499 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.1892, allocations: 6.33 MB / 0.4935 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.1954, allocations: 119.7 kB / 0.4936 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.1998, allocations: 1.279 MB / 0.4948 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.2134, allocations: 3.997 MB / 0.4987 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.2155, allocations: 363.4 kB / 0.4991 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006511/0.222, allocations: 3.837 MB / 0.5028 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.226, allocations: 2.241 MB / 0.505 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3341/0.5601, allocations: 1.021 MB / 0.506 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004191/0.5643, allocations: 1.691 MB / 0.5077 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.5653, allocations: 136 kB / 0.5078 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.568, allocations: 0.668 MB / 0.5084 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00268/0.5707, allocations: 1.458 MB / 0.5099 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.5723, allocations: 0.7465 MB / 0.5106 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009929/0.5822, allocations: 4.631 MB / 0.5151 GB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.5823, allocations: 0 / 0.5151 GB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5823, allocations: 0.5625 kB / 0.5151 GB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003583/0.5827, allocations: 0.5 kB / 0.5151 GB, free: 12.57 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01265/0.5954, allocations: 3.382 MB / 0.5184 GB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.5954, allocations: 11.44 kB / 0.5184 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.6073, allocations: 3.159 MB / 0.5215 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006349/0.6137, allocations: 1.886 MB / 0.5234 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.614, allocations: 188.9 kB / 0.5235 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/0.6165, allocations: 250.8 kB / 0.5238 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.638, allocations: 10.17 MB / 0.5337 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.132e-05/0.6382, allocations: 24.94 kB / 0.5337 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004054/0.6386, allocations: 116.4 kB / 0.5338 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003922/0.6425, allocations: 2.466 MB / 0.5363 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/0.661, allocations: 9.323 MB / 0.5454 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/0.7124, allocations: 31.67 MB / 0.5763 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006945/0.7194, allocations: 3.338 MB / 0.5795 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.7213, allocations: 1.069 MB / 0.5806 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.7227, allocations: 1.314 MB / 0.5819 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.7227, allocations: 44.56 kB / 0.5819 GB, free: 14.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 6.122e-06/0.7228, allocations: 1.531 kB / 0.5819 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.0238/0.7466, allocations: 9.083 MB / 0.5908 GB, free: 5.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.7467, allocations: 64.72 kB / 0.5909 GB, free: 5.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.7522, allocations: 2.587 MB / 0.5934 GB, free: 3.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.7524, allocations: 49.7 kB / 0.5934 GB, free: 3.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.7548, allocations: 2.675 MB / 0.596 GB, free: 392 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009835/0.7558, allocations: 0.7047 MB / 0.5967 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.756, allocations: 99.91 kB / 0.5968 GB, free: 15.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004103/0.7564, allocations: 0.5128 MB / 0.5973 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/0.7592, allocations: 1.532 MB / 0.5988 GB, free: 13.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/0.7637, allocations: 4.359 MB / 0.6031 GB, free: 7.812 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003787/0.7675, allocations: 2.605 MB / 0.6056 GB, free: 5.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.092e-05/0.7676, allocations: 29.97 kB / 0.6056 GB, free: 5.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.00948/0.7771, allocations: 5.818 MB / 0.6113 GB, free: 36 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.7772, allocations: 48.05 kB / 0.6114 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.7773, allocations: 100 kB / 0.6115 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.7777, allocations: 185.5 kB / 0.6116 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/0.7809, allocations: 1.074 MB / 0.6127 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.7825, allocations: 1.673 MB / 0.6143 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/0.7858, allocations: 215.6 kB / 0.6145 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006193/0.7864, allocations: 292 kB / 0.6148 GB, free: 12.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00445/0.7909, allocations: 1.992 MB / 0.6168 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.7914, allocations: 256.6 kB / 0.617 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.7957, allocations: 2.522 MB / 0.6195 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/0.7958, allocations: 27.94 kB / 0.6195 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7958, allocations: 0 / 0.6195 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.7958, allocations: 4.234 kB / 0.6195 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.8091, allocations: 7.938 MB / 0.6272 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.8092, allocations: 10.61 kB / 0.6273 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009538/0.8101, allocations: 251.6 kB / 0.6275 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/0.8103, allocations: 64.77 kB / 0.6276 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.8104, allocations: 43.89 kB / 0.6276 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.8117, allocations: 1.503 MB / 0.6291 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.8118, allocations: 19.88 kB / 0.6291 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/0.817, allocations: 3.993 MB / 0.633 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009979/0.818, allocations: 297.9 kB / 0.6333 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.8183, allocations: 39.98 kB / 0.6333 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/0.8191, allocations: 59.62 kB / 0.6334 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.8193, allocations: 124.7 kB / 0.6335 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.8194, allocations: 63.98 kB / 0.6335 GB, free: 8.816 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002996/0.8224, allocations: 1.568 MB / 0.6351 GB, free: 7.238 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8224, allocations: 4 kB / 0.6351 GB, free: 7.234 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005176/0.8276, allocations: 0.7999 MB / 0.6359 GB, free: 6.438 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (139): * Single equations (assignments): 132 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/0.8281, allocations: 180 kB / 0.636 GB, free: 6.254 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006417/0.8345, allocations: 3.826 MB / 0.6398 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.8346, allocations: 0 / 0.6398 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.8363, allocations: 1.231 MB / 0.641 GB, free: 1.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.8384, allocations: 335.7 kB / 0.6413 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/0.857, allocations: 10.63 MB / 0.6517 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/0.8605, allocations: 3.14 MB / 0.6547 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009022/0.8615, allocations: 223.4 kB / 0.655 GB, free: 2.711 MB / 494.1 MB Notification: Performance of SimCode: time 1.402e-06/0.8615, allocations: 0 / 0.655 GB, free: 2.711 MB / 494.1 MB Notification: Performance of Templates: time 0.4169/1.278, allocations: 64.39 MB / 0.7178 GB, free: 157.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.PrismaticCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticCalcHelperMain.o] Error 1