Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008291/0.000829, allocations: 93.53 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009025/0.0009025, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2637/0.2637, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003555, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 63.46 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.0258/0.194, allocations: 23.17 MB / 0.4934 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.2126, allocations: 6 MB / 0.4993 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00598/0.2187, allocations: 103.8 kB / 0.4994 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004779/0.2235, allocations: 1.089 MB / 0.5005 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.2363, allocations: 3.495 MB / 0.5039 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.2387, allocations: 463.2 kB / 0.5043 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3674/0.6061, allocations: 4.257 MB / 0.5085 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004717/0.6108, allocations: 2.141 MB / 0.5106 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.6137, allocations: 1.013 MB / 0.5116 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.6174, allocations: 1.663 MB / 0.5132 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006894/0.6181, allocations: 124.6 kB / 0.5133 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.6212, allocations: 1.049 MB / 0.5143 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.6236, allocations: 1.476 MB / 0.5158 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.6248, allocations: 0.7299 MB / 0.5165 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007773/0.6326, allocations: 4.691 MB / 0.5211 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6327, allocations: 0 / 0.5211 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6327, allocations: 3.062 kB / 0.5211 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002732/0.633, allocations: 0 / 0.5211 GB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01176/0.6447, allocations: 3.446 MB / 0.5244 GB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6448, allocations: 8.5 kB / 0.5244 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/0.664, allocations: 6.251 MB / 0.5305 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006906/0.671, allocations: 2.129 MB / 0.5326 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.6713, allocations: 181.8 kB / 0.5328 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/0.6736, allocations: 310.3 kB / 0.5331 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/0.6985, allocations: 10.71 MB / 0.5435 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/0.6987, allocations: 26.72 kB / 0.5436 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001453/0.7002, allocations: 113.5 kB / 0.5437 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003845/0.7041, allocations: 2.465 MB / 0.5461 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/0.7277, allocations: 10.14 MB / 0.556 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06856/0.7963, allocations: 35.65 MB / 0.5908 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.8089, allocations: 5.592 MB / 0.5963 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004126/0.813, allocations: 2.328 MB / 0.5985 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/0.8154, allocations: 1.878 MB / 0.6004 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.001e-05/0.8155, allocations: 52.55 kB / 0.6004 GB, free: 10.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 9.457e-06/0.8155, allocations: 0 / 0.6004 GB, free: 10.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.04285/0.8583, allocations: 14.94 MB / 0.615 GB, free: 11.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001568/0.86, allocations: 1.521 MB / 0.6165 GB, free: 9.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006756/0.8667, allocations: 2.782 MB / 0.6192 GB, free: 7.004 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008163/0.8676, allocations: 50.56 kB / 0.6193 GB, free: 6.949 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00281/0.8704, allocations: 2.684 MB / 0.6219 GB, free: 4.277 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/0.8723, allocations: 0.8477 MB / 0.6227 GB, free: 3.438 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.8735, allocations: 108 kB / 0.6228 GB, free: 3.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0007657/0.8743, allocations: 0.5416 MB / 0.6233 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005316/0.8796, allocations: 2.615 MB / 0.6259 GB, free: 164 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/0.89, allocations: 5.614 MB / 0.6314 GB, free: 9.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009615/0.8997, allocations: 3.817 MB / 0.6351 GB, free: 5.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/0.8999, allocations: 35.95 kB / 0.6351 GB, free: 5.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06113/0.9611, allocations: 17.09 MB / 0.6518 GB, free: 4.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.9613, allocations: 55.95 kB / 0.6519 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04054/1.002, allocations: 10.61 MB / 0.6622 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04029/1.042, allocations: 8.668 MB / 0.6707 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/1.048, allocations: 1.31 MB / 0.672 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03211/1.08, allocations: 15.62 MB / 0.6872 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/1.087, allocations: 430.1 kB / 0.6877 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/1.089, allocations: 323.9 kB / 0.688 GB, free: 14.81 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.007668/1.096, allocations: 2.022 MB / 0.6899 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/1.097, allocations: 268.5 kB / 0.6902 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.108, allocations: 5.108 MB / 0.6952 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007831/1.116, allocations: 4.388 MB / 0.6995 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.116, allocations: 8 kB / 0.6995 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/1.116, allocations: 11.95 kB / 0.6995 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03052/1.146, allocations: 12.9 MB / 0.7121 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/1.146, allocations: 8 kB / 0.7121 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.148, allocations: 455.2 kB / 0.7125 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/1.151, allocations: 0.945 MB / 0.7135 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004082/1.152, allocations: 51.97 kB / 0.7135 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3883/1.54, allocations: 5.451 MB / 0.7188 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009616/1.541, allocations: 1.455 MB / 0.7202 GB, free: 193.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/1.556, allocations: 7.719 MB / 0.7278 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.557, allocations: 327.7 kB / 0.7281 GB, free: 192.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/1.558, allocations: 47.11 kB / 0.7281 GB, free: 192.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.559, allocations: 198.1 kB / 0.7283 GB, free: 192.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/1.559, allocations: 141.9 kB / 0.7285 GB, free: 192.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/1.56, allocations: 68.62 kB / 0.7285 GB, free: 192.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003531/1.563, allocations: 1.696 MB / 0.7302 GB, free: 191.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.563, allocations: 3.719 kB / 0.7302 GB, free: 191.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005924/1.569, allocations: 1.108 MB / 0.7313 GB, free: 191.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005147/1.57, allocations: 178.7 kB / 0.7314 GB, free: 191.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.581, allocations: 6.525 MB / 0.7378 GB, free: 189.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.581, allocations: 7.594 kB / 0.7378 GB, free: 189.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003565/1.585, allocations: 2.524 MB / 0.7403 GB, free: 188.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.587, allocations: 375 kB / 0.7406 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.606, allocations: 12.01 MB / 0.7524 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/1.609, allocations: 3.161 MB / 0.7555 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.611, allocations: 258.6 kB / 0.7557 GB, free: 178.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.611, allocations: 0 / 0.7557 GB, free: 178.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1294/1.74, allocations: 111.6 MB / 0.8647 GB, free: 69.73 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.SphericalCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalCalcHelperMain.o] Error 1