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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.000935/0.0009351, allocations: 103 kB / 15.71 MB, free: 460 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.001201/0.001201, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.598/1.598, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.2499/0.2499, allocations: 8.614 MB / 300.3 MB, free: 3.207 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 12 kB / 363.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 52.33 MB / 415.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004831/0.1317, allocations: 3.533 MB / 419 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.1342, allocations: 1.318 MB / 420.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.1345, allocations: 15.94 kB / 420.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1348, allocations: 115.3 kB / 420.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1353, allocations: 163 kB / 420.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.1359, allocations: 250.9 kB / 420.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007159/0.1367, allocations: 0.7241 MB / 421.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005131/0.1372, allocations: 312 kB / 421.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.1375, allocations: 227 kB / 422.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.1378, allocations: 266.7 kB / 422.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/0.1379, allocations: 36 kB / 422.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1381, allocations: 51.98 kB / 422.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.1383, allocations: 139.4 kB / 422.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1384, allocations: 153.3 kB / 422.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.1391, allocations: 0.7637 MB / 423.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1391, allocations: 3.938 kB / 423.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1391, allocations: 0 / 423.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1392, allocations: 0 / 423.5 MB, free: 1.098 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.001637/0.1408, allocations: 0.9969 MB / 424.5 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1409, allocations: 15.97 kB / 424.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2595/0.4004, allocations: 76.3 kB / 424.6 MB, free: 41.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.4012, allocations: 477.5 kB / 425.1 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.4013, allocations: 49.53 kB / 425.1 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.4014, allocations: 62.06 kB / 425.2 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4027, allocations: 0.6651 MB / 425.8 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4028, allocations: 7.969 kB / 425.8 MB, free: 41.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.4028, allocations: 28.91 kB / 425.9 MB, free: 41.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.4028, allocations: 14.62 kB / 425.9 MB, free: 41.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.4039, allocations: 0.4949 MB / 426.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.4069, allocations: 2.544 MB / 428.9 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.4078, allocations: 445.5 kB / 429.3 MB, free: 39.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.4082, allocations: 186.5 kB / 429.5 MB, free: 39.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.4082, allocations: 8.109 kB / 429.5 MB, free: 39.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000529/0.4087, allocations: 266.6 kB / 429.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.585e-06/0.4087, allocations: 0 / 429.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001494/0.4102, allocations: 0.7358 MB / 430.5 MB, free: 39.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.4103, allocations: 137.4 kB / 430.7 MB, free: 39.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.4111, allocations: 0.5515 MB / 431.2 MB, free: 39.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.4111, allocations: 32.11 kB / 431.3 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.4113, allocations: 339.3 kB / 431.6 MB, free: 39.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/0.4114, allocations: 112.5 kB / 431.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.4114, allocations: 9.812 kB / 431.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4116, allocations: 360.7 kB / 432.1 MB, free: 38.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.4119, allocations: 161.8 kB / 432.2 MB, free: 38.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.4123, allocations: 275.3 kB / 432.5 MB, free: 38.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.4127, allocations: 269.4 kB / 432.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4127, allocations: 4.938 kB / 432.8 MB, free: 38.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001106/0.4138, allocations: 0.6128 MB / 433.4 MB, free: 38.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.414, allocations: 265.5 kB / 433.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.414, allocations: 3.281 kB / 433.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.4142, allocations: 26.8 kB / 433.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.4145, allocations: 89.78 kB / 433.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008363/0.4153, allocations: 1.284 MB / 435 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.4158, allocations: 90.23 kB / 435.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.4158, allocations: 23.22 kB / 435.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.15e-06/0.4158, allocations: 3.156 kB / 435.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008944/0.4167, allocations: 0.5339 MB / 435.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4167, allocations: 11.2 kB / 435.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.371e-05/0.4168, allocations: 29.2 kB / 435.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.4171, allocations: 81.47 kB / 435.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006795/0.4178, allocations: 1.288 MB / 437.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.4181, allocations: 80.61 kB / 437.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.4182, allocations: 19.94 kB / 437.2 MB, free: 35.14 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 ($whenCondition1,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,oneFlange.limTau.state,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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003788/0.4186, allocations: 348.8 kB / 437.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.4186, allocations: 58.34 kB / 437.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4197, allocations: 0.5226 MB / 438.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4197, allocations: 3.062 kB / 438.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4197, allocations: 0 / 438.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4197, allocations: 3.422 kB / 438.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.4212, allocations: 1.163 MB / 439.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4212, allocations: 0 / 439.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.4215, allocations: 63.64 kB / 439.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-05/0.4216, allocations: 25.89 kB / 439.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.4216, allocations: 13.03 kB / 439.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000625/0.4222, allocations: 1.28 MB / 440.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4223, allocations: 3.938 kB / 440.7 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.4235, allocations: 0.8045 MB / 441.5 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.4236, allocations: 139.5 kB / 441.6 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.4237, allocations: 7.094 kB / 441.6 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.424, allocations: 58.02 kB / 441.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4242, allocations: 35.67 kB / 441.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.4242, allocations: 9.531 kB / 441.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004302/0.4246, allocations: 402.4 kB / 442.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4246, allocations: 4 kB / 442.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007597/0.4254, allocations: 265 kB / 442.4 MB, free: 31.72 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009335/0.4263, allocations: 364.4 kB / 442.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.4281, allocations: 1.212 MB / 443.9 MB, free: 30.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4281, allocations: 3 kB / 443.9 MB, free: 30.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.4287, allocations: 438.9 kB / 444.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.4292, allocations: 88.84 kB / 444.4 MB, free: 30.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.4313, allocations: 1.454 MB / 445.9 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4317, allocations: 0.8899 MB / 446.8 MB, free: 28.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4318, allocations: 38.83 kB / 446.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4318, allocations: 0 / 446.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of Templates: time 0.01416/0.446, allocations: 10.11 MB / 456.9 MB, free: 27.79 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++ 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 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