Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004242/0.004242, allocations: 100.8 kB / 15.87 MB, free: 5.863 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.0009513/0.0009514, allocations: 190 kB / 16.79 MB, free: 5.805 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.262/1.262, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.163/0.163, allocations: 8.027 MB / 298.6 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 63.89 kB / 360.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1036, allocations: 51.2 MB / 411.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005036/0.1087, allocations: 4.153 MB / 415.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1109, allocations: 1.418 MB / 417.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.1112, allocations: 8 kB / 417.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1116, allocations: 123.3 kB / 417.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1119, allocations: 159 kB / 417.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.1125, allocations: 343 kB / 418 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006185/0.1132, allocations: 0.7675 MB / 418.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.1137, allocations: 451 kB / 419.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.114, allocations: 271 kB / 419.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.1143, allocations: 338.3 kB / 419.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.802e-05/0.1144, allocations: 52 kB / 419.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1146, allocations: 75.98 kB / 419.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1147, allocations: 175.4 kB / 420.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.1151, allocations: 354.1 kB / 420.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.1157, allocations: 0.8108 MB / 421.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1157, allocations: 4 kB / 421.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1157, allocations: 0 / 421.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1158, allocations: 0 / 421.2 MB, free: 2.027 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001691/0.1175, allocations: 1.108 MB / 422.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1175, allocations: 8.031 kB / 422.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1176, allocations: 87.98 kB / 422.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.1182, allocations: 0.4899 MB / 422.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.1183, allocations: 53.25 kB / 423 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.1184, allocations: 75.91 kB / 423.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1807/0.2991, allocations: 0.6638 MB / 423.7 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.2991, allocations: 2.531 kB / 423.7 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.2992, allocations: 26.12 kB / 423.7 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2992, allocations: 14.72 kB / 423.8 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.3002, allocations: 491.9 kB / 424.2 MB, free: 44.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.3033, allocations: 2.586 MB / 426.8 MB, free: 43.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.3041, allocations: 423.6 kB / 427.2 MB, free: 43.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.3045, allocations: 170.8 kB / 427.4 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.3045, allocations: 7.219 kB / 427.4 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.3051, allocations: 253.4 kB / 427.7 MB, free: 43.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.3051, allocations: 0 / 427.7 MB, free: 43.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001329/0.3064, allocations: 0.6893 MB / 428.3 MB, free: 42.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3065, allocations: 140.7 kB / 428.5 MB, free: 42.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.307, allocations: 0.5562 MB / 429 MB, free: 42.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.307, allocations: 32.86 kB / 429.1 MB, free: 42.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.3072, allocations: 353.3 kB / 429.4 MB, free: 41.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.3072, allocations: 100.8 kB / 429.5 MB, free: 41.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3073, allocations: 71.53 kB / 429.6 MB, free: 41.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.3074, allocations: 360.7 kB / 429.9 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.3078, allocations: 165.5 kB / 430.1 MB, free: 41.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.3082, allocations: 257.6 kB / 430.4 MB, free: 41.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/0.3089, allocations: 0.5275 MB / 430.9 MB, free: 40.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3089, allocations: 3.281 kB / 430.9 MB, free: 40.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000948/0.3099, allocations: 0.6044 MB / 431.5 MB, free: 40.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.3099, allocations: 96.61 kB / 431.6 MB, free: 40.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.31, allocations: 3.312 kB / 431.6 MB, free: 40.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.3101, allocations: 17.7 kB / 431.6 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.3104, allocations: 87.11 kB / 431.7 MB, free: 40.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006194/0.311, allocations: 1.277 MB / 433 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.3114, allocations: 80.83 kB / 433 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3114, allocations: 16.66 kB / 433.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004546/0.3119, allocations: 315.5 kB / 433.4 MB, free: 38.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003302/0.3122, allocations: 251.4 kB / 433.6 MB, free: 38.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006391/0.3129, allocations: 0.5131 MB / 434.1 MB, free: 38.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.3129, allocations: 3.328 kB / 434.1 MB, free: 38.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008589/0.3138, allocations: 0.5561 MB / 434.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.3138, allocations: 93.95 kB / 434.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.3138, allocations: 3.562 kB / 434.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.899e-05/0.3139, allocations: 32.2 kB / 434.8 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.3142, allocations: 73.45 kB / 434.9 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005443/0.3147, allocations: 1.29 MB / 436.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.3151, allocations: 67.73 kB / 436.2 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.3151, allocations: 15.81 kB / 436.3 MB, free: 36.7 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,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0001349/0.3153, allocations: 263.7 kB / 436.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.3153, allocations: 48.5 kB / 436.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/0.3162, allocations: 0.4949 MB / 437.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3162, allocations: 8.656 kB / 437.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3162, allocations: 3.828 kB / 437.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3163, allocations: 0 / 437.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.3176, allocations: 1.139 MB / 438.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3176, allocations: 4 kB / 438.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3179, allocations: 55.05 kB / 438.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/0.3179, allocations: 24.58 kB / 438.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.318, allocations: 10.56 kB / 438.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005324/0.3185, allocations: 1.28 MB / 439.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3185, allocations: 3.438 kB / 439.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3197, allocations: 0.7718 MB / 440.4 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.3198, allocations: 134 kB / 440.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.3199, allocations: 11.28 kB / 440.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.3202, allocations: 45.45 kB / 440.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.3203, allocations: 29.78 kB / 440.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.3203, allocations: 9.812 kB / 440.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000332/0.3207, allocations: 410.9 kB / 441 MB, free: 33.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3207, allocations: 3.156 kB / 441 MB, free: 33.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.3213, allocations: 272.1 kB / 441.3 MB, free: 33.34 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * 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.0007643/0.3221, allocations: 369.5 kB / 441.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.3236, allocations: 1.163 MB / 442.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3236, allocations: 0 / 442.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.3241, allocations: 430.7 kB / 443.2 MB, free: 32.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.3246, allocations: 83.5 kB / 443.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.3264, allocations: 1.481 MB / 444.8 MB, free: 31.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3266, allocations: 0.8933 MB / 445.7 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3268, allocations: 40.97 kB / 445.7 MB, free: 30.42 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3268, allocations: 0 / 445.7 MB, free: 30.42 MB / 350.1 MB Notification: Performance of Templates: time 0.01031/0.3371, allocations: 10.35 MB / 456 MB, free: 29.27 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConnCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConnCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConnCalcHelperMain.o] Error 1