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.0007866/0.0007866, allocations: 91.69 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.0007713/0.0007713, allocations: 180.8 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.699/1.699, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.37/0.37, allocations: 43.55 MB / 315.2 MB, free: 9.113 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.0005548/0.0005548, allocations: 12 kB / 384.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 58.87 MB / 443.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2934/0.4339, allocations: 23.17 MB / 466.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.4473, allocations: 5.951 MB / 472.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004811/0.4522, allocations: 103.1 kB / 472.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.4547, allocations: 1.093 MB / 473.7 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008357/0.4631, allocations: 3.502 MB / 477.2 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.4645, allocations: 460.8 kB / 477.7 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00462/0.4692, allocations: 4.16 MB / 481.8 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.4718, allocations: 2.15 MB / 484 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.4733, allocations: 1.017 MB / 485 MB, free: 30.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.4751, allocations: 1.663 MB / 486.7 MB, free: 29.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.4754, allocations: 127.7 kB / 486.8 MB, free: 29.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.4773, allocations: 1.051 MB / 487.9 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.4788, allocations: 1.482 MB / 489.3 MB, free: 29.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007781/0.4796, allocations: 0.7322 MB / 490.1 MB, free: 28.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007918/0.4875, allocations: 4.704 MB / 494.8 MB, free: 27.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.4876, allocations: 0.7969 kB / 494.8 MB, free: 27.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4876, allocations: 0 / 494.8 MB, free: 27.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002749/0.4878, allocations: 0 / 494.8 MB, free: 27.57 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.01065/0.4985, allocations: 3.446 MB / 498.2 MB, free: 25.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4986, allocations: 9.812 kB / 498.2 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/0.5162, allocations: 5.778 MB / 0.4922 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006339/0.5226, allocations: 2.212 MB / 0.4943 GB, free: 21.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.5228, allocations: 181.3 kB / 0.4945 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.5242, allocations: 314 kB / 0.4948 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02129/0.5455, allocations: 10.72 MB / 0.5053 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.883e-05/0.5456, allocations: 23.78 kB / 0.5053 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.5459, allocations: 115.8 kB / 0.5054 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00358/0.5495, allocations: 2.458 MB / 0.5078 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.5686, allocations: 10.14 MB / 0.5177 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06216/0.6308, allocations: 35.68 MB / 0.5526 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.6427, allocations: 5.58 MB / 0.558 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/0.6466, allocations: 2.326 MB / 0.5603 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.6486, allocations: 1.891 MB / 0.5621 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.6486, allocations: 48.56 kB / 0.5622 GB, free: 4.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 7.364e-06/0.6487, allocations: 0 / 0.5622 GB, free: 4.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.03638/0.685, allocations: 14.95 MB / 0.5768 GB, free: 5.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001405/0.6865, allocations: 1.512 MB / 0.5783 GB, free: 4.043 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006645/0.6932, allocations: 2.794 MB / 0.581 GB, free: 1.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005293/0.6937, allocations: 61.69 kB / 0.5811 GB, free: 1.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.6964, allocations: 2.67 MB / 0.5837 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001444/0.6978, allocations: 0.8598 MB / 0.5845 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007473/0.6986, allocations: 108 kB / 0.5846 GB, free: 13.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006243/0.6993, allocations: 0.5455 MB / 0.5851 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004975/0.7042, allocations: 2.611 MB / 0.5877 GB, free: 10.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007115/0.7114, allocations: 5.62 MB / 0.5932 GB, free: 3.215 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/0.7171, allocations: 3.814 MB / 0.5969 GB, free: 15.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-05/0.7172, allocations: 32 kB / 0.5969 GB, free: 15.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.05637/0.7736, allocations: 18.99 MB / 0.6155 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.7738, allocations: 51.94 kB / 0.6155 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03976/0.8136, allocations: 12 MB / 0.6272 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3463/1.16, allocations: 10.29 MB / 0.6373 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004755/1.165, allocations: 1.317 MB / 0.6386 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02643/1.191, allocations: 16.02 MB / 0.6542 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/1.197, allocations: 439.2 kB / 0.6546 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/1.198, allocations: 317.6 kB / 0.6549 GB, free: 134.7 MB / 494.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 (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.004901/1.203, allocations: 2.023 MB / 0.6569 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/1.204, allocations: 274.8 kB / 0.6572 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009237/1.213, allocations: 5.098 MB / 0.6622 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007715/1.221, allocations: 4.391 MB / 0.6664 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.221, allocations: 3.281 kB / 0.6664 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/1.221, allocations: 11.77 kB / 0.6665 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02033/1.241, allocations: 12.91 MB / 0.6791 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.241, allocations: 8.406 kB / 0.6791 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.243, allocations: 462.7 kB / 0.6795 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/1.246, allocations: 0.9394 MB / 0.6804 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.246, allocations: 51.08 kB / 0.6805 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/1.251, allocations: 5.455 MB / 0.6858 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007674/1.252, allocations: 1.462 MB / 0.6872 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009934/1.262, allocations: 7.712 MB / 0.6948 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.263, allocations: 329.3 kB / 0.6951 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/1.263, allocations: 55.17 kB / 0.6951 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.265, allocations: 191.7 kB / 0.6953 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/1.265, allocations: 143.6 kB / 0.6954 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.265, allocations: 67.98 kB / 0.6955 GB, free: 109.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00259/1.268, allocations: 1.701 MB / 0.6972 GB, free: 107.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.268, allocations: 0 / 0.6972 GB, free: 107.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005129/1.273, allocations: 1.111 MB / 0.6983 GB, free: 106.6 MB / 494.1 MB 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.0004789/1.274, allocations: 178.1 kB / 0.6984 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009616/1.283, allocations: 6.593 MB / 0.7049 GB, free: 99.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.283, allocations: 7.938 kB / 0.7049 GB, free: 99.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003119/1.286, allocations: 2.526 MB / 0.7073 GB, free: 97.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.289, allocations: 370.7 kB / 0.7077 GB, free: 96.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.305, allocations: 12.02 MB / 0.7194 GB, free: 84.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/1.308, allocations: 3.163 MB / 0.7225 GB, free: 81.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.309, allocations: 263.4 kB / 0.7228 GB, free: 81.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/1.309, allocations: 3.172 kB / 0.7228 GB, free: 81.34 MB / 494.1 MB Notification: Performance of Templates: time 0.3805/1.689, allocations: 111.7 MB / 0.8318 GB, free: 149.8 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++ 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.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