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.000955/0.0009554, allocations: 95.08 kB / 18 MB, free: 5.602 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.001258/0.001259, allocations: 181.6 kB / 18.91 MB, free: 4.738 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.514/1.514, allocations: 223.3 MB / 242.9 MB, free: 180 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.2495/0.2495, allocations: 44.24 MB / 338.3 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 15.94 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02807/0.1668, allocations: 28.76 MB / 0.4899 GB, free: 472 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.1838, allocations: 6.699 MB / 0.4964 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006301/0.1902, allocations: 119.7 kB / 0.4966 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1915, allocations: 430.1 kB / 0.497 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.1962, allocations: 1.661 MB / 0.4986 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1972, allocations: 383.4 kB / 0.499 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006285/0.2035, allocations: 4.994 MB / 0.5038 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3532/0.5567, allocations: 2.419 MB / 0.5062 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.5604, allocations: 0.959 MB / 0.5071 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004447/0.5649, allocations: 1.728 MB / 0.5088 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.5663, allocations: 137.9 kB / 0.509 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.5696, allocations: 0.7745 MB / 0.5097 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003505/0.5731, allocations: 1.503 MB / 0.5112 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004394/0.5776, allocations: 1.802 MB / 0.5129 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008131/0.5857, allocations: 4.635 MB / 0.5175 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.5858, allocations: 0.625 kB / 0.5175 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.5858, allocations: 1 kB / 0.5175 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.586, allocations: 0 / 0.5175 GB, free: 10.44 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.009156/0.5952, allocations: 3.334 MB / 0.5207 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.5953, allocations: 9.719 kB / 0.5207 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.6073, allocations: 3.162 MB / 0.5238 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006302/0.6136, allocations: 1.91 MB / 0.5257 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.614, allocations: 188.2 kB / 0.5259 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.6152, allocations: 248.2 kB / 0.5261 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02099/0.6362, allocations: 10.2 MB / 0.5361 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.6363, allocations: 24.75 kB / 0.5361 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004054/0.6367, allocations: 117.1 kB / 0.5362 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003981/0.6407, allocations: 2.47 MB / 0.5386 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/0.6629, allocations: 9.361 MB / 0.5477 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06216/0.7251, allocations: 31.7 MB / 0.5787 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006941/0.7321, allocations: 3.345 MB / 0.582 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.7344, allocations: 1.075 MB / 0.583 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.736, allocations: 1.301 MB / 0.5843 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.7361, allocations: 51.88 kB / 0.5843 GB, free: 5.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 5.43e-06/0.7361, allocations: 4 kB / 0.5843 GB, free: 5.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.0243/0.7604, allocations: 9.108 MB / 0.5932 GB, free: 11.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.7605, allocations: 68.72 kB / 0.5933 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006816/0.7673, allocations: 2.603 MB / 0.5958 GB, free: 9.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.7677, allocations: 53.7 kB / 0.5959 GB, free: 9.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002965/0.7706, allocations: 2.668 MB / 0.5985 GB, free: 6.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.7717, allocations: 0.7001 MB / 0.5992 GB, free: 5.844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.7728, allocations: 443.2 kB / 0.5996 GB, free: 5.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.773, allocations: 309.1 kB / 0.5999 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.7761, allocations: 1.552 MB / 0.6014 GB, free: 3.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/0.7814, allocations: 4.381 MB / 0.6057 GB, free: 13.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008505/0.7899, allocations: 6.568 MB / 0.6121 GB, free: 6.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/0.79, allocations: 28 kB / 0.6121 GB, free: 6.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01171/0.8018, allocations: 5.848 MB / 0.6178 GB, free: 0.957 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.8019, allocations: 51.94 kB / 0.6179 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002209/0.8022, allocations: 106.6 kB / 0.618 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/0.8026, allocations: 173.5 kB / 0.6182 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/0.8063, allocations: 1.075 MB / 0.6192 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.8081, allocations: 1.678 MB / 0.6208 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/0.8119, allocations: 219.8 kB / 0.6211 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008056/0.8128, allocations: 288 kB / 0.6213 GB, free: 13.4 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005409/0.8182, allocations: 1.991 MB / 0.6233 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/0.8188, allocations: 244.8 kB / 0.6235 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.8235, allocations: 2.533 MB / 0.626 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/0.8236, allocations: 23.05 kB / 0.626 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.8236, allocations: 7.922 kB / 0.626 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.8236, allocations: 3.984 kB / 0.626 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.8416, allocations: 7.966 MB / 0.6338 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/0.8417, allocations: 8.938 kB / 0.6338 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.8428, allocations: 247.6 kB / 0.634 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.843, allocations: 60.83 kB / 0.6341 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.8431, allocations: 43.98 kB / 0.6341 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.8446, allocations: 1.506 MB / 0.6356 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/0.8446, allocations: 15.94 kB / 0.6356 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005855/0.8505, allocations: 4.02 MB / 0.6396 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.8515, allocations: 309.7 kB / 0.6398 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006816/0.8522, allocations: 35.98 kB / 0.6399 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8535, allocations: 55.16 kB / 0.6399 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.8537, allocations: 120.7 kB / 0.6401 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.8539, allocations: 63.98 kB / 0.6401 GB, free: 9.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003895/0.8578, allocations: 1.6 MB / 0.6417 GB, free: 8.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8578, allocations: 3.938 kB / 0.6417 GB, free: 8.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005664/0.8635, allocations: 0.808 MB / 0.6425 GB, free: 7.258 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006725/0.8642, allocations: 178.2 kB / 0.6426 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007545/0.8717, allocations: 3.838 MB / 0.6464 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.8718, allocations: 4 kB / 0.6464 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.8736, allocations: 1.234 MB / 0.6476 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004878/0.8785, allocations: 347.2 kB / 0.6479 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.8981, allocations: 11.02 MB / 0.6587 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003662/0.9018, allocations: 3.138 MB / 0.6617 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009318/0.9028, allocations: 227.4 kB / 0.662 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.9028, allocations: 0 / 0.662 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.4339/1.337, allocations: 64.21 MB / 0.7247 GB, free: 201.7 MB / 0.545 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++ -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_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