Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009903/0.0009902, allocations: 94.03 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008832/0.0008831, allocations: 197.9 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003592, allocations: 15.98 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1762, allocations: 63.46 MB / 482.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.3917/0.568, allocations: 42.58 MB / 0.5124 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02635/0.5943, allocations: 9.621 MB / 0.5218 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01152/0.6059, allocations: 201.8 kB / 0.522 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009456/0.6154, allocations: 2.178 MB / 0.5241 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02513/0.6406, allocations: 6.609 MB / 0.5306 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.6448, allocations: 0.7793 MB / 0.5313 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.07812/0.7229, allocations: 61.45 MB / 0.5913 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007655/0.7307, allocations: 4.254 MB / 0.5955 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.7344, allocations: 1.432 MB / 0.5969 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.7388, allocations: 2.407 MB / 0.5992 GB, free: 280 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009589/0.7398, allocations: 176 kB / 0.5994 GB, free: 104 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.7426, allocations: 1.069 MB / 0.6005 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.7451, allocations: 1.944 MB / 0.6023 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.7465, allocations: 0.8855 MB / 0.6032 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009097/0.7556, allocations: 6.01 MB / 0.6091 GB, free: 6.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7557, allocations: 0 / 0.6091 GB, free: 6.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.7557, allocations: 4 kB / 0.6091 GB, free: 6.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003072/0.756, allocations: 1.312 kB / 0.6091 GB, free: 6.172 MB / 446.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.01181/0.7679, allocations: 4.662 MB / 0.6136 GB, free: 1.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.7679, allocations: 8.031 kB / 0.6136 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.7789, allocations: 2.536 MB / 0.6161 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.789, allocations: 3.247 MB / 0.6193 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.7893, allocations: 234.1 kB / 0.6195 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/0.7911, allocations: 331.7 kB / 0.6198 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.8115, allocations: 10.88 MB / 0.6305 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.8117, allocations: 47.5 kB / 0.6305 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.8122, allocations: 159.8 kB / 0.6307 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003075/0.8153, allocations: 1.998 MB / 0.6326 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.8353, allocations: 9.436 MB / 0.6418 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0586/0.8939, allocations: 41.21 MB / 0.6821 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.9049, allocations: 4.263 MB / 0.6862 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/0.9077, allocations: 1.924 MB / 0.6881 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.9189, allocations: 7.614 MB / 0.6955 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.919, allocations: 55.56 kB / 0.6956 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 5.54e-06/0.9191, allocations: 0 / 0.6956 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.4919/1.411, allocations: 41.42 MB / 0.736 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.411, allocations: 201.1 kB / 0.7362 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006043/1.417, allocations: 4.285 MB / 0.7404 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007467/1.418, allocations: 61.7 kB / 0.7405 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00212/1.42, allocations: 3.171 MB / 0.7436 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.421, allocations: 0.8823 MB / 0.7444 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/1.422, allocations: 130 kB / 0.7446 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003175/1.422, allocations: 0.5751 MB / 0.7451 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004462/1.426, allocations: 3.605 MB / 0.7486 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006442/1.433, allocations: 7.269 MB / 0.7557 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006391/1.439, allocations: 4.965 MB / 0.7606 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.811e-05/1.439, allocations: 36 kB / 0.7606 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.0352/1.475, allocations: 16.17 MB / 0.7764 GB, free: 136 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.082e-05/1.475, allocations: 56 kB / 0.7765 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/1.475, allocations: 128 kB / 0.7766 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01983/1.495, allocations: 6.279 MB / 0.7827 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005383/1.5, allocations: 1.493 MB / 0.7842 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03122/1.531, allocations: 26.15 MB / 0.8097 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007471/1.539, allocations: 411.4 kB / 0.8101 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.54, allocations: 395.6 kB / 0.8105 GB, free: 100.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.005157/1.546, allocations: 2.215 MB / 0.8126 GB, free: 98.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.547, allocations: 390.9 kB / 0.813 GB, free: 98.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02493/1.572, allocations: 11.3 MB / 0.8241 GB, free: 86.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.787e-05/1.572, allocations: 26.52 kB / 0.8241 GB, free: 86.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.572, allocations: 8 kB / 0.8241 GB, free: 86.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-05/1.572, allocations: 15.95 kB / 0.8241 GB, free: 86.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03957/1.611, allocations: 20.76 MB / 0.8444 GB, free: 65.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/1.612, allocations: 8 kB / 0.8444 GB, free: 65.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.614, allocations: 384 kB / 0.8448 GB, free: 65.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01766/1.631, allocations: 5.34 MB / 0.85 GB, free: 59.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000665/1.632, allocations: 47.98 kB / 0.85 GB, free: 59.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/1.658, allocations: 21.21 MB / 0.8707 GB, free: 38.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.659, allocations: 12 kB / 0.8707 GB, free: 38.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03089/1.689, allocations: 14.6 MB / 0.885 GB, free: 23.69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.692, allocations: 455.8 kB / 0.8854 GB, free: 23.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002454/1.694, allocations: 45.33 kB / 0.8855 GB, free: 23.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004295/1.699, allocations: 179.7 kB / 0.8856 GB, free: 23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/1.7, allocations: 161 kB / 0.8858 GB, free: 22.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007153/1.701, allocations: 61.72 kB / 0.8859 GB, free: 22.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006478/1.707, allocations: 2.686 MB / 0.8885 GB, free: 20.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.21e-07/1.707, allocations: 0 / 0.8885 GB, free: 20.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009807/1.717, allocations: 1.369 MB / 0.8898 GB, free: 18.73 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.001231/1.718, allocations: 187 kB / 0.89 GB, free: 18.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.732, allocations: 8.284 MB / 0.8981 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.732, allocations: 1.188 kB / 0.8981 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.385/2.117, allocations: 3.209 MB / 0.9012 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/2.122, allocations: 0.4911 MB / 0.9017 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/2.149, allocations: 14 MB / 0.9154 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005581/2.154, allocations: 3.477 MB / 0.9188 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/2.156, allocations: 307.3 kB / 0.9191 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.034e-06/2.156, allocations: 0 / 0.9191 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.1405/2.297, allocations: 109 MB / 1.026 GB, free: 73.97 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.o] Error 1