Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 95.59 kB / 16.67 MB, free: 6.105 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.001353/0.001353, allocations: 176.8 kB / 17.57 MB, free: 5.824 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.937/1.937, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2857/0.2857, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 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.0006738/0.000674, allocations: 14.33 kB / 385.2 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.159, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01737/0.1764, allocations: 14.12 MB / 458.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03645/0.2129, allocations: 27.84 MB / 486.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.2135, allocations: 4 kB / 486.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.2141, allocations: 83.58 kB / 486.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03065/0.2448, allocations: 6.821 MB / 493 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.246, allocations: 315.1 kB / 493.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004484/0.2505, allocations: 2.029 MB / 495.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.2506, allocations: 20.39 kB / 495.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.2512, allocations: 258.8 kB / 495.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006018/0.2572, allocations: 3.27 MB / 498.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.2573, allocations: 8 kB / 498.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02775/0.2851, allocations: 11.49 MB / 0.4984 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.2853, allocations: 43.81 kB / 0.4984 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.2857, allocations: 165 kB / 0.4986 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.3014, allocations: 4.526 MB / 0.503 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3014, allocations: 0 / 0.503 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3015, allocations: 0 / 0.503 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.3015, allocations: 0 / 0.503 GB, free: 13.93 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008421/0.3099, allocations: 1.545 MB / 0.5045 GB, free: 12.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.31, allocations: 8.031 kB / 0.5045 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.3118, allocations: 192.4 kB / 0.5047 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.3124, allocations: 267.9 kB / 0.505 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3125, allocations: 21.03 kB / 0.505 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.3126, allocations: 36.12 kB / 0.505 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.3151, allocations: 0.7564 MB / 0.5057 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3151, allocations: 0 / 0.5057 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.3152, allocations: 19.94 kB / 0.5058 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3152, allocations: 12 kB / 0.5058 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.3175, allocations: 0.8176 MB / 0.5066 GB, free: 10.13 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.3223, allocations: 2.714 MB / 0.5092 GB, free: 7.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.3237, allocations: 348.6 kB / 0.5096 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3239, allocations: 80.81 kB / 0.5096 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7622/1.086, allocations: 142.4 MB / 0.6487 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/1.088, allocations: 449.9 kB / 0.6492 GB, free: 7.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 6.963e-06/1.088, allocations: 4 kB / 0.6492 GB, free: 7.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.004521/1.092, allocations: 1.116 MB / 0.6503 GB, free: 5.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002778/1.093, allocations: 381.5 kB / 0.6506 GB, free: 5.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/1.093, allocations: 190.3 kB / 0.6508 GB, free: 5.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/1.093, allocations: 33.7 kB / 0.6508 GB, free: 5.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/1.093, allocations: 178.1 kB / 0.651 GB, free: 5.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/1.093, allocations: 117.3 kB / 0.6511 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/1.093, allocations: 48.5 kB / 0.6512 GB, free: 4.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/1.094, allocations: 330.8 kB / 0.6515 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/1.094, allocations: 81.06 kB / 0.6516 GB, free: 4.527 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/1.094, allocations: 345.5 kB / 0.6519 GB, free: 4.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/1.095, allocations: 492.8 kB / 0.6524 GB, free: 3.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/1.095, allocations: 4 kB / 0.6524 GB, free: 3.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009563/1.096, allocations: 465 kB / 0.6528 GB, free: 2.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.096, allocations: 16.25 kB / 0.6528 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/1.096, allocations: 8 kB / 0.6528 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/1.096, allocations: 12 kB / 0.6528 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.098, allocations: 215.6 kB / 0.653 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007469/1.098, allocations: 1.18 MB / 0.6542 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/1.099, allocations: 24.78 kB / 0.6542 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/1.099, allocations: 51.56 kB / 0.6543 GB, free: 1.453 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000266/1.099, allocations: 162.6 kB / 0.6544 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/1.099, allocations: 35.73 kB / 0.6545 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/1.103, allocations: 2.843 MB / 0.6572 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/1.103, allocations: 15.98 kB / 0.6572 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.103, allocations: 11.11 kB / 0.6573 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.103, allocations: 4 kB / 0.6573 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/1.104, allocations: 0.9621 MB / 0.6582 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.104, allocations: 8.312 kB / 0.6582 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/1.105, allocations: 104.3 kB / 0.6583 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003075/1.105, allocations: 170.7 kB / 0.6585 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/1.105, allocations: 11.94 kB / 0.6585 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004985/1.106, allocations: 0.6444 MB / 0.6591 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.106, allocations: 4 kB / 0.6591 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/1.107, allocations: 0.9718 MB / 0.6601 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.107, allocations: 350.8 kB / 0.6604 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.108, allocations: 8 kB / 0.6604 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/1.108, allocations: 31.83 kB / 0.6604 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/1.108, allocations: 27.91 kB / 0.6605 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/1.108, allocations: 19.92 kB / 0.6605 GB, free: 10.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006327/1.109, allocations: 471 kB / 0.6609 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.109, allocations: 4 kB / 0.6609 GB, free: 10.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006032/1.115, allocations: 1.602 MB / 0.6625 GB, free: 9.016 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01093/1.126, allocations: 1.868 MB / 0.6643 GB, free: 7.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/1.128, allocations: 0.5361 MB / 0.6649 GB, free: 6.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.128, allocations: 0 / 0.6649 GB, free: 6.777 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/1.128, allocations: 362.9 kB / 0.6652 GB, free: 6.426 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.13, allocations: 127.6 kB / 0.6653 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.025/2.155, allocations: 347.6 MB / 1.005 GB, free: 94.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/2.155, allocations: 0.9781 MB / 1.006 GB, free: 93.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/2.156, allocations: 59.39 kB / 1.006 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/2.156, allocations: 0 / 1.006 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.06417/2.22, allocations: 43.34 MB / 1.048 GB, free: 50.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pTCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pTCalcHelperMain.o] Error 1