Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 90.72 kB / 17.63 MB, free: 6.293 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.001575/0.001575, allocations: 184.4 kB / 18.52 MB, free: 5.445 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.524/1.524, allocations: 223.2 MB / 242.5 MB, free: 332 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.2419/0.2419, allocations: 44.23 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003452, allocations: 16.86 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.04653/0.205, allocations: 44.98 MB / 0.505 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3986/0.6037, allocations: 9.727 MB / 0.5145 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01654/0.6203, allocations: 210.5 kB / 0.5147 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.6325, allocations: 2.32 MB / 0.517 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03462/0.6672, allocations: 6.906 MB / 0.5238 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0052/0.6724, allocations: 0.515 MB / 0.5243 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.6842, allocations: 4.177 MB / 0.5283 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.695, allocations: 4.45 MB / 0.5327 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.6978, allocations: 1.161 MB / 0.5338 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.7004, allocations: 1.82 MB / 0.5356 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.7009, allocations: 131 kB / 0.5357 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.7029, allocations: 0.7892 MB / 0.5365 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.7047, allocations: 1.582 MB / 0.538 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.7058, allocations: 0.7936 MB / 0.5388 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00713/0.7129, allocations: 5.279 MB / 0.544 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.713, allocations: 128 / 0.544 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.713, allocations: 64 / 0.544 GB, free: 0 / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003312/0.7133, allocations: 0 / 0.544 GB, free: 0 / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01689/0.7302, allocations: 4.29 MB / 0.5482 GB, free: 12.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.7303, allocations: 8.031 kB / 0.5482 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.7368, allocations: 1.904 MB / 0.55 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/0.7416, allocations: 2.205 MB / 0.5522 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.7418, allocations: 233 kB / 0.5524 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005493/0.7423, allocations: 301 kB / 0.5527 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.7614, allocations: 10.21 MB / 0.5627 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.7616, allocations: 45.83 kB / 0.5627 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004103/0.762, allocations: 146.4 kB / 0.5628 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003103/0.7651, allocations: 1.867 MB / 0.5647 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.7846, allocations: 9.179 MB / 0.5736 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06084/0.8455, allocations: 37.58 MB / 0.6103 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/0.8579, allocations: 3.71 MB / 0.6139 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.8605, allocations: 1.707 MB / 0.6156 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.8615, allocations: 0.6788 MB / 0.6163 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/0.8616, allocations: 47.06 kB / 0.6163 GB, free: 10.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 5.721e-06/0.8616, allocations: 0 / 0.6163 GB, free: 10.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04673/0.9083, allocations: 12.94 MB / 0.629 GB, free: 13.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.9085, allocations: 141.2 kB / 0.6291 GB, free: 12.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006285/0.9148, allocations: 3.95 MB / 0.633 GB, free: 8.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004803/0.9153, allocations: 41.7 kB / 0.633 GB, free: 8.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003261/0.9186, allocations: 3.011 MB / 0.6359 GB, free: 5.926 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001174/0.9198, allocations: 0.5469 MB / 0.6365 GB, free: 5.383 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.92, allocations: 116 kB / 0.6366 GB, free: 5.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000483/0.9205, allocations: 0.5414 MB / 0.6371 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.924, allocations: 1.92 MB / 0.639 GB, free: 2.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00554/0.9295, allocations: 5.518 MB / 0.6444 GB, free: 11.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.934, allocations: 3.172 MB / 0.6475 GB, free: 8.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.656e-05/0.934, allocations: 36 kB / 0.6475 GB, free: 8.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01425/0.9483, allocations: 7.909 MB / 0.6552 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/0.9484, allocations: 63.98 kB / 0.6553 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001482/0.9486, allocations: 132 kB / 0.6554 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.9509, allocations: 0.918 MB / 0.6563 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/0.9549, allocations: 1.298 MB / 0.6576 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006595/0.9615, allocations: 4.853 MB / 0.6623 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/0.9669, allocations: 307.7 kB / 0.6626 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/0.9683, allocations: 360 kB / 0.663 GB, free: 8.309 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 680 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005719/0.9741, allocations: 1.996 MB / 0.6649 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/0.9753, allocations: 331.6 kB / 0.6652 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.9823, allocations: 2.79 MB / 0.6679 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-05/0.9824, allocations: 16 kB / 0.668 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/0.9825, allocations: 9.625 kB / 0.668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.9825, allocations: 3.984 kB / 0.668 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.002, allocations: 7.269 MB / 0.6751 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/1.002, allocations: 8 kB / 0.6751 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.003, allocations: 259.7 kB / 0.6753 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.005, allocations: 0.7147 MB / 0.676 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/1.006, allocations: 35.97 kB / 0.6761 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006495/1.012, allocations: 4.417 MB / 0.6804 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.012, allocations: 0 / 0.6804 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009415/1.022, allocations: 5.146 MB / 0.6854 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.024, allocations: 392.7 kB / 0.6858 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.025, allocations: 23.98 kB / 0.6858 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.027, allocations: 83.86 kB / 0.6859 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/1.027, allocations: 84.52 kB / 0.686 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.028, allocations: 50.86 kB / 0.686 GB, free: 448 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006363/1.034, allocations: 2.476 MB / 0.6884 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/1.034, allocations: 0 / 0.6884 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007185/1.041, allocations: 0.8986 MB / 0.6893 GB, free: 13.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000708/1.042, allocations: 149.9 kB / 0.6894 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009398/1.051, allocations: 4.605 MB / 0.6939 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.051, allocations: 0 / 0.6939 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.054, allocations: 1.361 MB / 0.6953 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/1.058, allocations: 408.7 kB / 0.6957 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3425/1.401, allocations: 10.46 MB / 0.7059 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005071/1.406, allocations: 3.106 MB / 0.7089 GB, free: 183 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.407, allocations: 295.6 kB / 0.7092 GB, free: 183 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/1.407, allocations: 0.875 kB / 0.7092 GB, free: 183 MB / 0.5294 GB Notification: Performance of Templates: time 0.1346/1.542, allocations: 70.66 MB / 0.7782 GB, free: 130.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.o] Error 1