Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, 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.001191/0.001191, allocations: 198.7 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.304/1.304, allocations: 222.9 MB / 240.5 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1847/0.1847, allocations: 8.022 MB / 298.6 MB, free: 2.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.89 kB / 360.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1006, allocations: 51.18 MB / 411.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005602/0.1063, allocations: 4.122 MB / 415.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.1088, allocations: 1.403 MB / 417.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.1092, allocations: 15.94 kB / 417.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.1097, allocations: 127.3 kB / 417.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.1101, allocations: 159 kB / 417.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.1108, allocations: 347.2 kB / 417.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.1115, allocations: 0.7514 MB / 418.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005394/0.112, allocations: 402.4 kB / 419.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1123, allocations: 263 kB / 419.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.1127, allocations: 326.5 kB / 419.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.571e-05/0.1127, allocations: 48 kB / 419.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1129, allocations: 75.98 kB / 419.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1131, allocations: 163.4 kB / 419.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.1134, allocations: 358.1 kB / 420.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.1141, allocations: 0.803 MB / 421.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1141, allocations: 0 / 421.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1141, allocations: 0 / 421.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1141, allocations: 0 / 421.1 MB, free: 2.211 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001717/0.1159, allocations: 1.094 MB / 422.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1159, allocations: 8.031 kB / 422.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1161, allocations: 80 kB / 422.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.1167, allocations: 0.4973 MB / 422.8 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.1167, allocations: 45.31 kB / 422.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.1168, allocations: 67.94 kB / 422.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1848/0.3016, allocations: 0.6483 MB / 423.5 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.3017, allocations: 1.562 kB / 423.5 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.3017, allocations: 25.69 kB / 423.6 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3018, allocations: 19.56 kB / 423.6 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.3027, allocations: 481.4 kB / 424 MB, free: 44.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.3058, allocations: 2.508 MB / 426.5 MB, free: 43.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.3066, allocations: 423.8 kB / 427 MB, free: 43.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.3069, allocations: 173 kB / 427.1 MB, free: 43.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.307, allocations: 6.484 kB / 427.1 MB, free: 43.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005347/0.3075, allocations: 249.2 kB / 427.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.3075, allocations: 0 / 427.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001364/0.3089, allocations: 0.6844 MB / 428.1 MB, free: 42.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.309, allocations: 139 kB / 428.2 MB, free: 42.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.3094, allocations: 0.5517 MB / 428.8 MB, free: 42.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3095, allocations: 32.92 kB / 428.8 MB, free: 42.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.3097, allocations: 342 kB / 429.1 MB, free: 42.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.3097, allocations: 104.4 kB / 429.2 MB, free: 42.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3098, allocations: 76.34 kB / 429.3 MB, free: 41.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.3099, allocations: 364.6 kB / 429.7 MB, free: 41.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3103, allocations: 164.7 kB / 429.8 MB, free: 41.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.3107, allocations: 255.7 kB / 430.1 MB, free: 41.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.3114, allocations: 0.5275 MB / 430.6 MB, free: 41.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3114, allocations: 0 / 430.6 MB, free: 41.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009445/0.3124, allocations: 0.5921 MB / 431.2 MB, free: 40.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.3124, allocations: 93.75 kB / 431.3 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3124, allocations: 3.625 kB / 431.3 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.3126, allocations: 28.8 kB / 431.3 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.3129, allocations: 80.19 kB / 431.4 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000667/0.3136, allocations: 1.286 MB / 432.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.314, allocations: 79.33 kB / 432.7 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.314, allocations: 12.72 kB / 432.8 MB, free: 39.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004465/0.3145, allocations: 313.9 kB / 433.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003261/0.3148, allocations: 251.5 kB / 433.3 MB, free: 38.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006079/0.3154, allocations: 0.5127 MB / 433.8 MB, free: 38.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.3154, allocations: 0 / 433.8 MB, free: 38.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008814/0.3163, allocations: 0.5636 MB / 434.4 MB, free: 38.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.3164, allocations: 91.09 kB / 434.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3164, allocations: 9.188 kB / 434.5 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.501e-05/0.3165, allocations: 25.75 kB / 434.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.3167, allocations: 77.47 kB / 434.6 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007063/0.3174, allocations: 1.28 MB / 435.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.3178, allocations: 69.84 kB / 435.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3179, allocations: 16.88 kB / 436 MB, free: 36.85 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.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.0002095/0.3181, allocations: 277.2 kB / 436.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.3182, allocations: 49.84 kB / 436.3 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3192, allocations: 0.4889 MB / 436.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3192, allocations: 3.25 kB / 436.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3192, allocations: 7.094 kB / 436.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3192, allocations: 0 / 436.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3209, allocations: 1.129 MB / 437.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3209, allocations: 4.766 kB / 437.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.3212, allocations: 56.14 kB / 438 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.3213, allocations: 21.83 kB / 438 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.3213, allocations: 7.219 kB / 438 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006972/0.322, allocations: 1.276 MB / 439.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.322, allocations: 3.281 kB / 439.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.3233, allocations: 0.7727 MB / 440 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.3234, allocations: 128 kB / 440.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.3234, allocations: 8.312 kB / 440.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.3238, allocations: 47.92 kB / 440.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3239, allocations: 38.25 kB / 440.3 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3239, allocations: 13.89 kB / 440.3 MB, free: 33.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003759/0.3243, allocations: 402.2 kB / 440.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3243, allocations: 0 / 440.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006754/0.325, allocations: 272.3 kB / 440.9 MB, free: 33.5 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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.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.0008538/0.3259, allocations: 376.4 kB / 441.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3274, allocations: 1.155 MB / 442.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3275, allocations: 0 / 442.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.328, allocations: 435.1 kB / 442.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.3285, allocations: 84.58 kB / 443 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3302, allocations: 1.452 MB / 444.4 MB, free: 31.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3305, allocations: 0.8914 MB / 445.3 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3306, allocations: 42.53 kB / 445.3 MB, free: 30.62 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3306, allocations: 0 / 445.3 MB, free: 30.62 MB / 350.1 MB Notification: Performance of Templates: time 0.009849/0.3405, allocations: 10.18 MB / 455.5 MB, free: 29.5 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlangeCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeCalcHelperMain.o] Error 1