Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.000893, allocations: 99.12 kB / 15.71 MB, free: 452 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.001148/0.001148, allocations: 176.5 kB / 16.58 MB, free: 6.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06374/0.06374, allocations: 10.98 MB / 282 MB, free: 10.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.0161/0.0161, allocations: 4.231 MB / 336.7 MB, free: 29.13 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004852, allocations: 12 kB / 399.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2789, allocations: 50.76 MB / 450 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.001344/0.2803, allocations: 1.161 MB / 451.2 MB, free: 46.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000776/0.2811, allocations: 0.5296 MB / 451.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.2811, allocations: 0 / 451.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2813, allocations: 9.422 kB / 451.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.2815, allocations: 38.62 kB / 451.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.2817, allocations: 54.89 kB / 451.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.2819, allocations: 280.2 kB / 452.1 MB, free: 46.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.282, allocations: 8.719 kB / 452.1 MB, free: 46.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.2821, allocations: 107.6 kB / 452.2 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2823, allocations: 115.5 kB / 452.3 MB, free: 45.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.2824, allocations: 12.53 kB / 452.3 MB, free: 45.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.409e-05/0.2824, allocations: 16.47 kB / 452.3 MB, free: 45.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.2825, allocations: 72.81 kB / 452.4 MB, free: 45.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.2826, allocations: 42.17 kB / 452.4 MB, free: 45.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.2827, allocations: 175.4 kB / 452.6 MB, free: 45.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2827, allocations: 0 / 452.6 MB, free: 45.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2827, allocations: 0 / 452.6 MB, free: 45.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2828, allocations: 0 / 452.6 MB, free: 45.78 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001646/0.2844, allocations: 0.6536 MB / 453.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2844, allocations: 12.2 kB / 453.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.2845, allocations: 12.78 kB / 453.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.2847, allocations: 236.2 kB / 453.5 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2847, allocations: 14.45 kB / 453.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.2848, allocations: 18.81 kB / 453.6 MB, free: 44.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.2853, allocations: 327.7 kB / 453.9 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2853, allocations: 1.156 kB / 453.9 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.2854, allocations: 0 / 453.9 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.2854, allocations: 23.33 kB / 453.9 MB, free: 44.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.286, allocations: 369.9 kB / 454.3 MB, free: 44.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.2879, allocations: 1.009 MB / 455.3 MB, free: 43.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.2883, allocations: 257.4 kB / 455.5 MB, free: 43.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.2886, allocations: 159.7 kB / 455.7 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2886, allocations: 5.922 kB / 455.7 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.289, allocations: 243.7 kB / 455.9 MB, free: 43.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.289, allocations: 0 / 455.9 MB, free: 43.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009835/0.29, allocations: 0.4968 MB / 456.4 MB, free: 43.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.2901, allocations: 61.86 kB / 456.5 MB, free: 43.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.2902, allocations: 191.9 kB / 456.7 MB, free: 43.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2903, allocations: 35.8 kB / 456.7 MB, free: 43.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.2903, allocations: 132.4 kB / 456.8 MB, free: 42.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.2904, allocations: 64.28 kB / 456.9 MB, free: 42.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.2904, allocations: 5.969 kB / 456.9 MB, free: 42.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.2905, allocations: 332 kB / 457.2 MB, free: 42.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.2909, allocations: 202.9 kB / 457.4 MB, free: 42.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.2913, allocations: 296.7 kB / 457.7 MB, free: 42.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.2917, allocations: 266.4 kB / 458 MB, free: 42.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2918, allocations: 1.219 kB / 458 MB, free: 42.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009738/0.2927, allocations: 0.576 MB / 458.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.2928, allocations: 45.75 kB / 458.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2928, allocations: 4 kB / 458.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2928, allocations: 4 kB / 458.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/0.2934, allocations: 119.8 kB / 458.7 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2934, allocations: 4 kB / 458.7 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.2937, allocations: 63.64 kB / 458.8 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.2937, allocations: 19.94 kB / 458.8 MB, free: 41.45 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.2939, allocations: 149.7 kB / 459 MB, free: 41.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2939, allocations: 11.81 kB / 459 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.294, allocations: 45.52 kB / 459 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.294, allocations: 4 kB / 459 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.294, allocations: 0 / 459 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2941, allocations: 0 / 459 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.2944, allocations: 385 kB / 459.4 MB, free: 40.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2944, allocations: 3.953 kB / 459.4 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.2949, allocations: 83.86 kB / 459.5 MB, free: 40.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2949, allocations: 0 / 459.5 MB, free: 40.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.2949, allocations: 19.97 kB / 459.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2949, allocations: 0 / 459.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2949, allocations: 4 kB / 459.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/0.2958, allocations: 0.5356 MB / 460 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.2958, allocations: 92.95 kB / 460.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.2959, allocations: 12 kB / 460.1 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.2961, allocations: 35.94 kB / 460.2 MB, free: 39.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.2962, allocations: 23.97 kB / 460.2 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.2963, allocations: 11.97 kB / 460.2 MB, free: 39.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.977e-05/0.2963, allocations: 129.8 kB / 460.3 MB, free: 39.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2963, allocations: 192 / 460.3 MB, free: 39.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.2966, allocations: 48 kB / 460.4 MB, free: 39.78 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (transport.u[1,1],transport.u[1,2],transport.u[2,1],transport.u[2,2],transport.u[3,1],transport.u[3,2],transport.u[4,1],transport.u[4,2],transport.u[5,1],transport.u[5,2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.2968, allocations: 112.9 kB / 460.5 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007798/0.2976, allocations: 492 kB / 461 MB, free: 39.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2976, allocations: 0 / 461 MB, free: 39.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.2979, allocations: 180.5 kB / 461.1 MB, free: 39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.2982, allocations: 15.98 kB / 461.2 MB, free: 38.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.2991, allocations: 0.6559 MB / 461.8 MB, free: 38.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2993, allocations: 0.7362 MB / 462.6 MB, free: 37.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.2995, allocations: 35.39 kB / 462.6 MB, free: 37.5 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2995, allocations: 0 / 462.6 MB, free: 37.5 MB / 318.1 MB Notification: Performance of Templates: time 0.004475/0.3039, allocations: 3.093 MB / 465.7 MB, free: 34.41 MB / 318.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.makefile make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.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 OMCppTAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrderCalcHelperMain.o OMCppTAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppTAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrderCalcHelperMain.o] Error 1