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.001161/0.001161, allocations: 88.77 kB / 16.02 MB, free: 80 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.001645/0.001645, allocations: 186.5 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.051/2.051, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2907/0.2907, allocations: 8.029 MB / 300.1 MB, free: 3.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005112, allocations: 11.98 kB / 363 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1657, allocations: 52.19 MB / 415.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.007527/0.1733, allocations: 3.744 MB / 419 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.1776, allocations: 1.395 MB / 420.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.1783, allocations: 12 kB / 420.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005781/0.1789, allocations: 111.3 kB / 420.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008675/0.1798, allocations: 175 kB / 420.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.181, allocations: 339 kB / 421 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1825, allocations: 0.7635 MB / 421.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1837, allocations: 439.1 kB / 422.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.1843, allocations: 230.9 kB / 422.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.1849, allocations: 286.4 kB / 422.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1851, allocations: 32 kB / 422.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1853, allocations: 63.98 kB / 422.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.1856, allocations: 143.4 kB / 422.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.1862, allocations: 351.7 kB / 423.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.1875, allocations: 0.7793 MB / 424 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1875, allocations: 0 / 424 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1876, allocations: 0 / 424 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1876, allocations: 0 / 424 MB, free: 0.8477 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.3558/0.5434, allocations: 0.9839 MB / 425 MB, free: 41.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.5435, allocations: 8.406 kB / 425 MB, free: 41.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.5439, allocations: 84.7 kB / 425.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.545, allocations: 0.4968 MB / 425.6 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/0.5451, allocations: 48.88 kB / 425.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5453, allocations: 74.16 kB / 425.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.5475, allocations: 0.6818 MB / 426.4 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.5476, allocations: 6.406 kB / 426.4 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.5477, allocations: 34.17 kB / 426.5 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.5477, allocations: 16.5 kB / 426.5 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.5497, allocations: 0.5107 MB / 427 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005655/0.5553, allocations: 2.611 MB / 429.6 MB, free: 40.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.5569, allocations: 454.1 kB / 430 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.5576, allocations: 189.9 kB / 430.2 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.5577, allocations: 7.453 kB / 430.2 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000915/0.5586, allocations: 271.1 kB / 430.5 MB, free: 39.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 4.398e-06/0.5586, allocations: 0 / 430.5 MB, free: 39.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.002647/0.5613, allocations: 0.7306 MB / 431.2 MB, free: 39.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.5614, allocations: 136.6 kB / 431.4 MB, free: 39.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5624, allocations: 0.5648 MB / 431.9 MB, free: 39.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.5625, allocations: 35.52 kB / 432 MB, free: 39.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.5629, allocations: 343.7 kB / 432.3 MB, free: 39.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.563, allocations: 104.6 kB / 432.4 MB, free: 39.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.5632, allocations: 46.55 kB / 432.4 MB, free: 39.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5633, allocations: 362.8 kB / 432.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.564, allocations: 167.9 kB / 433 MB, free: 38.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.5648, allocations: 274.2 kB / 433.2 MB, free: 38.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.5663, allocations: 0.5626 MB / 433.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5663, allocations: 7.188 kB / 433.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002151/0.5685, allocations: 0.6221 MB / 434.4 MB, free: 38.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.5686, allocations: 260.5 kB / 434.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5687, allocations: 3.219 kB / 434.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/0.5689, allocations: 30.53 kB / 434.7 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.5695, allocations: 93.08 kB / 434.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.5706, allocations: 1.286 MB / 436.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.5714, allocations: 90.38 kB / 436.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.5714, allocations: 19.47 kB / 436.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.5715, allocations: 3.156 kB / 436.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001562/0.573, allocations: 0.5459 MB / 436.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.573, allocations: 7.375 kB / 436.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.5732, allocations: 20.22 kB / 436.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.5737, allocations: 82.64 kB / 436.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009855/0.5747, allocations: 1.283 MB / 438.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.5754, allocations: 76.36 kB / 438.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.5754, allocations: 17.28 kB / 438.2 MB, free: 34.91 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.000618/0.5761, allocations: 367.8 kB / 438.6 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5762, allocations: 59.47 kB / 438.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.5779, allocations: 0.5157 MB / 439.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.5779, allocations: 2.844 kB / 439.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.578, allocations: 3.516 kB / 439.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.578, allocations: 6.234 kB / 439.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.5808, allocations: 1.168 MB / 440.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5809, allocations: 3.938 kB / 440.3 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.5814, allocations: 68.39 kB / 440.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.5815, allocations: 25.73 kB / 440.4 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.5816, allocations: 7.156 kB / 440.4 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.5826, allocations: 1.285 MB / 441.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5826, allocations: 0 / 441.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.5849, allocations: 0.8112 MB / 442.5 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.5851, allocations: 141.8 kB / 442.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5852, allocations: 9.938 kB / 442.7 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.5859, allocations: 52.94 kB / 442.7 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.586, allocations: 39.2 kB / 442.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.5861, allocations: 17.67 kB / 442.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007877/0.5869, allocations: 402.1 kB / 443.2 MB, free: 31.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5869, allocations: 4 kB / 443.2 MB, free: 31.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001594/0.5885, allocations: 275 kB / 443.5 MB, free: 31.46 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.001565/0.5901, allocations: 363 kB / 443.8 MB, free: 31.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.5931, allocations: 1.213 MB / 445 MB, free: 30.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.5931, allocations: 0 / 445 MB, free: 30.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009162/0.5941, allocations: 442 kB / 445.5 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.5951, allocations: 95.16 kB / 445.5 MB, free: 30.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.5983, allocations: 1.561 MB / 447.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.5988, allocations: 0.8906 MB / 448 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.599, allocations: 43.91 kB / 448 MB, free: 28.47 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.599, allocations: 0 / 448 MB, free: 28.47 MB / 350.1 MB Notification: Performance of Templates: time 0.02264/0.6217, allocations: 10.25 MB / 458.3 MB, free: 27.42 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