Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009572/0.0009573, allocations: 98.94 kB / 16.33 MB, free: 6.082 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.001086/0.001087, allocations: 191.3 kB / 17.23 MB, free: 5.98 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.677/1.677, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.2472/0.2472, allocations: 43.56 MB / 315.2 MB, free: 0.5508 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.0005353/0.0005353, allocations: 19.36 kB / 384.5 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1329, allocations: 58.86 MB / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02316/0.1561, allocations: 26.72 MB / 470.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.1711, allocations: 6.507 MB / 476.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.1765, allocations: 115.8 kB / 476.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.1807, allocations: 1.279 MB / 478 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.1928, allocations: 4.051 MB / 482.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.1947, allocations: 411.4 kB / 482.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006193/0.2009, allocations: 4.384 MB / 486.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.2042, allocations: 2.198 MB / 489.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.2061, allocations: 1.078 MB / 490.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.2085, allocations: 1.745 MB / 491.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.2089, allocations: 132 kB / 492 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.2108, allocations: 0.901 MB / 492.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.2124, allocations: 1.582 MB / 494.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.2132, allocations: 0.7648 MB / 495.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005107/0.2183, allocations: 4.899 MB / 0.4884 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.2184, allocations: 3.938 kB / 0.4884 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.2184, allocations: 0 / 0.4884 GB, free: 12.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001739/0.2186, allocations: 3.938 kB / 0.4884 GB, free: 12.79 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.006904/0.2255, allocations: 3.606 MB / 0.492 GB, free: 9.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2255, allocations: 12.02 kB / 0.492 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.2359, allocations: 3.262 MB / 0.4952 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.241, allocations: 2.138 MB / 0.4973 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2412, allocations: 188.7 kB / 0.4974 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008848/0.2421, allocations: 339.5 kB / 0.4978 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.2596, allocations: 10.77 MB / 0.5083 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.239e-05/0.2598, allocations: 35.7 kB / 0.5083 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.2601, allocations: 123.8 kB / 0.5084 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003827/0.264, allocations: 2.557 MB / 0.5109 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.2831, allocations: 10.26 MB / 0.5209 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.337/0.6202, allocations: 35.84 MB / 0.5559 GB, free: 65.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007352/0.6276, allocations: 4.426 MB / 0.5603 GB, free: 63.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002732/0.6303, allocations: 2.193 MB / 0.5624 GB, free: 62.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009675/0.6313, allocations: 1.324 MB / 0.5637 GB, free: 61.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.6314, allocations: 54.19 kB / 0.5637 GB, free: 61.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=245): time 4.158e-06/0.6314, allocations: 0 / 0.5637 GB, free: 61.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=261): time 0.03168/0.6631, allocations: 17.03 MB / 0.5804 GB, free: 51.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009153/0.664, allocations: 1.522 MB / 0.5819 GB, free: 49.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.6673, allocations: 2.767 MB / 0.5846 GB, free: 46.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.6675, allocations: 58.88 kB / 0.5846 GB, free: 46.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.6687, allocations: 2.738 MB / 0.5873 GB, free: 43.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006788/0.6694, allocations: 0.9615 MB / 0.5882 GB, free: 42.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6696, allocations: 114.4 kB / 0.5883 GB, free: 42.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.6699, allocations: 0.55 MB / 0.5889 GB, free: 42.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.6727, allocations: 2.459 MB / 0.5913 GB, free: 39.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.6767, allocations: 5.504 MB / 0.5967 GB, free: 32.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.6806, allocations: 3.68 MB / 0.6003 GB, free: 29.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.243e-05/0.6806, allocations: 32 kB / 0.6003 GB, free: 29.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01787/0.6985, allocations: 9.828 MB / 0.6099 GB, free: 19.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.6986, allocations: 48 kB / 0.6099 GB, free: 19.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01088/0.7095, allocations: 4.896 MB / 0.6147 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008975/0.7185, allocations: 2.398 MB / 0.6171 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/0.723, allocations: 1.312 MB / 0.6183 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006499/0.7296, allocations: 5.845 MB / 0.624 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/0.7342, allocations: 404.9 kB / 0.6244 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006825/0.7349, allocations: 329.4 kB / 0.6247 GB, free: 3.715 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003672/0.7386, allocations: 2.108 MB / 0.6268 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006211/0.7392, allocations: 284.3 kB / 0.6271 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.7494, allocations: 5.432 MB / 0.6324 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008288/0.7578, allocations: 4.682 MB / 0.6369 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.7578, allocations: 0 / 0.6369 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.7578, allocations: 15.91 kB / 0.637 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0241/0.7819, allocations: 14.72 MB / 0.6513 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.782, allocations: 12 kB / 0.6513 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.7836, allocations: 427.3 kB / 0.6518 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003875/0.7875, allocations: 1.244 MB / 0.653 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.7877, allocations: 57.77 kB / 0.653 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/0.7924, allocations: 4.444 MB / 0.6574 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001053/0.7935, allocations: 1.472 MB / 0.6588 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/0.8061, allocations: 8.139 MB / 0.6668 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009875/0.8071, allocations: 345.4 kB / 0.6671 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.8075, allocations: 53.34 kB / 0.6671 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.8089, allocations: 203.7 kB / 0.6673 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.8093, allocations: 170.8 kB / 0.6675 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.8095, allocations: 79.97 kB / 0.6676 GB, free: 6.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002673/0.8121, allocations: 1.685 MB / 0.6692 GB, free: 5.184 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.8122, allocations: 4 kB / 0.6692 GB, free: 5.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005145/0.8173, allocations: 1.081 MB / 0.6703 GB, free: 4.105 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000508/0.8178, allocations: 199.1 kB / 0.6705 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01067/0.8285, allocations: 6.546 MB / 0.6769 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.8286, allocations: 0 / 0.6769 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004731/0.8333, allocations: 2.89 MB / 0.6797 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.8357, allocations: 389.1 kB / 0.68 GB, free: 9.969 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/0.8564, allocations: 13.02 MB / 0.6928 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/0.8604, allocations: 3.312 MB / 0.696 GB, free: 9.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.862, allocations: 275.4 kB / 0.6963 GB, free: 9.164 MB / 494.1 MB Notification: Performance of SimCode: time 1.873e-06/0.862, allocations: 0 / 0.6963 GB, free: 9.164 MB / 494.1 MB Notification: Performance of Templates: time 0.4069/1.269, allocations: 132.9 MB / 0.8261 GB, free: 78.76 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1