Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 88.95 kB / 17.63 MB, free: 6.156 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.001142/0.001142, allocations: 178.8 kB / 18.52 MB, free: 5.32 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.505/1.505, allocations: 223.2 MB / 242.5 MB, free: 328 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.2579/0.2579, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.04227/0.1876, allocations: 42.57 MB / 0.5027 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4117/0.5993, allocations: 9.582 MB / 0.5121 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01107/0.6104, allocations: 204.2 kB / 0.5122 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008906/0.6194, allocations: 2.179 MB / 0.5144 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02485/0.6443, allocations: 6.618 MB / 0.5208 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.6492, allocations: 0.7819 MB / 0.5216 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08708/0.7363, allocations: 61.34 MB / 0.5815 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009087/0.7454, allocations: 4.246 MB / 0.5856 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.7498, allocations: 1.439 MB / 0.5871 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005966/0.7558, allocations: 2.4 MB / 0.5894 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002202/0.7581, allocations: 176 kB / 0.5896 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.7627, allocations: 1.088 MB / 0.5906 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003749/0.7664, allocations: 1.949 MB / 0.5925 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.7687, allocations: 0.8812 MB / 0.5934 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008944/0.7776, allocations: 6.015 MB / 0.5993 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.7777, allocations: 0 / 0.5993 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7777, allocations: 4 kB / 0.5993 GB, free: 2.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000343/0.778, allocations: 0 / 0.5993 GB, free: 2.375 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01338/0.7914, allocations: 4.652 MB / 0.6038 GB, free: 13.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7915, allocations: 12.56 kB / 0.6038 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.8026, allocations: 2.529 MB / 0.6063 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008673/0.8113, allocations: 3.299 MB / 0.6095 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.8116, allocations: 238.1 kB / 0.6097 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.8134, allocations: 335.7 kB / 0.6101 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/0.8367, allocations: 10.87 MB / 0.6207 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/0.8371, allocations: 55.42 kB / 0.6207 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/0.8386, allocations: 161.5 kB / 0.6209 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003366/0.842, allocations: 1.998 MB / 0.6228 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/0.8625, allocations: 9.428 MB / 0.632 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06049/0.923, allocations: 41.21 MB / 0.6723 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.9337, allocations: 4.265 MB / 0.6765 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.9367, allocations: 1.922 MB / 0.6783 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/0.9498, allocations: 7.621 MB / 0.6858 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.9499, allocations: 59.44 kB / 0.6858 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=180): time 4.849e-06/0.9499, allocations: 0 / 0.6858 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=236): time 0.4725/1.422, allocations: 41.4 MB / 0.7263 GB, free: 189 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.423, allocations: 201.5 kB / 0.7265 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006922/1.429, allocations: 4.284 MB / 0.7306 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007139/1.43, allocations: 62.12 kB / 0.7307 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/1.432, allocations: 3.169 MB / 0.7338 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.434, allocations: 0.8848 MB / 0.7347 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/1.434, allocations: 130.8 kB / 0.7348 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002992/1.434, allocations: 0.5808 MB / 0.7353 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004668/1.439, allocations: 3.6 MB / 0.7389 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006139/1.445, allocations: 7.269 MB / 0.746 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/1.451, allocations: 4.96 MB / 0.7508 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-05/1.451, allocations: 36 kB / 0.7508 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03319/1.484, allocations: 16.17 MB / 0.7666 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.086e-05/1.484, allocations: 60 kB / 0.7667 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/1.485, allocations: 128 kB / 0.7668 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02007/1.505, allocations: 6.279 MB / 0.7729 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005638/1.51, allocations: 1.497 MB / 0.7744 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03466/1.545, allocations: 26.13 MB / 0.7999 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007347/1.552, allocations: 418.4 kB / 0.8003 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/1.554, allocations: 392 kB / 0.8007 GB, free: 119.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (779): * Single equations (assignments): 774 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006204/1.56, allocations: 2.219 MB / 0.8029 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/1.562, allocations: 390.9 kB / 0.8032 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02655/1.589, allocations: 11.29 MB / 0.8143 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/1.589, allocations: 32.34 kB / 0.8143 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.239e-05/1.589, allocations: 12 kB / 0.8143 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.581e-05/1.589, allocations: 11.97 kB / 0.8143 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04427/1.633, allocations: 20.76 MB / 0.8346 GB, free: 84.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.215e-05/1.633, allocations: 4 kB / 0.8346 GB, free: 84.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.636, allocations: 392 kB / 0.835 GB, free: 84.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01775/1.653, allocations: 5.336 MB / 0.8402 GB, free: 78.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007006/1.654, allocations: 41.17 kB / 0.8402 GB, free: 78.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02607/1.68, allocations: 21.23 MB / 0.861 GB, free: 57.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.68, allocations: 4 kB / 0.861 GB, free: 57.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03/1.71, allocations: 14.61 MB / 0.8752 GB, free: 42.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.712, allocations: 451.9 kB / 0.8757 GB, free: 42.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/1.714, allocations: 48.92 kB / 0.8757 GB, free: 42.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003708/1.718, allocations: 179.7 kB / 0.8759 GB, free: 41.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/1.719, allocations: 153 kB / 0.876 GB, free: 41.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005397/1.72, allocations: 64.69 kB / 0.8761 GB, free: 41.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006132/1.726, allocations: 2.686 MB / 0.8787 GB, free: 39.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.51e-07/1.726, allocations: 0 / 0.8787 GB, free: 39.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009574/1.735, allocations: 1.37 MB / 0.88 GB, free: 37.69 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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/1.736, allocations: 177.2 kB / 0.8802 GB, free: 37.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01374/1.75, allocations: 8.284 MB / 0.8883 GB, free: 29.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.75, allocations: 0 / 0.8883 GB, free: 29.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005167/1.755, allocations: 3.211 MB / 0.8914 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006107/1.762, allocations: 0.4902 MB / 0.8919 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3284/2.09, allocations: 14 MB / 0.9056 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007235/2.097, allocations: 3.489 MB / 0.909 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/2.099, allocations: 310.5 kB / 0.9093 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of SimCode: time 3.417e-06/2.099, allocations: 0 / 0.9093 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.154/2.253, allocations: 109 MB / 1.016 GB, free: 90.55 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSphericalCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.o] Error 1