Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_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.001063/0.001064, allocations: 90.03 kB / 16.67 MB, free: 6.594 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.0013/0.0013, allocations: 180.4 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2704/0.2704, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005971/0.0005972, allocations: 18.22 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1655, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.04888/0.2144, allocations: 46.95 MB / 491 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0322/0.2467, allocations: 10.65 MB / 0.4899 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01342/0.2602, allocations: 207.5 kB / 0.4901 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.2629, allocations: 0.5052 MB / 0.4906 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.2704, allocations: 2.075 MB / 0.4927 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.274, allocations: 1.08 MB / 0.4937 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.2857, allocations: 8.037 MB / 0.5016 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0118/0.2975, allocations: 7.064 MB / 0.5085 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/0.3018, allocations: 1.587 MB / 0.51 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005277/0.3071, allocations: 2.694 MB / 0.5126 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.3081, allocations: 208 kB / 0.5128 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.3119, allocations: 1.439 MB / 0.5142 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003517/0.3154, allocations: 2.337 MB / 0.5165 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004187/0.3196, allocations: 2.633 MB / 0.5191 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.3307, allocations: 7.723 MB / 0.5266 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3308, allocations: 0 / 0.5266 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.538e-06/0.3308, allocations: 0 / 0.5266 GB, free: 5.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006472/0.3314, allocations: 0 / 0.5266 GB, free: 5.57 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.01771/0.3491, allocations: 5.388 MB / 0.5319 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.3492, allocations: 8.031 kB / 0.5319 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3569/0.7061, allocations: 2.778 MB / 0.5346 GB, free: 88.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.7172, allocations: 3.724 MB / 0.5383 GB, free: 87.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005477/0.7178, allocations: 350.7 kB / 0.5386 GB, free: 87.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/0.7201, allocations: 432.8 kB / 0.539 GB, free: 87.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/0.7519, allocations: 13.89 MB / 0.5526 GB, free: 80.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/0.7521, allocations: 53.09 kB / 0.5526 GB, free: 80.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006798/0.7528, allocations: 203.1 kB / 0.5528 GB, free: 80.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003515/0.7564, allocations: 2.406 MB / 0.5552 GB, free: 78.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/0.7796, allocations: 11.8 MB / 0.5667 GB, free: 66.27 MB / 414.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.07631/0.856, allocations: 51.81 MB / 0.6173 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/0.8683, allocations: 4.748 MB / 0.6219 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/0.8723, allocations: 2.961 MB / 0.6248 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02455/0.8969, allocations: 12.87 MB / 0.6374 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.989e-05/0.897, allocations: 59.81 kB / 0.6374 GB, free: 8.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=197): time 7.735e-06/0.897, allocations: 0 / 0.6374 GB, free: 8.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1725/1.07, allocations: 43.35 MB / 0.6798 GB, free: 12.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/1.07, allocations: 239.6 kB / 0.68 GB, free: 12.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/1.081, allocations: 4.794 MB / 0.6847 GB, free: 7.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009303/1.082, allocations: 61.7 kB / 0.6847 GB, free: 7.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004071/1.086, allocations: 3.837 MB / 0.6885 GB, free: 3.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.088, allocations: 0.9409 MB / 0.6894 GB, free: 2.469 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/1.089, allocations: 0.6354 MB / 0.69 GB, free: 1.828 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/1.09, allocations: 305.1 kB / 0.6903 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006522/1.096, allocations: 3.442 MB / 0.6937 GB, free: 14.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/1.106, allocations: 7.703 MB / 0.7012 GB, free: 4.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01745/1.124, allocations: 11.88 MB / 0.7128 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001506/1.124, allocations: 40 kB / 0.7128 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.4215/1.546, allocations: 14.48 MB / 0.727 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/1.546, allocations: 72.53 kB / 0.727 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000374/1.546, allocations: 148.7 kB / 0.7272 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01449/1.561, allocations: 4.017 MB / 0.7311 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007219/1.568, allocations: 1.632 MB / 0.7327 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02578/1.594, allocations: 18.68 MB / 0.7509 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007169/1.601, allocations: 469.8 kB / 0.7514 GB, free: 152.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.602, allocations: 429.9 kB / 0.7518 GB, free: 152.1 MB / 0.4981 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 (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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005417/1.608, allocations: 2.668 MB / 0.7544 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.609, allocations: 428.2 kB / 0.7548 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/1.627, allocations: 8.638 MB / 0.7632 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.134e-05/1.627, allocations: 31.98 kB / 0.7633 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/1.627, allocations: 15.31 kB / 0.7633 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.296e-05/1.627, allocations: 7.969 kB / 0.7633 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0321/1.659, allocations: 17.92 MB / 0.7808 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/1.659, allocations: 0 / 0.7808 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.662, allocations: 399.3 kB / 0.7812 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/1.673, allocations: 4.079 MB / 0.7852 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005736/1.674, allocations: 40.62 kB / 0.7852 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/1.695, allocations: 17.11 MB / 0.8019 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.695, allocations: 0 / 0.8019 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/1.718, allocations: 13.24 MB / 0.8148 GB, free: 90.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002806/1.721, allocations: 0.9678 MB / 0.8158 GB, free: 89.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000719/1.722, allocations: 36 kB / 0.8158 GB, free: 89.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.724, allocations: 216.8 kB / 0.816 GB, free: 88.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006994/1.725, allocations: 161.8 kB / 0.8162 GB, free: 88.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.725, allocations: 60 kB / 0.8162 GB, free: 88.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004315/1.729, allocations: 2.997 MB / 0.8192 GB, free: 85.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.729, allocations: 0 / 0.8192 GB, free: 85.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007096/1.736, allocations: 1.491 MB / 0.8206 GB, free: 84.11 MB / 0.4981 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 (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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006917/1.737, allocations: 229.2 kB / 0.8208 GB, free: 83.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.749, allocations: 8.255 MB / 0.8289 GB, free: 75.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.749, allocations: 0 / 0.8289 GB, free: 75.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003647/1.752, allocations: 3.117 MB / 0.8319 GB, free: 72.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/1.756, allocations: 0.4978 MB / 0.8324 GB, free: 72.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/1.779, allocations: 16.27 MB / 0.8483 GB, free: 55.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004825/1.784, allocations: 4.087 MB / 0.8523 GB, free: 51.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.786, allocations: 335.4 kB / 0.8526 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.934e-06/1.786, allocations: 0 / 0.8526 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.4703/2.256, allocations: 100.1 MB / 0.9504 GB, free: 151 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.o] Error 1