Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 91.12 kB / 17.63 MB, free: 6.133 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.001243/0.001243, allocations: 183.5 kB / 18.52 MB, free: 5.297 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.494/1.494, allocations: 223.3 MB / 242.5 MB, free: 316 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.2437/0.2437, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 9.031 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.4309/0.5731, allocations: 56.53 MB / 0.5163 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04041/0.6136, allocations: 12.31 MB / 0.5283 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01771/0.6313, allocations: 282.3 kB / 0.5286 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01446/0.6458, allocations: 2.934 MB / 0.5315 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03155/0.6774, allocations: 8.711 MB / 0.54 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.6826, allocations: 0.9149 MB / 0.5409 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08704/0.7697, allocations: 62.31 MB / 0.6017 GB, free: 28 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.7845, allocations: 5.557 MB / 0.6071 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/0.7896, allocations: 1.638 MB / 0.6087 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005626/0.7953, allocations: 2.547 MB / 0.6112 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00165/0.797, allocations: 176 kB / 0.6114 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.801, allocations: 1.088 MB / 0.6125 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004318/0.8054, allocations: 2.154 MB / 0.6146 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.8082, allocations: 1.022 MB / 0.6156 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.8189, allocations: 6.765 MB / 0.6222 GB, free: 10.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.819, allocations: 4 kB / 0.6222 GB, free: 10.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.819, allocations: 0 / 0.6222 GB, free: 10.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003668/0.8193, allocations: 0 / 0.6222 GB, free: 10.98 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01805/0.8374, allocations: 5.217 MB / 0.6273 GB, free: 5.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.8375, allocations: 12.56 kB / 0.6273 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.8492, allocations: 2.575 MB / 0.6298 GB, free: 3.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.8596, allocations: 3.864 MB / 0.6336 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.86, allocations: 283.3 kB / 0.6338 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/0.862, allocations: 387.7 kB / 0.6342 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/0.8857, allocations: 11.99 MB / 0.6459 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/0.8859, allocations: 63.42 kB / 0.646 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/0.8864, allocations: 179.8 kB / 0.6462 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003069/0.8895, allocations: 2.14 MB / 0.6482 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.9105, allocations: 10.34 MB / 0.6583 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06034/0.9708, allocations: 47.49 MB / 0.7047 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3089/1.28, allocations: 5.817 MB / 0.7104 GB, free: 193.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005094/1.285, allocations: 2.979 MB / 0.7133 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/1.301, allocations: 8.86 MB / 0.722 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.301, allocations: 58.67 kB / 0.722 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 4.819e-06/1.301, allocations: 0 / 0.722 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1142/1.415, allocations: 35.03 MB / 0.7562 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.416, allocations: 213.8 kB / 0.7564 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.426, allocations: 4.739 MB / 0.7611 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.428, allocations: 61.7 kB / 0.7611 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004144/1.432, allocations: 3.553 MB / 0.7646 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002044/1.434, allocations: 0.9705 MB / 0.7655 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.435, allocations: 136 kB / 0.7657 GB, free: 157 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0007245/1.436, allocations: 0.5996 MB / 0.7663 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.441, allocations: 3.145 MB / 0.7693 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007269/1.448, allocations: 7.019 MB / 0.7762 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006688/1.455, allocations: 4.59 MB / 0.7807 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/1.455, allocations: 36 kB / 0.7807 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02661/1.482, allocations: 13.69 MB / 0.7941 GB, free: 126 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/1.482, allocations: 64 kB / 0.7941 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002521/1.482, allocations: 132 kB / 0.7943 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.494, allocations: 4.417 MB / 0.7986 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/1.499, allocations: 1.47 MB / 0.8 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/1.534, allocations: 26.84 MB / 0.8262 GB, free: 92.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/1.54, allocations: 419.3 kB / 0.8266 GB, free: 92.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/1.542, allocations: 408.9 kB / 0.827 GB, free: 91.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.005622/1.547, allocations: 2.477 MB / 0.8294 GB, free: 89.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.549, allocations: 438.4 kB / 0.8298 GB, free: 88.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.565, allocations: 8.463 MB / 0.8381 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.307e-05/1.565, allocations: 28 kB / 0.8381 GB, free: 80.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/1.565, allocations: 12 kB / 0.8381 GB, free: 80.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.596e-05/1.565, allocations: 11.95 kB / 0.8382 GB, free: 80.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03509/1.6, allocations: 17.04 MB / 0.8548 GB, free: 63.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/1.6, allocations: 4 kB / 0.8548 GB, free: 63.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.602, allocations: 303.5 kB / 0.8551 GB, free: 62.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/1.612, allocations: 4.109 MB / 0.8591 GB, free: 58.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005756/1.612, allocations: 51.67 kB / 0.8592 GB, free: 58.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03177/1.644, allocations: 25.62 MB / 0.8842 GB, free: 32.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.644, allocations: 4 kB / 0.8842 GB, free: 32.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.665, allocations: 12.4 MB / 0.8963 GB, free: 20.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/1.667, allocations: 0.4915 MB / 0.8968 GB, free: 19.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/1.669, allocations: 48.72 kB / 0.8968 GB, free: 19.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/1.672, allocations: 181.1 kB / 0.897 GB, free: 19.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009706/1.673, allocations: 186 kB / 0.8972 GB, free: 19.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003931/1.673, allocations: 75.98 kB / 0.8972 GB, free: 19.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00651/1.68, allocations: 2.982 MB / 0.9001 GB, free: 16.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/1.68, allocations: 0 / 0.9001 GB, free: 16.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01051/1.69, allocations: 1.467 MB / 0.9016 GB, free: 14.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/1.691, allocations: 193 kB / 0.9018 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.3233/2.015, allocations: 8.364 MB / 0.9099 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.015, allocations: 1.062 kB / 0.9099 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0078/2.023, allocations: 3.557 MB / 0.9134 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/2.027, allocations: 0.5574 MB / 0.914 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/2.055, allocations: 14.92 MB / 0.9285 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004395/2.059, allocations: 3.895 MB / 0.9323 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/2.061, allocations: 322.3 kB / 0.9326 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/2.061, allocations: 0 / 0.9326 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1723/2.233, allocations: 141.3 MB / 1.071 GB, free: 37.85 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversalCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.o] Error 1