Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009165/0.0009165, allocations: 88.42 kB / 17.63 MB, free: 5.719 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.00105/0.00105, allocations: 186.4 kB / 18.52 MB, free: 5.168 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.477/1.477, allocations: 223.3 MB / 242.5 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 16.97 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1517, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02273/0.1745, allocations: 23.15 MB / 495.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/0.1903, allocations: 5.965 MB / 0.4895 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005181/0.1955, allocations: 103.8 kB / 0.4896 GB, free: 432 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.1986, allocations: 1.1 MB / 0.4907 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.2102, allocations: 3.503 MB / 0.4941 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.212, allocations: 459.2 kB / 0.4946 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007424/0.2194, allocations: 4.154 MB / 0.4986 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003772/0.2232, allocations: 2.135 MB / 0.5007 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.2255, allocations: 1.019 MB / 0.5017 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.2282, allocations: 1.655 MB / 0.5033 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005029/0.2287, allocations: 128 kB / 0.5035 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.2314, allocations: 1.069 MB / 0.5045 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3644/0.5958, allocations: 1.477 MB / 0.5059 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.5974, allocations: 0.7275 MB / 0.5066 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008723/0.6061, allocations: 4.699 MB / 0.5112 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.6061, allocations: 0 / 0.5112 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.6062, allocations: 1.656 kB / 0.5112 GB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.6064, allocations: 1.75 kB / 0.5112 GB, free: 13.91 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.009576/0.616, allocations: 3.442 MB / 0.5146 GB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.616, allocations: 11.28 kB / 0.5146 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01913/0.6352, allocations: 5.77 MB / 0.5202 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007434/0.6427, allocations: 2.175 MB / 0.5224 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.6429, allocations: 180.1 kB / 0.5225 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.6443, allocations: 310.5 kB / 0.5228 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.6657, allocations: 10.72 MB / 0.5333 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.725e-05/0.6659, allocations: 32.19 kB / 0.5333 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.6663, allocations: 114.1 kB / 0.5334 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003758/0.6701, allocations: 2.46 MB / 0.5358 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.6917, allocations: 10.13 MB / 0.5457 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06636/0.7581, allocations: 35.67 MB / 0.5806 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.771, allocations: 5.593 MB / 0.586 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004083/0.7751, allocations: 2.322 MB / 0.5883 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002158/0.7773, allocations: 1.879 MB / 0.5901 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.119e-05/0.7774, allocations: 54.08 kB / 0.5902 GB, free: 7.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 9.458e-06/0.7774, allocations: 0 / 0.5902 GB, free: 7.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.04253/0.8199, allocations: 14.94 MB / 0.6048 GB, free: 8.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00167/0.8217, allocations: 1.521 MB / 0.6063 GB, free: 6.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007616/0.8293, allocations: 2.783 MB / 0.609 GB, free: 4.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009565/0.8303, allocations: 49.7 kB / 0.609 GB, free: 4.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003345/0.8337, allocations: 2.683 MB / 0.6117 GB, free: 1.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002166/0.8359, allocations: 0.8482 MB / 0.6125 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.8373, allocations: 108 kB / 0.6126 GB, free: 436 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0009319/0.8383, allocations: 0.5416 MB / 0.6131 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005971/0.8443, allocations: 2.617 MB / 0.6157 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008522/0.8528, allocations: 5.621 MB / 0.6212 GB, free: 6.211 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007293/0.8601, allocations: 3.808 MB / 0.6249 GB, free: 2.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/0.8603, allocations: 28 kB / 0.6249 GB, free: 2.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06325/0.9236, allocations: 18.99 MB / 0.6434 GB, free: 84 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.9238, allocations: 55.47 kB / 0.6435 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04304/0.9669, allocations: 11.99 MB / 0.6552 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04361/1.011, allocations: 10.29 MB / 0.6653 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/1.016, allocations: 1.324 MB / 0.6666 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0313/1.048, allocations: 16.03 MB / 0.6822 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005961/1.054, allocations: 435.5 kB / 0.6826 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.056, allocations: 323.7 kB / 0.6829 GB, free: 7.516 MB / 0.5137 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.007094/1.063, allocations: 2.019 MB / 0.6849 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009853/1.064, allocations: 272.4 kB / 0.6852 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.076, allocations: 5.107 MB / 0.6902 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008755/1.085, allocations: 4.396 MB / 0.6944 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/1.085, allocations: 96 / 0.6944 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/1.085, allocations: 15.95 kB / 0.6945 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3845/1.469, allocations: 12.91 MB / 0.7071 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/1.469, allocations: 7.719 kB / 0.7071 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/1.473, allocations: 457.7 kB / 0.7075 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00399/1.477, allocations: 0.9426 MB / 0.7084 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007466/1.477, allocations: 46.78 kB / 0.7085 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009872/1.487, allocations: 5.452 MB / 0.7138 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001207/1.488, allocations: 1.465 MB / 0.7152 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/1.508, allocations: 7.709 MB / 0.7228 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.509, allocations: 334.3 kB / 0.7231 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.51, allocations: 44.58 kB / 0.7231 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.513, allocations: 195.4 kB / 0.7233 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006553/1.514, allocations: 139.7 kB / 0.7234 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003771/1.514, allocations: 69.94 kB / 0.7235 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004718/1.519, allocations: 1.694 MB / 0.7252 GB, free: 184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.519, allocations: 3.531 kB / 0.7252 GB, free: 184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007661/1.527, allocations: 1.103 MB / 0.7262 GB, free: 183.9 MB / 0.5294 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.0007306/1.527, allocations: 188.8 kB / 0.7264 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.541, allocations: 6.592 MB / 0.7329 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/1.541, allocations: 5.781 kB / 0.7329 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003986/1.545, allocations: 2.522 MB / 0.7353 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.549, allocations: 369.8 kB / 0.7357 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/1.575, allocations: 12.02 MB / 0.7474 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005117/1.58, allocations: 3.157 MB / 0.7505 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/1.582, allocations: 259.4 kB / 0.7508 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/1.582, allocations: 3.938 kB / 0.7508 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.1505/1.732, allocations: 111.6 MB / 0.8598 GB, free: 54.07 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.SphericalCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalCalcHelperMain.o] Error 1