Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 173.2 kB / 17.4 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.7 MB / 243.9 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007627, allocations: 98.28 kB / 295.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3208/0.3208, allocations: 44.32 MB / 390.5 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 8 kB / 463.1 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3373, allocations: 61.9 MB / 0.5127 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1535/0.4908, allocations: 141.7 MB / 0.6511 GB, free: 15.41 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.505, allocations: 15.86 MB / 0.6666 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.5053, allocations: 0 / 0.6666 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.5059, allocations: 75.61 kB / 0.6667 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007581/0.5135, allocations: 2.68 MB / 0.6693 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.514, allocations: 151.7 kB / 0.6694 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.5151, allocations: 0.7674 MB / 0.6702 GB, free: 10.49 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.5152, allocations: 16.41 kB / 0.6702 GB, free: 10.47 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.5158, allocations: 223.1 kB / 0.6704 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.5168, allocations: 406.9 kB / 0.6708 GB, free: 9.855 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.5169, allocations: 12 kB / 0.6708 GB, free: 9.844 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009579/0.5265, allocations: 5.052 MB / 0.6757 GB, free: 4.785 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.5267, allocations: 95.66 kB / 0.6758 GB, free: 4.691 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.5271, allocations: 177 kB / 0.676 GB, free: 4.512 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007152/0.5343, allocations: 2.572 MB / 0.6785 GB, free: 1.934 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5343, allocations: 0 / 0.6785 GB, free: 1.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5344, allocations: 0 / 0.6785 GB, free: 1.934 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.5344, allocations: 4 kB / 0.6785 GB, free: 1.93 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002703/0.5371, allocations: 0.9827 MB / 0.6795 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5372, allocations: 11.97 kB / 0.6795 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.5374, allocations: 36.03 kB / 0.6795 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.5377, allocations: 250.7 kB / 0.6797 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5379, allocations: 135.4 kB / 0.6799 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.5379, allocations: 31.94 kB / 0.6799 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2648/0.8028, allocations: 0.5469 MB / 0.6804 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.8028, allocations: 7.031 kB / 0.6804 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.8029, allocations: 14.11 kB / 0.6805 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.996e-05/0.803, allocations: 31.05 kB / 0.6805 GB, free: 145.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.805, allocations: 1.253 MB / 0.6817 GB, free: 145.2 MB / 490.7 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.002286/0.8073, allocations: 1.975 MB / 0.6836 GB, free: 143.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.808, allocations: 255.8 kB / 0.6839 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.8082, allocations: 118 kB / 0.684 GB, free: 143.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002781/0.811, allocations: 3.096 MB / 0.687 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.811, allocations: 42.33 kB / 0.6871 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.625e-06/0.811, allocations: 0 / 0.6871 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.002013/0.813, allocations: 0.7079 MB / 0.6878 GB, free: 140.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.8131, allocations: 60.81 kB / 0.6878 GB, free: 140.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.8133, allocations: 203.1 kB / 0.688 GB, free: 140 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.8133, allocations: 33.67 kB / 0.688 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8134, allocations: 196.8 kB / 0.6882 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.8135, allocations: 150.4 kB / 0.6884 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.8136, allocations: 10.56 kB / 0.6884 GB, free: 139.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.8136, allocations: 340.5 kB / 0.6887 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.8138, allocations: 100.3 kB / 0.6888 GB, free: 139.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.8142, allocations: 409.1 kB / 0.6892 GB, free: 138.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.8147, allocations: 0.5727 MB / 0.6897 GB, free: 138.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.8147, allocations: 7.75 kB / 0.6898 GB, free: 138.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000816/0.8156, allocations: 0.5564 MB / 0.6903 GB, free: 138.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.8156, allocations: 8.688 kB / 0.6903 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.8156, allocations: 12.91 kB / 0.6903 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.8157, allocations: 14.12 kB / 0.6903 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.8163, allocations: 194.7 kB / 0.6905 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004223/0.8167, allocations: 1.199 MB / 0.6917 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.817, allocations: 25.03 kB / 0.6917 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.8171, allocations: 51.44 kB / 0.6918 GB, free: 137 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001565/0.8173, allocations: 173 kB / 0.6919 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.8173, allocations: 31.03 kB / 0.692 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.8184, allocations: 0.6361 MB / 0.6926 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8184, allocations: 5.062 kB / 0.6926 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8184, allocations: 0 / 0.6926 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8184, allocations: 6.016 kB / 0.6926 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/0.8192, allocations: 0.8194 MB / 0.6934 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8193, allocations: 0 / 0.6934 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.8196, allocations: 97.69 kB / 0.6935 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8197, allocations: 2.844 kB / 0.6935 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.8197, allocations: 8.094 kB / 0.6935 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003098/0.82, allocations: 1.176 MB / 0.6946 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.82, allocations: 0.9844 kB / 0.6946 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.8204, allocations: 364 kB / 0.695 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.8205, allocations: 139.8 kB / 0.6951 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.8205, allocations: 11.25 kB / 0.6951 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.8208, allocations: 9.875 kB / 0.6951 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.8209, allocations: 24.75 kB / 0.6952 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.8209, allocations: 15.98 kB / 0.6952 GB, free: 134.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.821, allocations: 172.7 kB / 0.6953 GB, free: 134.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.821, allocations: 0 / 0.6953 GB, free: 134.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001382/0.8224, allocations: 496.5 kB / 0.6958 GB, free: 134.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.001611/0.824, allocations: 0.7412 MB / 0.6965 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006865/0.8247, allocations: 370 kB / 0.6969 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8247, allocations: 4.188 kB / 0.6969 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.8251, allocations: 142 kB / 0.697 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.8258, allocations: 132.2 kB / 0.6972 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.8326, allocations: 5.55 MB / 0.7026 GB, free: 131.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.8328, allocations: 0.769 MB / 0.7033 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000677/0.8335, allocations: 197.9 kB / 0.7035 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.8337, allocations: 72.48 kB / 0.7036 GB, free: 130.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8337, allocations: 0 / 0.7036 GB, free: 130.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02607/0.8598, allocations: 14.78 MB / 0.718 GB, free: 127.4 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches