Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 92.47 kB / 16.67 MB, free: 6.105 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.001234/0.001234, allocations: 179.2 kB / 17.58 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2678/0.2678, allocations: 43.6 MB / 315.6 MB, free: 416 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.0008469/0.0008471, allocations: 18.92 kB / 385.2 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.168, allocations: 58.86 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02435/0.1924, allocations: 24.86 MB / 469 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.2101, allocations: 6.327 MB / 475.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005704/0.2158, allocations: 103.8 kB / 475.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.2175, allocations: 418.2 kB / 475.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.224, allocations: 1.658 MB / 477.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.2258, allocations: 0.5147 MB / 478 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007485/0.2333, allocations: 5.42 MB / 483.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.237, allocations: 2.271 MB / 485.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.2389, allocations: 0.9413 MB / 486.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.2415, allocations: 1.693 MB / 488.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005331/0.242, allocations: 124 kB / 488.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.245, allocations: 1.302 MB / 489.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.2468, allocations: 1.527 MB / 491.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.2487, allocations: 1.775 MB / 493 MB, free: 4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005559/0.2543, allocations: 4.708 MB / 497.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2543, allocations: 0 / 497.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2543, allocations: 3.938 kB / 497.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002018/0.2545, allocations: 0 / 497.7 MB, free: 15.28 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.01017/0.2647, allocations: 3.382 MB / 0.4894 GB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.2648, allocations: 8.031 kB / 0.4894 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0197/0.2845, allocations: 5.778 MB / 0.495 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/0.2909, allocations: 2.256 MB / 0.4972 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.2911, allocations: 176.8 kB / 0.4974 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009819/0.2921, allocations: 315.6 kB / 0.4977 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.3123, allocations: 10.74 MB / 0.5082 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.3125, allocations: 27.66 kB / 0.5082 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/0.3129, allocations: 115.8 kB / 0.5083 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004142/0.317, allocations: 2.467 MB / 0.5107 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/0.3391, allocations: 10.17 MB / 0.5206 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4096/0.7488, allocations: 35.68 MB / 0.5555 GB, free: 64.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.7614, allocations: 5.588 MB / 0.561 GB, free: 62.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/0.7648, allocations: 2.334 MB / 0.5632 GB, free: 61.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.7664, allocations: 1.874 MB / 0.5651 GB, free: 59.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.7665, allocations: 55.16 kB / 0.5651 GB, free: 59.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 5.741e-06/0.7665, allocations: 4 kB / 0.5651 GB, free: 59.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.03798/0.8045, allocations: 14.98 MB / 0.5797 GB, free: 51.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001382/0.8059, allocations: 1.519 MB / 0.5812 GB, free: 50.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/0.8118, allocations: 2.81 MB / 0.584 GB, free: 47.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008256/0.8127, allocations: 56.12 kB / 0.584 GB, free: 47.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.815, allocations: 2.677 MB / 0.5866 GB, free: 44.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/0.8165, allocations: 0.8544 MB / 0.5875 GB, free: 43.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.8178, allocations: 484.8 kB / 0.5879 GB, free: 43.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.8179, allocations: 309.1 kB / 0.5882 GB, free: 43.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003943/0.8219, allocations: 2.627 MB / 0.5908 GB, free: 40.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005827/0.8277, allocations: 5.646 MB / 0.5963 GB, free: 33.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009728/0.8375, allocations: 8.942 MB / 0.605 GB, free: 22.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/0.8377, allocations: 28 kB / 0.6051 GB, free: 22.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06524/0.9029, allocations: 19.04 MB / 0.6237 GB, free: 3.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002657/0.9033, allocations: 52.16 kB / 0.6237 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04872/0.952, allocations: 12.02 MB / 0.6355 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05093/1.003, allocations: 10.29 MB / 0.6455 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/1.009, allocations: 1.318 MB / 0.6468 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03323/1.042, allocations: 16.03 MB / 0.6624 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/1.048, allocations: 436.7 kB / 0.6629 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.049, allocations: 320.8 kB / 0.6632 GB, free: 11.11 MB / 462.1 MB 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.006023/1.056, allocations: 2.026 MB / 0.6651 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.057, allocations: 272.4 kB / 0.6654 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.069, allocations: 5.121 MB / 0.6704 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008944/1.078, allocations: 4.398 MB / 0.6747 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/1.078, allocations: 4 kB / 0.6747 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-05/1.078, allocations: 11.91 kB / 0.6747 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.106, allocations: 12.95 MB / 0.6874 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/1.106, allocations: 9.156 kB / 0.6874 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.108, allocations: 459.2 kB / 0.6878 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/1.112, allocations: 0.9425 MB / 0.6887 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/1.112, allocations: 49.62 kB / 0.6888 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008029/1.12, allocations: 5.449 MB / 0.6941 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001386/1.122, allocations: 1.459 MB / 0.6955 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/1.136, allocations: 7.737 MB / 0.7031 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.138, allocations: 337.6 kB / 0.7034 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009852/1.139, allocations: 44.92 kB / 0.7034 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.142, allocations: 196.7 kB / 0.7036 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005479/1.142, allocations: 152.8 kB / 0.7038 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.142, allocations: 62.25 kB / 0.7038 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003452/1.146, allocations: 1.729 MB / 0.7055 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.146, allocations: 0 / 0.7055 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005362/1.151, allocations: 1.107 MB / 0.7066 GB, free: 13.86 MB / 0.4981 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005456/1.152, allocations: 190.6 kB / 0.7068 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.165, allocations: 6.613 MB / 0.7132 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/1.165, allocations: 1.938 kB / 0.7132 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004277/1.169, allocations: 2.535 MB / 0.7157 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/1.174, allocations: 370.6 kB / 0.7161 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3085/1.482, allocations: 12.39 MB / 0.7282 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006889/1.489, allocations: 3.172 MB / 0.7313 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.491, allocations: 258.5 kB / 0.7315 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/1.491, allocations: 1.438 kB / 0.7315 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.1475/1.639, allocations: 111.5 MB / 0.8404 GB, free: 69.13 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.SphericalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalCalcHelperMain.o] Error 1