Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009923/0.0009923, allocations: 87.53 kB / 17.63 MB, free: 5.719 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.001261/0.001261, allocations: 182.4 kB / 18.52 MB, free: 5.168 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.59/1.59, allocations: 223.3 MB / 242.5 MB, free: 356 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.2412/0.2412, allocations: 44.23 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 10.5 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03025/0.2018, allocations: 26.82 MB / 499 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.2199, allocations: 6.404 MB / 0.4936 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005774/0.2257, allocations: 115.8 kB / 0.4937 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004431/0.2302, allocations: 1.287 MB / 0.4949 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.2423, allocations: 3.985 MB / 0.4988 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.2443, allocations: 419.3 kB / 0.4992 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00591/0.2502, allocations: 3.843 MB / 0.503 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003842/0.2541, allocations: 2.253 MB / 0.5052 GB, free: 448 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3349/0.589, allocations: 1.013 MB / 0.5062 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/0.5932, allocations: 1.67 MB / 0.5078 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008835/0.5941, allocations: 130.8 kB / 0.5079 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.5968, allocations: 0.7646 MB / 0.5087 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.5996, allocations: 1.461 MB / 0.5101 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.6011, allocations: 0.7442 MB / 0.5108 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008068/0.6092, allocations: 4.714 MB / 0.5154 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.6092, allocations: 0.7812 kB / 0.5154 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6092, allocations: 0.9375 kB / 0.5154 GB, free: 12.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002342/0.6095, allocations: 2.656 kB / 0.5154 GB, free: 12.4 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01003/0.6195, allocations: 3.451 MB / 0.5188 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6196, allocations: 10.8 kB / 0.5188 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.6302, allocations: 3.165 MB / 0.5219 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004778/0.635, allocations: 1.861 MB / 0.5237 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.6352, allocations: 190.7 kB / 0.5239 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005991/0.6358, allocations: 249.8 kB / 0.5241 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.6536, allocations: 10.47 MB / 0.5344 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.6538, allocations: 29.47 kB / 0.5344 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003949/0.6542, allocations: 115.4 kB / 0.5345 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003679/0.6579, allocations: 2.553 MB / 0.537 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.6765, allocations: 9.883 MB / 0.5466 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06018/0.7367, allocations: 34.46 MB / 0.5803 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.747, allocations: 5.176 MB / 0.5854 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003802/0.7508, allocations: 2.289 MB / 0.5876 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.7527, allocations: 1.881 MB / 0.5894 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.7528, allocations: 48.56 kB / 0.5895 GB, free: 7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.931e-06/0.7528, allocations: 0 / 0.5895 GB, free: 7 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03961/0.7924, allocations: 13.93 MB / 0.6031 GB, free: 9.047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.7925, allocations: 75.38 kB / 0.6031 GB, free: 8.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006278/0.7988, allocations: 2.613 MB / 0.6057 GB, free: 6.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003899/0.7992, allocations: 61.7 kB / 0.6058 GB, free: 6.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002899/0.8021, allocations: 2.632 MB / 0.6083 GB, free: 3.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.8038, allocations: 0.8529 MB / 0.6092 GB, free: 2.801 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005674/0.8044, allocations: 104 kB / 0.6093 GB, free: 2.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0006276/0.805, allocations: 0.5253 MB / 0.6098 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004516/0.8096, allocations: 2.187 MB / 0.6119 GB, free: 15.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007669/0.8173, allocations: 5.054 MB / 0.6168 GB, free: 9.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006398/0.8237, allocations: 3.313 MB / 0.6201 GB, free: 6.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.8238, allocations: 32 kB / 0.6201 GB, free: 6.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01788/0.8417, allocations: 7.842 MB / 0.6278 GB, free: 15.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.8419, allocations: 48 kB / 0.6278 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/0.8422, allocations: 100 kB / 0.6279 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.8446, allocations: 0.8006 MB / 0.6287 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/0.8492, allocations: 1.194 MB / 0.6299 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006174/0.8553, allocations: 4.193 MB / 0.6339 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004161/0.8595, allocations: 299.8 kB / 0.6342 GB, free: 8.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.8607, allocations: 303.6 kB / 0.6345 GB, free: 8.004 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (635): * Single equations (assignments): 628 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005578/0.8663, allocations: 2.015 MB / 0.6365 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/0.867, allocations: 260.5 kB / 0.6367 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009692/0.8767, allocations: 4.717 MB / 0.6413 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.9e-05/0.8768, allocations: 40 kB / 0.6414 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.8769, allocations: 4 kB / 0.6414 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-05/0.8769, allocations: 11.95 kB / 0.6414 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02344/0.9003, allocations: 10.51 MB / 0.6517 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/0.9004, allocations: 8 kB / 0.6517 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.9022, allocations: 364.3 kB / 0.652 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.9043, allocations: 0.6638 MB / 0.6527 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004196/0.9047, allocations: 43.2 kB / 0.6527 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/0.91, allocations: 3.656 MB / 0.6563 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/0.91, allocations: 11.94 kB / 0.6563 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.9227, allocations: 7.098 MB / 0.6632 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009872/0.9237, allocations: 325.6 kB / 0.6635 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008544/0.9246, allocations: 43.67 kB / 0.6636 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.9263, allocations: 135.8 kB / 0.6637 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004131/0.9267, allocations: 129 kB / 0.6638 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/0.927, allocations: 63.98 kB / 0.6639 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004076/0.9311, allocations: 1.591 MB / 0.6654 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9311, allocations: 0 / 0.6654 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006749/0.9379, allocations: 0.9294 MB / 0.6664 GB, free: 6.996 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008621/0.9388, allocations: 193.1 kB / 0.6665 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01053/0.9493, allocations: 5.324 MB / 0.6717 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/0.9494, allocations: 0 / 0.6717 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.9533, allocations: 2.015 MB / 0.6737 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/0.957, allocations: 352.3 kB / 0.674 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/0.9803, allocations: 11.56 MB / 0.6853 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004243/0.9845, allocations: 3.172 MB / 0.6884 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.986, allocations: 243.4 kB / 0.6887 GB, free: 8 kB / 0.5137 GB Notification: Performance of SimCode: time 3.196e-06/0.986, allocations: 0 / 0.6887 GB, free: 8 kB / 0.5137 GB Notification: Performance of Templates: time 0.3868/1.373, allocations: 69.65 MB / 0.7567 GB, free: 149.7 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.RevoluteCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteCalcHelperMain.o] Error 1