Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001337, allocations: 88.95 kB / 17.63 MB, free: 6.156 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.001903/0.001903, allocations: 178.8 kB / 18.52 MB, free: 5.32 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.604/1.604, allocations: 223.2 MB / 242.5 MB, free: 316 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.2436/0.2436, allocations: 44.22 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003794, allocations: 10.03 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03503/0.1955, allocations: 34.3 MB / 0.4946 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02184/0.2174, allocations: 7.772 MB / 0.5022 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008777/0.2262, allocations: 151.6 kB / 0.5024 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007205/0.2335, allocations: 1.676 MB / 0.504 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3309/0.5644, allocations: 5.009 MB / 0.5089 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.5678, allocations: 474.2 kB / 0.5093 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01058/0.5783, allocations: 4.194 MB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006017/0.5844, allocations: 3.027 MB / 0.5164 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.5875, allocations: 1.13 MB / 0.5175 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003982/0.5915, allocations: 1.844 MB / 0.5193 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008519/0.5923, allocations: 147.5 kB / 0.5194 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.5951, allocations: 0.782 MB / 0.5202 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.5976, allocations: 1.587 MB / 0.5217 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.5992, allocations: 0.8143 MB / 0.5225 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007123/0.6063, allocations: 5.288 MB / 0.5277 GB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.6063, allocations: 0 / 0.5277 GB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6063, allocations: 1.531 kB / 0.5277 GB, free: 8.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002657/0.6066, allocations: 2.75 kB / 0.5277 GB, free: 8.477 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.009021/0.6156, allocations: 3.779 MB / 0.5314 GB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.6157, allocations: 14.09 kB / 0.5314 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/0.6256, allocations: 3.204 MB / 0.5345 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/0.6313, allocations: 2.092 MB / 0.5366 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.6315, allocations: 220 kB / 0.5368 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.6327, allocations: 290.8 kB / 0.5371 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/0.6526, allocations: 11.09 MB / 0.5479 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.6528, allocations: 34.66 kB / 0.5479 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004192/0.6532, allocations: 134.7 kB / 0.5481 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004179/0.6574, allocations: 2.62 MB / 0.5506 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/0.6791, allocations: 10.35 MB / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0614/0.7405, allocations: 36.69 MB / 0.5966 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00963/0.7502, allocations: 4.561 MB / 0.601 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.754, allocations: 2.396 MB / 0.6033 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00175/0.7558, allocations: 1.318 MB / 0.6046 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.482e-05/0.7559, allocations: 54.31 kB / 0.6047 GB, free: 6.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 8.576e-06/0.7559, allocations: 4 kB / 0.6047 GB, free: 6.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.048/0.8039, allocations: 17.52 MB / 0.6218 GB, free: 5.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.8041, allocations: 77.41 kB / 0.6219 GB, free: 5.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007438/0.8115, allocations: 2.719 MB / 0.6245 GB, free: 2.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005678/0.8121, allocations: 57.7 kB / 0.6246 GB, free: 2.355 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003126/0.8153, allocations: 2.785 MB / 0.6273 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001783/0.8171, allocations: 0.9146 MB / 0.6282 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007281/0.8178, allocations: 106 kB / 0.6283 GB, free: 14.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007/0.8185, allocations: 0.5336 MB / 0.6288 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/0.8229, allocations: 2.294 MB / 0.6311 GB, free: 11.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006479/0.8294, allocations: 5.204 MB / 0.6361 GB, free: 5.113 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/0.8349, allocations: 3.454 MB / 0.6395 GB, free: 1.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.504e-05/0.835, allocations: 28 kB / 0.6395 GB, free: 1.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01558/0.8506, allocations: 8.254 MB / 0.6476 GB, free: 9.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.8508, allocations: 50.34 kB / 0.6476 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.851, allocations: 100 kB / 0.6477 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.8536, allocations: 0.945 MB / 0.6487 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/0.8584, allocations: 1.228 MB / 0.6499 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00715/0.8655, allocations: 4.797 MB / 0.6546 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/0.8702, allocations: 299.8 kB / 0.6548 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/0.8714, allocations: 315.3 kB / 0.6551 GB, free: 1.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.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 (657): * Single equations (assignments): 650 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006017/0.8775, allocations: 2.15 MB / 0.6572 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/0.8785, allocations: 276.4 kB / 0.6575 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.8891, allocations: 5.112 MB / 0.6625 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.706e-05/0.8892, allocations: 40 kB / 0.6625 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/0.8892, allocations: 11.98 kB / 0.6625 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.8893, allocations: 7.969 kB / 0.6626 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02557/0.9148, allocations: 11.88 MB / 0.6742 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/0.9149, allocations: 8 kB / 0.6742 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/0.9168, allocations: 399.3 kB / 0.6745 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/0.9191, allocations: 0.7771 MB / 0.6753 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/0.9195, allocations: 59.98 kB / 0.6754 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/0.9254, allocations: 4.082 MB / 0.6793 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.9254, allocations: 15.94 kB / 0.6794 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.9387, allocations: 7.591 MB / 0.6868 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.9399, allocations: 333.5 kB / 0.6871 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008569/0.9408, allocations: 51.92 kB / 0.6871 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.9425, allocations: 143.8 kB / 0.6873 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/0.943, allocations: 156.9 kB / 0.6874 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000224/0.9432, allocations: 75.28 kB / 0.6875 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0042/0.9475, allocations: 1.657 MB / 0.6891 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9475, allocations: 4 kB / 0.6891 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006237/0.9537, allocations: 0.9844 MB / 0.6901 GB, free: 13.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008075/0.9545, allocations: 188 kB / 0.6903 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01037/0.9649, allocations: 5.592 MB / 0.6957 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/0.965, allocations: 384 / 0.6957 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.9695, allocations: 2.144 MB / 0.6978 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004203/0.9737, allocations: 382.5 kB / 0.6982 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3215/1.295, allocations: 12.55 MB / 0.7104 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004802/1.3, allocations: 3.373 MB / 0.7137 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.302, allocations: 260.6 kB / 0.714 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.233e-06/1.302, allocations: 0 / 0.714 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1213/1.423, allocations: 74.69 MB / 0.7869 GB, free: 128.4 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.CylindricalCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CylindricalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CylindricalCalcHelperMain.o] Error 1