Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009298/0.0009303, allocations: 96.72 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 202.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2566/0.2566, allocations: 45.91 MB / 344.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004481, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 63.47 MB / 482.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.04013/0.2097, allocations: 37.2 MB / 0.5071 GB, free: 128 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4067/0.6165, allocations: 8.666 MB / 0.5156 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01024/0.6268, allocations: 171.9 kB / 0.5158 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009892/0.6367, allocations: 1.924 MB / 0.5177 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02216/0.6589, allocations: 5.802 MB / 0.5233 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.6626, allocations: 0.5738 MB / 0.5239 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04311/0.7057, allocations: 31.88 MB / 0.555 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006613/0.7124, allocations: 3.608 MB / 0.5585 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.715, allocations: 1.047 MB / 0.5596 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.7175, allocations: 1.622 MB / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004681/0.718, allocations: 124.3 kB / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.72, allocations: 0.8969 MB / 0.5621 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.7219, allocations: 1.42 MB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008231/0.7227, allocations: 0.7236 MB / 0.5642 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.7293, allocations: 4.873 MB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.7293, allocations: 4 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.7293, allocations: 0 / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002024/0.7295, allocations: 0 / 0.569 GB, free: 12.86 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01034/0.7399, allocations: 3.535 MB / 0.5724 GB, free: 9.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7399, allocations: 8.031 kB / 0.5725 GB, free: 9.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008425/0.7484, allocations: 2.084 MB / 0.5745 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/0.7546, allocations: 2.264 MB / 0.5767 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.7548, allocations: 198.6 kB / 0.5769 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008655/0.7557, allocations: 273 kB / 0.5771 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/0.7727, allocations: 8.753 MB / 0.5857 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.7729, allocations: 39.59 kB / 0.5857 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/0.7733, allocations: 130.9 kB / 0.5859 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003092/0.7764, allocations: 1.801 MB / 0.5876 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.7926, allocations: 7.69 MB / 0.5951 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05126/0.8439, allocations: 34.76 MB / 0.6291 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/0.8508, allocations: 3.087 MB / 0.6321 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.8535, allocations: 1.903 MB / 0.6339 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004191/0.8539, allocations: 331.1 kB / 0.6343 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.854, allocations: 55.2 kB / 0.6343 GB, free: 9.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 4.148e-06/0.854, allocations: 0 / 0.6343 GB, free: 9.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.03812/0.8921, allocations: 15.35 MB / 0.6493 GB, free: 9.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.8923, allocations: 175.2 kB / 0.6495 GB, free: 9.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005924/0.8982, allocations: 3.531 MB / 0.6529 GB, free: 6.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004391/0.8987, allocations: 45.7 kB / 0.653 GB, free: 6.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/0.901, allocations: 2.689 MB / 0.6556 GB, free: 3.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.902, allocations: 0.6146 MB / 0.6562 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.9023, allocations: 104 kB / 0.6563 GB, free: 2.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004058/0.9027, allocations: 0.5332 MB / 0.6568 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/0.9062, allocations: 2.111 MB / 0.6589 GB, free: 64 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0065/0.9127, allocations: 5.366 MB / 0.6641 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006199/0.9189, allocations: 3.304 MB / 0.6673 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.447e-05/0.9191, allocations: 32 kB / 0.6674 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.0184/0.9375, allocations: 8.29 MB / 0.6755 GB, free: 13.44 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/0.9376, allocations: 52 kB / 0.6755 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/0.9377, allocations: 116 kB / 0.6756 GB, free: 13.27 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.9407, allocations: 1.234 MB / 0.6768 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/0.9454, allocations: 1.229 MB / 0.678 GB, free: 10.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.9558, allocations: 7.204 MB / 0.6851 GB, free: 3.465 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/0.9605, allocations: 315.4 kB / 0.6854 GB, free: 3.156 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/0.9617, allocations: 328 kB / 0.6857 GB, free: 2.836 MB / 0.5138 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.004683/0.9664, allocations: 1.876 MB / 0.6875 GB, free: 0.9492 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.9674, allocations: 313.4 kB / 0.6878 GB, free: 0.6406 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00732/0.9747, allocations: 3.565 MB / 0.6913 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/0.9748, allocations: 18.73 kB / 0.6913 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.9748, allocations: 4 kB / 0.6913 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/0.9749, allocations: 15.91 kB / 0.6913 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/0.9918, allocations: 8.337 MB / 0.6995 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.9919, allocations: 4 kB / 0.6995 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.993, allocations: 223.7 kB / 0.6997 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.9956, allocations: 1.058 MB / 0.7007 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.9958, allocations: 27.98 kB / 0.7007 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009467/1.005, allocations: 6.723 MB / 0.7073 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.005, allocations: 0 / 0.7073 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009981/1.015, allocations: 6.242 MB / 0.7134 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.017, allocations: 380.8 kB / 0.7138 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/1.017, allocations: 21.09 kB / 0.7138 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.018, allocations: 107.8 kB / 0.7139 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/1.018, allocations: 84.88 kB / 0.714 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.018, allocations: 42.73 kB / 0.714 GB, free: 5.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003765/1.022, allocations: 2.201 MB / 0.7162 GB, free: 3.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.895e-06/1.022, allocations: 0 / 0.7162 GB, free: 3.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004989/1.027, allocations: 0.9101 MB / 0.7171 GB, free: 2.469 MB / 0.545 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.0004297/1.028, allocations: 163.9 kB / 0.7172 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3353/1.363, allocations: 5.062 MB / 0.7222 GB, free: 161 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.363, allocations: 4.438 kB / 0.7222 GB, free: 161 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/1.367, allocations: 1.855 MB / 0.724 GB, free: 160.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.369, allocations: 370.6 kB / 0.7243 GB, free: 160.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.39, allocations: 10.25 MB / 0.7343 GB, free: 157.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/1.393, allocations: 2.922 MB / 0.7372 GB, free: 156.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.395, allocations: 248.4 kB / 0.7374 GB, free: 156.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.395, allocations: 0 / 0.7374 GB, free: 156.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1018/1.496, allocations: 67.77 MB / 0.8036 GB, free: 103.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJointCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJointCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJointCalcHelperMain.o] Error 1