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.00132/0.00132, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001403/0.001403, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.291/1.291, allocations: 222.9 MB / 243.1 MB, free: 15.03 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.2/0.2, allocations: 44.19 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3802, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01281/0.393, allocations: 11.24 MB / 0.5306 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.4064, allocations: 11.77 MB / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.4067, allocations: 1.25 kB / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.4072, allocations: 78.02 kB / 0.5422 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.012/0.4192, allocations: 3.113 MB / 0.5452 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.4197, allocations: 147.9 kB / 0.5453 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007165/0.4269, allocations: 3.899 MB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.427, allocations: 15.09 kB / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.4273, allocations: 148.7 kB / 0.5493 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009895/0.4372, allocations: 7.122 MB / 0.5563 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.4373, allocations: 12 kB / 0.5563 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/0.4432, allocations: 2.135 MB / 0.5584 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4433, allocations: 43.77 kB / 0.5584 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.4436, allocations: 123.4 kB / 0.5585 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005168/0.4488, allocations: 1.544 MB / 0.56 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4488, allocations: 0 / 0.56 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4488, allocations: 0 / 0.56 GB, free: 2.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4489, allocations: 0 / 0.56 GB, free: 2.566 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.002623/0.4515, allocations: 0.9244 MB / 0.5609 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4515, allocations: 12.03 kB / 0.5609 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006443/0.4522, allocations: 76.59 kB / 0.561 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.4526, allocations: 256 kB / 0.5613 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.4526, allocations: 24.88 kB / 0.5613 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.4527, allocations: 24.38 kB / 0.5613 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.4537, allocations: 485.6 kB / 0.5618 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4537, allocations: 0 / 0.5618 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.4537, allocations: 12 kB / 0.5618 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4538, allocations: 11.94 kB / 0.5618 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.4549, allocations: 0.6851 MB / 0.5625 GB, free: 15.95 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.007141/0.462, allocations: 4.296 MB / 0.5667 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.4626, allocations: 167.1 kB / 0.5668 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.4627, allocations: 65.47 kB / 0.5669 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02709/0.4898, allocations: 16.4 MB / 0.5829 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007574/0.4906, allocations: 318 kB / 0.5832 GB, free: 8.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.176e-06/0.4906, allocations: 4 kB / 0.5832 GB, free: 8.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001502/0.4922, allocations: 438.5 kB / 0.5836 GB, free: 7.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/0.4924, allocations: 478.6 kB / 0.5841 GB, free: 7.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.4926, allocations: 183.9 kB / 0.5842 GB, free: 6.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.4926, allocations: 33.7 kB / 0.5843 GB, free: 6.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4927, allocations: 191.5 kB / 0.5845 GB, free: 6.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.4928, allocations: 102.6 kB / 0.5846 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4929, allocations: 94.02 kB / 0.5846 GB, free: 6.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4931, allocations: 330.8 kB / 0.585 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.4932, allocations: 64.83 kB / 0.585 GB, free: 6.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.4935, allocations: 306.8 kB / 0.5853 GB, free: 5.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.4939, allocations: 433 kB / 0.5857 GB, free: 5.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.494, allocations: 8 kB / 0.5857 GB, free: 5.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006874/0.4947, allocations: 401.5 kB / 0.5861 GB, free: 4.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4947, allocations: 12.06 kB / 0.5861 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4947, allocations: 15.98 kB / 0.5861 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.4947, allocations: 12 kB / 0.5862 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.4951, allocations: 99.83 kB / 0.5863 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.4951, allocations: 19.92 kB / 0.5863 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.4954, allocations: 51.47 kB / 0.5863 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.4954, allocations: 31.98 kB / 0.5864 GB, free: 4.41 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.000161/0.4956, allocations: 153.7 kB / 0.5865 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.4957, allocations: 27.72 kB / 0.5865 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/0.4967, allocations: 0.7855 MB / 0.5873 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4967, allocations: 4 kB / 0.5873 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4967, allocations: 0 / 0.5873 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4967, allocations: 11.92 kB / 0.5873 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.4979, allocations: 1.217 MB / 0.5885 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.4979, allocations: 4 kB / 0.5885 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.498, allocations: 31.92 kB / 0.5885 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.498, allocations: 7.938 kB / 0.5885 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.498, allocations: 8 kB / 0.5885 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4981, allocations: 4 kB / 0.5885 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.4981, allocations: 4 kB / 0.5886 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.4985, allocations: 380.5 kB / 0.5889 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.4986, allocations: 100.8 kB / 0.589 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.4987, allocations: 47.38 kB / 0.5891 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.4989, allocations: 11.98 kB / 0.5891 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.499, allocations: 23.92 kB / 0.5891 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.499, allocations: 8 kB / 0.5891 GB, free: 1.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.4993, allocations: 290.9 kB / 0.5894 GB, free: 1.055 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4993, allocations: 0 / 0.5894 GB, free: 1.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001234/0.5005, allocations: 431.5 kB / 0.5898 GB, free: 0.6328 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.001586/0.5021, allocations: 0.6232 MB / 0.5904 GB, free: 0 / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.5026, allocations: 241.1 kB / 0.5906 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5026, allocations: 0.625 kB / 0.5906 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.5027, allocations: 83.97 kB / 0.5907 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.5035, allocations: 110.6 kB / 0.5908 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.54/2.043, allocations: 0.579 GB / 1.17 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/2.044, allocations: 0.8088 MB / 1.171 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/2.044, allocations: 48.14 kB / 1.171 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/2.044, allocations: 0 / 1.171 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01487/2.059, allocations: 10.85 MB / 1.181 GB, free: 206 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/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