Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 108 kB / 16.41 MB, free: 6.484 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.001341/0.001341, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.649/1.649, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2327/0.2327, allocations: 43.52 MB / 314.1 MB, free: 460 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.001474/0.001474, allocations: 67.91 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1485, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03703/0.1855, allocations: 27.2 MB / 0.5145 GB, free: 488 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.2041, allocations: 13.08 MB / 0.5273 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.2045, allocations: 4 kB / 0.5273 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.2051, allocations: 79.5 kB / 0.5273 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.4017/0.6068, allocations: 8.547 MB / 0.5357 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.6088, allocations: 428.5 kB / 0.5361 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.6102, allocations: 495.1 kB / 0.5366 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.6103, allocations: 18.86 kB / 0.5366 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.6108, allocations: 188.5 kB / 0.5368 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0183/0.6291, allocations: 6.001 MB / 0.5426 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.6294, allocations: 18.41 kB / 0.5426 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03423/0.6636, allocations: 13.05 MB / 0.5554 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.6638, allocations: 86.75 kB / 0.5555 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.6641, allocations: 147 kB / 0.5556 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02263/0.6867, allocations: 6.61 MB / 0.5621 GB, free: 1.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6868, allocations: 0 / 0.5621 GB, free: 1.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6868, allocations: 0 / 0.5621 GB, free: 1.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.6868, allocations: 0 / 0.5621 GB, free: 1.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.006116/0.6929, allocations: 1.572 MB / 0.5636 GB, free: 84 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.693, allocations: 14.7 kB / 0.5636 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.6933, allocations: 30.39 kB / 0.5636 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.6937, allocations: 244.3 kB / 0.5639 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.6938, allocations: 19 kB / 0.5639 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.6938, allocations: 28 kB / 0.5639 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.6947, allocations: 0.5148 MB / 0.5644 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6948, allocations: 2.906 kB / 0.5644 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.6948, allocations: 21.98 kB / 0.5644 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.6949, allocations: 21.86 kB / 0.5645 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.6961, allocations: 0.9188 MB / 0.5654 GB, free: 15.1 MB / 430.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.002364/0.6985, allocations: 1.906 MB / 0.5672 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.6993, allocations: 271.7 kB / 0.5675 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.6995, allocations: 104.8 kB / 0.5676 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/0.7212, allocations: 15.69 MB / 0.5829 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.7219, allocations: 252.1 kB / 0.5831 GB, free: 11.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.645e-06/0.7219, allocations: 0.7656 kB / 0.5831 GB, free: 11.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.00271/0.7246, allocations: 0.7967 MB / 0.5839 GB, free: 10.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.7248, allocations: 268.3 kB / 0.5842 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.725, allocations: 203.8 kB / 0.5844 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.7251, allocations: 33.7 kB / 0.5844 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.7252, allocations: 200.9 kB / 0.5846 GB, free: 9.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.7253, allocations: 137.7 kB / 0.5847 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.7255, allocations: 122.3 kB / 0.5848 GB, free: 9.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7257, allocations: 338.8 kB / 0.5852 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.7258, allocations: 89.06 kB / 0.5852 GB, free: 9.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.7264, allocations: 374.2 kB / 0.5856 GB, free: 8.762 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008537/0.7272, allocations: 0.4998 MB / 0.5861 GB, free: 8.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.7272, allocations: 4 kB / 0.5861 GB, free: 8.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001362/0.7286, allocations: 0.5012 MB / 0.5866 GB, free: 7.711 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.7286, allocations: 8 kB / 0.5866 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.7287, allocations: 15.98 kB / 0.5866 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/0.7287, allocations: 12 kB / 0.5866 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.7294, allocations: 176.5 kB / 0.5868 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007574/0.7302, allocations: 1.186 MB / 0.5879 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.7305, allocations: 24 kB / 0.588 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.7306, allocations: 44.75 kB / 0.588 GB, free: 6.223 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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.0002026/0.7308, allocations: 173.4 kB / 0.5882 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.7311, allocations: 39.81 kB / 0.5882 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.7322, allocations: 486.7 kB / 0.5887 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.7322, allocations: 6.625 kB / 0.5887 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7322, allocations: 0 / 0.5887 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.7322, allocations: 3.984 kB / 0.5887 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.7333, allocations: 0.6106 MB / 0.5893 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7333, allocations: 0 / 0.5893 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.7337, allocations: 89.03 kB / 0.5894 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.7337, allocations: 7.844 kB / 0.5894 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.7337, allocations: 11.98 kB / 0.5894 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005659/0.7343, allocations: 1.173 MB / 0.5905 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7343, allocations: 7.781 kB / 0.5905 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.735, allocations: 321.9 kB / 0.5908 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.7351, allocations: 102.6 kB / 0.5909 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.7351, allocations: 8.766 kB / 0.591 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.7354, allocations: 11.98 kB / 0.591 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.7354, allocations: 27.91 kB / 0.591 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.7355, allocations: 16 kB / 0.591 GB, free: 3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.7357, allocations: 169.6 kB / 0.5912 GB, free: 2.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7357, allocations: 0 / 0.5912 GB, free: 2.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005795/0.7415, allocations: 1.641 MB / 0.5928 GB, free: 1.191 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.01057/0.7521, allocations: 2.284 MB / 0.595 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.7534, allocations: 320.3 kB / 0.5953 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.7535, allocations: 0 / 0.5953 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.754, allocations: 132.1 kB / 0.5954 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.7549, allocations: 106.8 kB / 0.5955 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.227/0.9818, allocations: 140.9 MB / 0.7331 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.9825, allocations: 0.7533 MB / 0.7338 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007414/0.9832, allocations: 145.8 kB / 0.734 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.9835, allocations: 59.41 kB / 0.734 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/0.9835, allocations: 0 / 0.734 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.3515/1.335, allocations: 47.27 MB / 0.7802 GB, free: 216.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches