Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008184/0.0008186, allocations: 88.7 kB / 17.63 MB, free: 6.293 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.0008266/0.0008266, allocations: 180.2 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2518/0.2518, allocations: 44.23 MB / 337.9 MB, free: 2.582 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02704/0.187, allocations: 26.4 MB / 498.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.2042, allocations: 6.432 MB / 0.4932 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006976/0.2113, allocations: 123.7 kB / 0.4933 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.2155, allocations: 1.268 MB / 0.4945 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.2281, allocations: 4.019 MB / 0.4985 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.23, allocations: 415.3 kB / 0.4989 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006062/0.2361, allocations: 4.25 MB / 0.503 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.2394, allocations: 2.166 MB / 0.5051 GB, free: 500 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3516/0.591, allocations: 1.026 MB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004148/0.5952, allocations: 1.668 MB / 0.5078 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007239/0.5959, allocations: 126.6 kB / 0.5079 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.5986, allocations: 0.9113 MB / 0.5088 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.601, allocations: 1.515 MB / 0.5103 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.6023, allocations: 0.752 MB / 0.511 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009037/0.6114, allocations: 4.722 MB / 0.5156 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.6114, allocations: 0.5938 kB / 0.5156 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.6114, allocations: 0 / 0.5156 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002683/0.6117, allocations: 5.422 kB / 0.5156 GB, free: 12.68 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01241/0.6241, allocations: 3.512 MB / 0.519 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.6242, allocations: 12.47 kB / 0.519 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/0.6384, allocations: 3.24 MB / 0.5222 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007503/0.6459, allocations: 2.05 MB / 0.5242 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.6462, allocations: 184.2 kB / 0.5244 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.6476, allocations: 333.2 kB / 0.5247 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.6689, allocations: 10.48 MB / 0.5349 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.6691, allocations: 28.95 kB / 0.535 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.6695, allocations: 118.6 kB / 0.5351 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004307/0.6738, allocations: 2.492 MB / 0.5375 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/0.6954, allocations: 9.973 MB / 0.5473 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06575/0.7612, allocations: 35.01 MB / 0.5814 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009243/0.7705, allocations: 4.302 MB / 0.5856 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.7745, allocations: 2.15 MB / 0.5877 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.776, allocations: 1.317 MB / 0.589 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.7761, allocations: 52.56 kB / 0.5891 GB, free: 7.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 8.476e-06/0.7761, allocations: 4 kB / 0.5891 GB, free: 7.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04638/0.8225, allocations: 16.72 MB / 0.6054 GB, free: 6.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001455/0.824, allocations: 1.533 MB / 0.6069 GB, free: 5.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005939/0.83, allocations: 2.696 MB / 0.6095 GB, free: 2.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005617/0.8305, allocations: 53.7 kB / 0.6096 GB, free: 2.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002561/0.8331, allocations: 2.662 MB / 0.6122 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/0.8347, allocations: 0.921 MB / 0.6131 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007514/0.8355, allocations: 111.5 kB / 0.6132 GB, free: 14.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006134/0.8361, allocations: 0.5515 MB / 0.6137 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/0.8408, allocations: 2.404 MB / 0.6161 GB, free: 11.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007067/0.8479, allocations: 5.363 MB / 0.6213 GB, free: 5.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006569/0.8545, allocations: 3.595 MB / 0.6248 GB, free: 1.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/0.8546, allocations: 28 kB / 0.6249 GB, free: 1.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02415/0.8788, allocations: 9.623 MB / 0.6343 GB, free: 8.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.879, allocations: 48 kB / 0.6343 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01356/0.8926, allocations: 4.812 MB / 0.639 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.903, allocations: 2.384 MB / 0.6413 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004974/0.908, allocations: 1.263 MB / 0.6426 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00851/0.9166, allocations: 5.829 MB / 0.6483 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005115/0.9217, allocations: 403.3 kB / 0.6486 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/0.9233, allocations: 316 kB / 0.6489 GB, free: 9.141 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (678): * Single equations (assignments): 666 * 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.006715/0.93, allocations: 2.067 MB / 0.651 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.9311, allocations: 268.4 kB / 0.6512 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.9437, allocations: 5.313 MB / 0.6564 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009211/0.9529, allocations: 4.588 MB / 0.6609 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.9529, allocations: 4 kB / 0.6609 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.953, allocations: 7.969 kB / 0.6609 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03157/0.9846, allocations: 14.42 MB / 0.675 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/0.9846, allocations: 8 kB / 0.675 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.9864, allocations: 407.3 kB / 0.6754 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004054/0.9905, allocations: 1.244 MB / 0.6766 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/0.9909, allocations: 55.97 kB / 0.6766 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004925/0.9958, allocations: 4.45 MB / 0.681 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001123/0.997, allocations: 1.463 MB / 0.6824 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.011, allocations: 7.965 MB / 0.6902 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.012, allocations: 341.5 kB / 0.6905 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008078/1.013, allocations: 51.89 kB / 0.6906 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/1.015, allocations: 191.7 kB / 0.6908 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/1.015, allocations: 168.9 kB / 0.6909 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.015, allocations: 71.98 kB / 0.691 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004053/1.019, allocations: 1.639 MB / 0.6926 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/1.019, allocations: 3.938 kB / 0.6926 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006288/1.026, allocations: 1.054 MB / 0.6936 GB, free: 10.51 MB / 0.5294 GB 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 (192): * Single equations (assignments): 182 * 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.00065/1.026, allocations: 201 kB / 0.6938 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.038, allocations: 6.411 MB / 0.7001 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.038, allocations: 1.75 kB / 0.7001 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005094/1.043, allocations: 2.839 MB / 0.7028 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.046, allocations: 386.6 kB / 0.7032 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3524/1.399, allocations: 12.66 MB / 0.7156 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005231/1.404, allocations: 3.232 MB / 0.7187 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/1.406, allocations: 261.4 kB / 0.719 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.745e-06/1.406, allocations: 3 kB / 0.719 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1558/1.561, allocations: 129.3 MB / 0.8452 GB, free: 42.46 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1