Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 118.4 kB / 17.78 MB, free: 5.266 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.001427/0.001427, allocations: 183.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.83 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4221, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01471/0.4369, allocations: 11.24 MB / 0.5299 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.452, allocations: 11.77 MB / 0.5414 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.4523, allocations: 1.188 kB / 0.5414 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.4527, allocations: 77.62 kB / 0.5415 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.4658, allocations: 3.121 MB / 0.5445 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.4663, allocations: 151.5 kB / 0.5447 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006495/0.4728, allocations: 3.892 MB / 0.5485 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.4729, allocations: 26.17 kB / 0.5485 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.4731, allocations: 140.9 kB / 0.5486 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009377/0.4825, allocations: 7.131 MB / 0.5556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.4826, allocations: 8 kB / 0.5556 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00705/0.4896, allocations: 2.131 MB / 0.5577 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4898, allocations: 43.83 kB / 0.5577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.49, allocations: 127.4 kB / 0.5579 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.4941, allocations: 1.536 MB / 0.5594 GB, free: 2.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4941, allocations: 8 kB / 0.5594 GB, free: 2.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4941, allocations: 0 / 0.5594 GB, free: 2.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4941, allocations: 0 / 0.5594 GB, free: 2.59 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002143/0.4963, allocations: 0.9193 MB / 0.5603 GB, free: 1.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4963, allocations: 12.03 kB / 0.5603 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/0.497, allocations: 84.58 kB / 0.5604 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.4974, allocations: 244 kB / 0.5606 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.4974, allocations: 24.88 kB / 0.5606 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.4974, allocations: 24.38 kB / 0.5606 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4985, allocations: 489.6 kB / 0.5611 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4985, allocations: 0 / 0.5611 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.4985, allocations: 19.94 kB / 0.5611 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.4985, allocations: 8 kB / 0.5611 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.4997, allocations: 0.6774 MB / 0.5618 GB, free: 15.98 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.007212/0.5069, allocations: 4.303 MB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.5075, allocations: 167.1 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.5076, allocations: 61.48 kB / 0.5662 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02912/0.5367, allocations: 16.4 MB / 0.5822 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000743/0.5375, allocations: 321.9 kB / 0.5825 GB, free: 8.074 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.5375, allocations: 0 / 0.5825 GB, free: 8.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001452/0.539, allocations: 442.5 kB / 0.583 GB, free: 7.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002301/0.5392, allocations: 482.7 kB / 0.5834 GB, free: 7.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.5394, allocations: 183.4 kB / 0.5836 GB, free: 6.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.5394, allocations: 33.7 kB / 0.5836 GB, free: 6.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.5395, allocations: 179.5 kB / 0.5838 GB, free: 6.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.513e-05/0.5396, allocations: 106.6 kB / 0.5839 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.5398, allocations: 90.03 kB / 0.584 GB, free: 6.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5399, allocations: 338.8 kB / 0.5843 GB, free: 6.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.54, allocations: 60.84 kB / 0.5844 GB, free: 6.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.5403, allocations: 310.7 kB / 0.5847 GB, free: 5.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.5408, allocations: 436.9 kB / 0.5851 GB, free: 5.078 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5408, allocations: 4 kB / 0.5851 GB, free: 5.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006621/0.5415, allocations: 397.2 kB / 0.5855 GB, free: 4.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5415, allocations: 8 kB / 0.5855 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5416, allocations: 8 kB / 0.5855 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/0.5416, allocations: 12 kB / 0.5855 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.5419, allocations: 107.8 kB / 0.5856 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.542, allocations: 19.92 kB / 0.5856 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.5422, allocations: 51.47 kB / 0.5857 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.5423, allocations: 28.38 kB / 0.5857 GB, free: 4.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.5424, allocations: 157.6 kB / 0.5858 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.5425, allocations: 31.72 kB / 0.5859 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.5436, allocations: 0.7706 MB / 0.5866 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.5436, allocations: 4 kB / 0.5866 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5436, allocations: 4.219 kB / 0.5866 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5436, allocations: 7.938 kB / 0.5866 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.5448, allocations: 1.215 MB / 0.5878 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5448, allocations: 0 / 0.5878 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5449, allocations: 31.92 kB / 0.5879 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.545, allocations: 7.938 kB / 0.5879 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.545, allocations: 16.08 kB / 0.5879 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.545, allocations: 7.984 kB / 0.5879 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.545, allocations: 4 kB / 0.5879 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.5454, allocations: 376.4 kB / 0.5882 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.5455, allocations: 100.9 kB / 0.5883 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.5456, allocations: 47.38 kB / 0.5884 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.5459, allocations: 11.98 kB / 0.5884 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.5459, allocations: 19.92 kB / 0.5884 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.5459, allocations: 12 kB / 0.5884 GB, free: 1.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.5462, allocations: 294.9 kB / 0.5887 GB, free: 1.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5462, allocations: 4 kB / 0.5887 GB, free: 1.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001392/0.5476, allocations: 423.5 kB / 0.5891 GB, free: 0.6719 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.5489, allocations: 0.635 MB / 0.5897 GB, free: 28 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.5493, allocations: 237.4 kB / 0.59 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5494, allocations: 4 kB / 0.59 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.5495, allocations: 79.86 kB / 0.59 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.5503, allocations: 107 kB / 0.5901 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.987/2.537, allocations: 0.579 GB / 1.169 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/2.537, allocations: 0.809 MB / 1.17 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007148/2.538, allocations: 166.3 kB / 1.17 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/2.538, allocations: 36.2 kB / 1.17 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/2.538, allocations: 1.125 kB / 1.17 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.03284/2.571, allocations: 14.33 MB / 1.184 GB, free: 197.7 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches