Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 92.06 kB / 17.63 MB, free: 6.27 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.001349/0.001349, allocations: 176.8 kB / 18.52 MB, free: 5.426 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.548/1.548, allocations: 223.3 MB / 242.5 MB, free: 14.62 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.2381/0.2381, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1703, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03662/0.207, allocations: 31.41 MB / 0.4918 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.2275, allocations: 7.439 MB / 0.4991 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007802/0.2353, allocations: 147.6 kB / 0.4992 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.2411, allocations: 1.571 MB / 0.5007 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.017/0.2582, allocations: 4.855 MB / 0.5055 GB, free: 144 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3322/0.5904, allocations: 0.5008 MB / 0.506 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008409/0.5988, allocations: 3.773 MB / 0.5096 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006669/0.6055, allocations: 2.951 MB / 0.5125 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/0.6098, allocations: 1.045 MB / 0.5135 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004331/0.6142, allocations: 1.59 MB / 0.5151 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009459/0.6151, allocations: 113.8 kB / 0.5152 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.618, allocations: 0.814 MB / 0.516 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002234/0.6203, allocations: 1.395 MB / 0.5174 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.6217, allocations: 0.6985 MB / 0.518 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.6283, allocations: 4.435 MB / 0.5224 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.6283, allocations: 0 / 0.5224 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6283, allocations: 1.156 kB / 0.5224 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00026/0.6286, allocations: 0 / 0.5224 GB, free: 11.09 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009455/0.6381, allocations: 3.36 MB / 0.5257 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6381, allocations: 9.188 kB / 0.5257 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006275/0.6444, allocations: 1.814 MB / 0.5274 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/0.6491, allocations: 1.881 MB / 0.5293 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.6493, allocations: 189.7 kB / 0.5295 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.6506, allocations: 253.7 kB / 0.5297 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.6658, allocations: 8.427 MB / 0.5379 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.666, allocations: 34.84 kB / 0.538 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.6664, allocations: 125.8 kB / 0.5381 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/0.6688, allocations: 1.703 MB / 0.5397 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.6817, allocations: 7.07 MB / 0.5467 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04895/0.7307, allocations: 34.14 MB / 0.58 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007538/0.7383, allocations: 3.27 MB / 0.5832 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.7406, allocations: 1.463 MB / 0.5846 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00763/0.7482, allocations: 4.362 MB / 0.5889 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.7483, allocations: 47.11 kB / 0.5889 GB, free: 6.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.338e-06/0.7483, allocations: 0 / 0.5889 GB, free: 6.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03018/0.7785, allocations: 11.48 MB / 0.6001 GB, free: 11.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.7787, allocations: 170.9 kB / 0.6003 GB, free: 11.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006391/0.7851, allocations: 3.702 MB / 0.6039 GB, free: 7.418 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.7854, allocations: 41.7 kB / 0.6039 GB, free: 7.371 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002397/0.7878, allocations: 2.748 MB / 0.6066 GB, free: 4.637 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007196/0.7885, allocations: 0.5179 MB / 0.6071 GB, free: 4.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.7888, allocations: 104 kB / 0.6072 GB, free: 4.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003539/0.7891, allocations: 0.5408 MB / 0.6078 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/0.7919, allocations: 1.681 MB / 0.6094 GB, free: 1.789 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005593/0.7975, allocations: 5.109 MB / 0.6144 GB, free: 10.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004637/0.8021, allocations: 2.875 MB / 0.6172 GB, free: 8.094 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.142e-05/0.8022, allocations: 36 kB / 0.6172 GB, free: 8.059 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01168/0.8139, allocations: 6.686 MB / 0.6238 GB, free: 1.367 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.814, allocations: 56 kB / 0.6238 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/0.8142, allocations: 128 kB / 0.6239 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.8148, allocations: 336.7 kB / 0.6243 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/0.8183, allocations: 1.244 MB / 0.6255 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.8208, allocations: 2.293 MB / 0.6277 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/0.8243, allocations: 291.5 kB / 0.628 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000453/0.8247, allocations: 332 kB / 0.6283 GB, free: 12.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003526/0.8283, allocations: 1.791 MB / 0.6301 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/0.829, allocations: 308 kB / 0.6304 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/0.8341, allocations: 2.355 MB / 0.6327 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.771e-05/0.8342, allocations: 22.89 kB / 0.6327 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.8342, allocations: 4 kB / 0.6327 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.8342, allocations: 3.984 kB / 0.6327 GB, free: 8.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.8475, allocations: 5.918 MB / 0.6385 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.8476, allocations: 4.531 kB / 0.6385 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.8484, allocations: 171.8 kB / 0.6386 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/0.8504, allocations: 0.7202 MB / 0.6393 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.8506, allocations: 27.73 kB / 0.6394 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/0.8566, allocations: 4.454 MB / 0.6437 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.8566, allocations: 12 kB / 0.6437 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/0.8637, allocations: 4.312 MB / 0.6479 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.8648, allocations: 368.9 kB / 0.6483 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.8651, allocations: 20 kB / 0.6483 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/0.8661, allocations: 71.89 kB / 0.6484 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.8662, allocations: 64.53 kB / 0.6484 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.473e-05/0.8663, allocations: 44.05 kB / 0.6485 GB, free: 7.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003694/0.87, allocations: 2.305 MB / 0.6507 GB, free: 5.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.87, allocations: 0 / 0.6507 GB, free: 5.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004119/0.8742, allocations: 0.8203 MB / 0.6515 GB, free: 4.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.8745, allocations: 154.5 kB / 0.6517 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006072/0.8806, allocations: 4.002 MB / 0.6556 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8806, allocations: 2.328 kB / 0.6556 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.8821, allocations: 1.108 MB / 0.6567 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.8844, allocations: 378.4 kB / 0.657 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.899, allocations: 9.021 MB / 0.6658 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/0.9023, allocations: 2.781 MB / 0.6686 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.9034, allocations: 255.4 kB / 0.6688 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.9034, allocations: 0 / 0.6688 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of Templates: time 0.3772/1.281, allocations: 63.45 MB / 0.7308 GB, free: 172.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitializationCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitializationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitializationCalcHelperMain.o] Error 1