Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 89.2 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.001501/0.001501, allocations: 180.4 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.548/1.548, allocations: 223.2 MB / 242.5 MB, free: 200 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.2737/0.2737, allocations: 44.22 MB / 337.9 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 12.53 kB / 410.3 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 61.91 MB / 472.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.04588/0.1939, allocations: 43.66 MB / 0.5037 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4172/0.6113, allocations: 10.11 MB / 0.5136 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/0.6242, allocations: 207.7 kB / 0.5138 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009774/0.6341, allocations: 2.237 MB / 0.516 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03318/0.6673, allocations: 6.802 MB / 0.5226 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00543/0.6727, allocations: 0.9736 MB / 0.5236 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04428/0.717, allocations: 34.08 MB / 0.5569 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.7277, allocations: 6.287 MB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.7324, allocations: 1.697 MB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004623/0.737, allocations: 2.669 MB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008106/0.7379, allocations: 200 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.7408, allocations: 1.217 MB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.7431, allocations: 2.276 MB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.7446, allocations: 1.092 MB / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009229/0.7539, allocations: 7.708 MB / 0.5795 GB, free: 3.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7539, allocations: 0 / 0.5795 GB, free: 3.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7539, allocations: 0 / 0.5795 GB, free: 3.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000325/0.7542, allocations: 1.422 kB / 0.5795 GB, free: 3.406 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01399/0.7682, allocations: 5.453 MB / 0.5848 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7683, allocations: 8.031 kB / 0.5848 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.7839, allocations: 2.777 MB / 0.5875 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008707/0.7927, allocations: 3.573 MB / 0.591 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.7931, allocations: 350 kB / 0.5913 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/0.7948, allocations: 430.5 kB / 0.5918 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0281/0.8229, allocations: 13.86 MB / 0.6053 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.8231, allocations: 47.53 kB / 0.6053 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005802/0.8237, allocations: 202.6 kB / 0.6055 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003557/0.8273, allocations: 2.409 MB / 0.6079 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02863/0.8559, allocations: 11.74 MB / 0.6193 GB, free: 10.84 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08674/0.9427, allocations: 51.76 MB / 0.6699 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/0.9561, allocations: 4.745 MB / 0.6745 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004881/0.961, allocations: 2.943 MB / 0.6774 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02197/0.983, allocations: 12.86 MB / 0.69 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.9831, allocations: 55.81 kB / 0.69 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.118e-06/0.9831, allocations: 1.531 kB / 0.69 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.4535/1.437, allocations: 43.29 MB / 0.7323 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.437, allocations: 236.2 kB / 0.7325 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007468/1.444, allocations: 4.746 MB / 0.7371 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000705/1.445, allocations: 64.77 kB / 0.7372 GB, free: 180 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00244/1.447, allocations: 3.834 MB / 0.741 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/1.449, allocations: 0.9381 MB / 0.7419 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003807/1.449, allocations: 146.7 kB / 0.742 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003641/1.45, allocations: 0.6178 MB / 0.7426 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004508/1.454, allocations: 3.42 MB / 0.746 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006162/1.46, allocations: 7.677 MB / 0.7535 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006226/1.466, allocations: 4.949 MB / 0.7583 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.252e-05/1.467, allocations: 44 kB / 0.7583 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02612/1.493, allocations: 14.41 MB / 0.7724 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.701e-05/1.493, allocations: 73.91 kB / 0.7725 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.493, allocations: 154 kB / 0.7726 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/1.504, allocations: 4.04 MB / 0.7766 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/1.509, allocations: 1.634 MB / 0.7782 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02349/1.533, allocations: 18.67 MB / 0.7964 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007483/1.54, allocations: 464.2 kB / 0.7968 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/1.542, allocations: 441.8 kB / 0.7973 GB, free: 118.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (884): * Single equations (assignments): 880 * Array equations: 3 * 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%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006358/1.548, allocations: 2.649 MB / 0.7998 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.549, allocations: 430.5 kB / 0.8002 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.565, allocations: 8.623 MB / 0.8087 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/1.566, allocations: 28 kB / 0.8087 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/1.566, allocations: 15.95 kB / 0.8087 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/1.566, allocations: 11.95 kB / 0.8087 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03279/1.598, allocations: 17.89 MB / 0.8262 GB, free: 88.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/1.598, allocations: 0 / 0.8262 GB, free: 88.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.601, allocations: 407.3 kB / 0.8266 GB, free: 88.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01062/1.611, allocations: 4.073 MB / 0.8306 GB, free: 84.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006818/1.612, allocations: 40.62 kB / 0.8306 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/1.633, allocations: 17.1 MB / 0.8473 GB, free: 67.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.633, allocations: 4 kB / 0.8473 GB, free: 67.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/1.656, allocations: 13.2 MB / 0.8602 GB, free: 53.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/1.658, allocations: 471.4 kB / 0.8606 GB, free: 53.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007827/1.659, allocations: 37.64 kB / 0.8607 GB, free: 53.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.661, allocations: 215.7 kB / 0.8609 GB, free: 53.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006997/1.662, allocations: 154.2 kB / 0.861 GB, free: 52.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.662, allocations: 65.48 kB / 0.8611 GB, free: 52.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00638/1.668, allocations: 2.954 MB / 0.864 GB, free: 49.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.12e-07/1.668, allocations: 0 / 0.864 GB, free: 49.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009716/1.678, allocations: 1.5 MB / 0.8654 GB, free: 48.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009264/1.679, allocations: 200.6 kB / 0.8656 GB, free: 48.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.692, allocations: 8.217 MB / 0.8737 GB, free: 40.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.693, allocations: 3.938 kB / 0.8737 GB, free: 40.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004453/1.697, allocations: 3.108 MB / 0.8767 GB, free: 36.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00578/1.703, allocations: 0.5045 MB / 0.8772 GB, free: 36.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03294/1.736, allocations: 15.65 MB / 0.8925 GB, free: 20.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007519/1.743, allocations: 4.079 MB / 0.8965 GB, free: 16.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.745, allocations: 331.4 kB / 0.8968 GB, free: 16.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.753e-06/1.745, allocations: 4 kB / 0.8968 GB, free: 16.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.4718/2.217, allocations: 100.4 MB / 0.9948 GB, free: 101.1 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.o] Error 1