Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.00096, allocations: 95.89 kB / 16.33 MB, free: 5.938 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.001085/0.001086, allocations: 181.5 kB / 17.22 MB, free: 5.863 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.627/1.627, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.2137/0.2137, allocations: 43.55 MB / 315.2 MB, free: 0.6172 MB / 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.0005158/0.0005158, allocations: 12.34 kB / 384.5 MB, free: 57.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.86 MB / 443.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.05445/0.1768, allocations: 57.96 MB / 0.4896 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03321/0.2101, allocations: 12.2 MB / 0.5015 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01364/0.2238, allocations: 275.3 kB / 0.5018 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.2343, allocations: 2.885 MB / 0.5046 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02695/0.2613, allocations: 8.645 MB / 0.5131 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.2663, allocations: 0.905 MB / 0.5139 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.343/0.6093, allocations: 22.04 MB / 0.5355 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00879/0.6181, allocations: 5.022 MB / 0.5404 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.6228, allocations: 1.902 MB / 0.5422 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005865/0.6287, allocations: 3.133 MB / 0.5453 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001389/0.6301, allocations: 223.3 kB / 0.5455 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.6333, allocations: 0.9774 MB / 0.5465 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00297/0.6363, allocations: 2.596 MB / 0.549 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.6396, allocations: 1.192 MB / 0.5502 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.6513, allocations: 7.711 MB / 0.5577 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.6514, allocations: 0 / 0.5577 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.6514, allocations: 1.859 kB / 0.5577 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004065/0.6518, allocations: 6.031 kB / 0.5577 GB, free: 208 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.01609/0.6679, allocations: 6.103 MB / 0.5636 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6679, allocations: 11.12 kB / 0.5637 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.6826, allocations: 3.95 MB / 0.5675 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009482/0.6921, allocations: 4.186 MB / 0.5716 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.6924, allocations: 325 kB / 0.5719 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.6943, allocations: 434.8 kB / 0.5723 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02986/0.7242, allocations: 15.81 MB / 0.5878 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001786/0.7244, allocations: 59.7 kB / 0.5878 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005732/0.725, allocations: 203.7 kB / 0.588 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005966/0.7309, allocations: 3.47 MB / 0.5914 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03176/0.7627, allocations: 14.89 MB / 0.606 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09696/0.8597, allocations: 56.04 MB / 0.6607 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/0.8778, allocations: 8.191 MB / 0.6687 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007173/0.8851, allocations: 4.822 MB / 0.6734 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.8873, allocations: 2.209 MB / 0.6755 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.8873, allocations: 65.08 kB / 0.6756 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 8.055e-06/0.8874, allocations: 2.625 kB / 0.6756 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.4059/1.293, allocations: 40.19 MB / 0.7149 GB, free: 197 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/1.293, allocations: 123.8 kB / 0.715 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00764/1.301, allocations: 4.339 MB / 0.7192 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/1.302, allocations: 82.11 kB / 0.7193 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002996/1.305, allocations: 3.869 MB / 0.7231 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.307, allocations: 1.492 MB / 0.7245 GB, free: 194 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004233/1.307, allocations: 162.9 kB / 0.7247 GB, free: 194 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003804/1.308, allocations: 0.6463 MB / 0.7253 GB, free: 193.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006106/1.314, allocations: 4.057 MB / 0.7293 GB, free: 192.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007714/1.322, allocations: 7.876 MB / 0.737 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007234/1.329, allocations: 5.617 MB / 0.7424 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.326e-05/1.329, allocations: 36.81 kB / 0.7425 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02589/1.355, allocations: 14.74 MB / 0.7569 GB, free: 179 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/1.355, allocations: 58.94 kB / 0.7569 GB, free: 179 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.355, allocations: 129.7 kB / 0.7571 GB, free: 179 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006755/1.362, allocations: 2.957 MB / 0.7599 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006477/1.368, allocations: 1.825 MB / 0.7617 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/1.385, allocations: 14.8 MB / 0.7762 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007364/1.393, allocations: 0.5006 MB / 0.7767 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.394, allocations: 432.9 kB / 0.7771 GB, free: 162.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (951): * Single equations (assignments): 943 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005279/1.399, allocations: 2.926 MB / 0.7799 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009312/1.4, allocations: 458.1 kB / 0.7804 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/1.417, allocations: 10.92 MB / 0.791 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-05/1.417, allocations: 56.94 kB / 0.7911 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/1.417, allocations: 16.56 kB / 0.7911 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/1.417, allocations: 19.92 kB / 0.7911 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/1.45, allocations: 21.75 MB / 0.8124 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.45, allocations: 15.95 kB / 0.8124 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/1.453, allocations: 0.6786 MB / 0.8131 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006292/1.459, allocations: 2.737 MB / 0.8157 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005076/1.46, allocations: 85.23 kB / 0.8158 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/1.474, allocations: 13.56 MB / 0.8291 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.474, allocations: 15.94 kB / 0.8291 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/1.494, allocations: 15.53 MB / 0.8442 GB, free: 92.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/1.497, allocations: 1.178 MB / 0.8454 GB, free: 91.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006172/1.497, allocations: 76 kB / 0.8455 GB, free: 91.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.499, allocations: 321.6 kB / 0.8458 GB, free: 91.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/1.5, allocations: 266 kB / 0.846 GB, free: 90.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/1.5, allocations: 112 kB / 0.8461 GB, free: 90.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003447/1.504, allocations: 2.698 MB / 0.8488 GB, free: 87.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.504, allocations: 6.297 kB / 0.8488 GB, free: 87.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006156/1.51, allocations: 1.69 MB / 0.8504 GB, free: 86.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005584/1.51, allocations: 233.9 kB / 0.8506 GB, free: 86.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.523, allocations: 10.04 MB / 0.8604 GB, free: 75.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.523, allocations: 0 / 0.8604 GB, free: 75.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005566/1.529, allocations: 4.367 MB / 0.8647 GB, free: 71.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/1.533, allocations: 0.681 MB / 0.8654 GB, free: 70.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/1.561, allocations: 19.2 MB / 0.8841 GB, free: 51.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004929/1.566, allocations: 4.601 MB / 0.8886 GB, free: 46.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/1.569, allocations: 399.3 kB / 0.889 GB, free: 46.48 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.569, allocations: 0 / 0.889 GB, free: 46.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.449/2.018, allocations: 142.6 MB / 1.028 GB, free: 100.3 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.o] Error 1