Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 198.9 kB / 16.79 MB, free: 6.863 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.285/1.285, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1694/0.1694, allocations: 8.036 MB / 298.6 MB, free: 2.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.91 kB / 360.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 51.19 MB / 411.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005635/0.1078, allocations: 4.313 MB / 416.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1104, allocations: 1.442 MB / 417.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.1108, allocations: 15.94 kB / 417.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1112, allocations: 123.2 kB / 417.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.1117, allocations: 175 kB / 417.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.1123, allocations: 351.2 kB / 418.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000653/0.113, allocations: 0.8063 MB / 419 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.1136, allocations: 435.1 kB / 419.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.1139, allocations: 294.8 kB / 419.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.1143, allocations: 346.4 kB / 420 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.1144, allocations: 52 kB / 420.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1146, allocations: 83.92 kB / 420.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.1148, allocations: 167.4 kB / 420.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.1151, allocations: 389.9 kB / 420.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.1158, allocations: 0.8381 MB / 421.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1158, allocations: 0 / 421.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1158, allocations: 3.938 kB / 421.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1158, allocations: 4 kB / 421.6 MB, free: 1.723 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001818/0.1176, allocations: 1.148 MB / 422.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1177, allocations: 15.97 kB / 422.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1178, allocations: 80 kB / 422.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1891/0.3069, allocations: 0.5025 MB / 423.3 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.307, allocations: 52.16 kB / 423.4 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3071, allocations: 77.3 kB / 423.4 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.3083, allocations: 0.7006 MB / 424.1 MB, free: 44.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.3084, allocations: 5.031 kB / 424.1 MB, free: 44.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.3084, allocations: 28.69 kB / 424.2 MB, free: 44.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.3085, allocations: 17.38 kB / 424.2 MB, free: 44.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3095, allocations: 0.5051 MB / 424.7 MB, free: 44.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.3126, allocations: 2.552 MB / 427.2 MB, free: 43.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.3134, allocations: 445.2 kB / 427.7 MB, free: 42.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.3138, allocations: 176.8 kB / 427.9 MB, free: 42.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3139, allocations: 11.03 kB / 427.9 MB, free: 42.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.3145, allocations: 260.9 kB / 428.1 MB, free: 42.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.3145, allocations: 0 / 428.1 MB, free: 42.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001484/0.316, allocations: 0.7034 MB / 428.8 MB, free: 42.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.316, allocations: 150.5 kB / 429 MB, free: 42.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.3166, allocations: 0.5706 MB / 429.5 MB, free: 41.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3166, allocations: 33.08 kB / 429.6 MB, free: 41.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3168, allocations: 351.6 kB / 429.9 MB, free: 41.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.3168, allocations: 114.7 kB / 430 MB, free: 41.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.317, allocations: 76.78 kB / 430.1 MB, free: 41.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.317, allocations: 361.9 kB / 430.5 MB, free: 41.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.3174, allocations: 166.5 kB / 430.6 MB, free: 41.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.3179, allocations: 258.2 kB / 430.9 MB, free: 40.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007741/0.3186, allocations: 0.5519 MB / 431.4 MB, free: 40.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3186, allocations: 0 / 431.4 MB, free: 40.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009836/0.3196, allocations: 0.6026 MB / 432 MB, free: 40.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.3197, allocations: 93.98 kB / 432.1 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3197, allocations: 3.156 kB / 432.1 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.3199, allocations: 27.75 kB / 432.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.3202, allocations: 90.69 kB / 432.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006787/0.3209, allocations: 1.29 MB / 433.5 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.3213, allocations: 77.08 kB / 433.6 MB, free: 38.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.3213, allocations: 20.81 kB / 433.6 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004608/0.3218, allocations: 317.1 kB / 433.9 MB, free: 38.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003576/0.3221, allocations: 253.2 kB / 434.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006489/0.3228, allocations: 0.5284 MB / 434.7 MB, free: 37.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.3228, allocations: 3.156 kB / 434.7 MB, free: 37.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008933/0.3237, allocations: 0.577 MB / 435.3 MB, free: 37.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.3238, allocations: 92.89 kB / 435.4 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3238, allocations: 7.188 kB / 435.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.991e-05/0.3238, allocations: 24.95 kB / 435.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.3241, allocations: 85.91 kB / 435.5 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005676/0.3247, allocations: 1.285 MB / 436.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.3251, allocations: 65.62 kB / 436.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.3251, allocations: 20.06 kB / 436.9 MB, free: 36.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.3253, allocations: 274.7 kB / 437.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.3254, allocations: 52.59 kB / 437.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009454/0.3263, allocations: 0.5028 MB / 437.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3263, allocations: 7.219 kB / 437.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3263, allocations: 0 / 437.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3263, allocations: 6.609 kB / 437.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3278, allocations: 1.187 MB / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3278, allocations: 0 / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.3281, allocations: 58.97 kB / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/0.3282, allocations: 22 kB / 439 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.3282, allocations: 10.5 kB / 439 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00056/0.3288, allocations: 1.299 MB / 440.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3288, allocations: 3.938 kB / 440.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.33, allocations: 0.7847 MB / 441.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.3301, allocations: 128.5 kB / 441.2 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/0.3302, allocations: 18.19 kB / 441.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.3305, allocations: 47.19 kB / 441.2 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.3306, allocations: 30.92 kB / 441.3 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3307, allocations: 9.922 kB / 441.3 MB, free: 33.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003588/0.331, allocations: 413.5 kB / 441.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 3.828 kB / 441.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007146/0.3317, allocations: 291.3 kB / 442 MB, free: 32.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000843/0.3326, allocations: 366.5 kB / 442.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3342, allocations: 1.191 MB / 443.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3342, allocations: 0 / 443.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.3347, allocations: 440 kB / 444 MB, free: 31.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.3352, allocations: 91.69 kB / 444 MB, free: 31.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.337, allocations: 1.525 MB / 445.6 MB, free: 30.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3373, allocations: 0.8982 MB / 446.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3374, allocations: 42.84 kB / 446.5 MB, free: 29.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3374, allocations: 3.125 kB / 446.5 MB, free: 29.85 MB / 350.1 MB Notification: Performance of Templates: time 0.009902/0.3473, allocations: 10.63 MB / 457.1 MB, free: 28.67 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlangeCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlangeCalcHelperMain.o] Error 1