Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007773/0.0007772, allocations: 87.88 kB / 17.63 MB, free: 5.715 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.0008581/0.0008581, allocations: 183.3 kB / 18.52 MB, free: 5.164 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.486/1.486, 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.245/0.245, allocations: 44.23 MB / 337.9 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 16.81 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1668, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.04183/0.2087, allocations: 37.18 MB / 0.4974 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3601/0.5688, allocations: 8.631 MB / 0.5059 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01062/0.5795, allocations: 175.9 kB / 0.506 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008484/0.588, allocations: 1.928 MB / 0.5079 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02176/0.6098, allocations: 5.808 MB / 0.5136 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.6135, allocations: 0.5763 MB / 0.5141 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.044/0.6575, allocations: 31.84 MB / 0.5452 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006231/0.6638, allocations: 3.61 MB / 0.5488 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.6666, allocations: 1.046 MB / 0.5498 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.6698, allocations: 1.613 MB / 0.5514 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005967/0.6704, allocations: 124 kB / 0.5515 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.673, allocations: 0.92 MB / 0.5524 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.6751, allocations: 1.42 MB / 0.5538 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.6761, allocations: 0.7298 MB / 0.5545 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005513/0.6816, allocations: 4.885 MB / 0.5592 GB, free: 2.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.6817, allocations: 3.938 kB / 0.5592 GB, free: 2.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6817, allocations: 0 / 0.5592 GB, free: 2.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001015/0.6818, allocations: 0 / 0.5592 GB, free: 2.496 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.007511/0.6893, allocations: 3.511 MB / 0.5627 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.6894, allocations: 8.031 kB / 0.5627 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007336/0.6967, allocations: 2.076 MB / 0.5647 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005252/0.702, allocations: 2.305 MB / 0.567 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.7022, allocations: 194.9 kB / 0.5671 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006446/0.7028, allocations: 268.5 kB / 0.5674 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.7196, allocations: 8.755 MB / 0.576 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.7198, allocations: 38.53 kB / 0.576 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003787/0.7202, allocations: 123 kB / 0.5761 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003048/0.7232, allocations: 1.804 MB / 0.5779 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.7389, allocations: 7.695 MB / 0.5854 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04734/0.7863, allocations: 34.75 MB / 0.6193 GB, free: 9.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/0.7934, allocations: 3.075 MB / 0.6223 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.796, allocations: 1.909 MB / 0.6242 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.7965, allocations: 334.4 kB / 0.6245 GB, free: 3.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.7965, allocations: 47.22 kB / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.558e-06/0.7965, allocations: 3.938 kB / 0.6246 GB, free: 3.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.03886/0.8354, allocations: 15.36 MB / 0.6396 GB, free: 4.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.8356, allocations: 175.2 kB / 0.6397 GB, free: 4.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005806/0.8414, allocations: 3.532 MB / 0.6432 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003921/0.8418, allocations: 48.36 kB / 0.6432 GB, free: 0.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.8441, allocations: 2.693 MB / 0.6458 GB, free: 13.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/0.845, allocations: 0.6062 MB / 0.6464 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.8453, allocations: 104 kB / 0.6465 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004244/0.8457, allocations: 0.5333 MB / 0.6471 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.8489, allocations: 2.111 MB / 0.6491 GB, free: 10.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005721/0.8546, allocations: 5.364 MB / 0.6544 GB, free: 3.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/0.8594, allocations: 3.309 MB / 0.6576 GB, free: 220 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-05/0.8595, allocations: 32 kB / 0.6576 GB, free: 188 kB / 494.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01596/0.8755, allocations: 8.287 MB / 0.6657 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.8756, allocations: 52 kB / 0.6658 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/0.8758, allocations: 116 kB / 0.6659 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/0.8789, allocations: 1.238 MB / 0.6671 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/0.8837, allocations: 1.224 MB / 0.6683 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.8944, allocations: 7.205 MB / 0.6753 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005735/0.9001, allocations: 315.5 kB / 0.6756 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/0.9014, allocations: 328 kB / 0.6759 GB, free: 13.28 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.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 (655): * Single equations (assignments): 651 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004668/0.9061, allocations: 1.882 MB / 0.6778 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009484/0.907, allocations: 305.8 kB / 0.6781 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/0.9136, allocations: 3.569 MB / 0.6815 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/0.9137, allocations: 16 kB / 0.6816 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.9138, allocations: 8 kB / 0.6816 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.9138, allocations: 7.969 kB / 0.6816 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.9296, allocations: 8.338 MB / 0.6897 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.9297, allocations: 0 / 0.6897 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.9308, allocations: 223.7 kB / 0.6899 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.9334, allocations: 1.058 MB / 0.691 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.9335, allocations: 24 kB / 0.691 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009203/0.9427, allocations: 6.714 MB / 0.6975 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9428, allocations: 288 / 0.6975 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.9529, allocations: 6.271 MB / 0.7037 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.9543, allocations: 365 kB / 0.704 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.9546, allocations: 27.92 kB / 0.704 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.9557, allocations: 103.9 kB / 0.7041 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.956, allocations: 88.77 kB / 0.7042 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.9562, allocations: 40 kB / 0.7043 GB, free: 24 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.3716/1.328, allocations: 2.201 MB / 0.7064 GB, free: 187 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.61e-07/1.328, allocations: 0 / 0.7064 GB, free: 187 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0067/1.335, allocations: 0.9158 MB / 0.7073 GB, free: 187 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005326/1.335, allocations: 150 kB / 0.7075 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.345, allocations: 5.07 MB / 0.7124 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/1.345, allocations: 4.312 kB / 0.7124 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.349, allocations: 1.859 MB / 0.7142 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.352, allocations: 370 kB / 0.7146 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.37, allocations: 10.25 MB / 0.7246 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/1.374, allocations: 2.915 MB / 0.7274 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.375, allocations: 254.1 kB / 0.7277 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/1.375, allocations: 0 / 0.7277 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.09228/1.467, allocations: 67.78 MB / 0.7939 GB, free: 119.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJointCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJointCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJointCalcHelperMain.o] Error 1