Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002302/0.002307, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00161/0.001609, allocations: 98.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3042/0.3042, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007496/0.00075, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1707, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01796/0.1888, allocations: 7.476 MB / 497.7 MB, free: 1.812 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03358/0.2224, allocations: 12.95 MB / 0.4987 GB, free: 4.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.2227, allocations: 0 / 0.4987 GB, free: 4.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.2233, allocations: 59.73 kB / 0.4987 GB, free: 4.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01593/0.2392, allocations: 2.605 MB / 0.5013 GB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008759/0.2401, allocations: 139.7 kB / 0.5014 GB, free: 2.027 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02278/0.2629, allocations: 7.157 MB / 0.5084 GB, free: 10.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2631, allocations: 12.41 kB / 0.5084 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.2635, allocations: 139.6 kB / 0.5085 GB, free: 10.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3743/0.6379, allocations: 13.83 MB / 0.5221 GB, free: 28.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.638, allocations: 7.719 kB / 0.5221 GB, free: 28.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007699/0.6457, allocations: 2.148 MB / 0.5242 GB, free: 28.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.6459, allocations: 40.94 kB / 0.5242 GB, free: 28.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.6461, allocations: 71.23 kB / 0.5243 GB, free: 28.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.6501, allocations: 1.019 MB / 0.5253 GB, free: 28.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6501, allocations: 0 / 0.5253 GB, free: 28.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.531e-06/0.6501, allocations: 0 / 0.5253 GB, free: 28.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.6502, allocations: 7.234 kB / 0.5253 GB, free: 28.07 MB / 362.7 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.003732/0.6539, allocations: 0.8613 MB / 0.5261 GB, free: 27.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.654, allocations: 8.25 kB / 0.5261 GB, free: 27.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.6549, allocations: 83.77 kB / 0.5262 GB, free: 27.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.6553, allocations: 239.6 kB / 0.5264 GB, free: 27.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.6553, allocations: 20.78 kB / 0.5264 GB, free: 27.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.6554, allocations: 28.78 kB / 0.5265 GB, free: 27.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6568, allocations: 479.6 kB / 0.5269 GB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6569, allocations: 0.9688 kB / 0.5269 GB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.6569, allocations: 16.92 kB / 0.5269 GB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.657, allocations: 6.781 kB / 0.527 GB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.6587, allocations: 0.6837 MB / 0.5276 GB, free: 27.17 MB / 362.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.01221/0.671, allocations: 4.326 MB / 0.5318 GB, free: 24.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.6718, allocations: 163.8 kB / 0.532 GB, free: 24.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03708/0.7089, allocations: 14.36 MB / 0.546 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009341/0.7099, allocations: 325.9 kB / 0.5463 GB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/0.7099, allocations: 1.062 kB / 0.5463 GB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001954/0.7118, allocations: 440.2 kB / 0.5468 GB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.712, allocations: 478.2 kB / 0.5472 GB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.7123, allocations: 185.3 kB / 0.5474 GB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.7123, allocations: 31.8 kB / 0.5474 GB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.7124, allocations: 255.8 kB / 0.5477 GB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.7125, allocations: 105.9 kB / 0.5478 GB, free: 12.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.7126, allocations: 9.5 kB / 0.5478 GB, free: 12.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.7126, allocations: 326.5 kB / 0.5481 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.7128, allocations: 60.92 kB / 0.5481 GB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.7131, allocations: 302.9 kB / 0.5484 GB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.7134, allocations: 115.9 kB / 0.5485 GB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.7134, allocations: 2.781 kB / 0.5485 GB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009374/0.7144, allocations: 393.1 kB / 0.5489 GB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.7144, allocations: 7.75 kB / 0.5489 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.7145, allocations: 10.28 kB / 0.5489 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.7145, allocations: 22.45 kB / 0.549 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.7151, allocations: 111.4 kB / 0.5491 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.7151, allocations: 18.16 kB / 0.5491 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.7156, allocations: 43.5 kB / 0.5491 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.7157, allocations: 31.17 kB / 0.5492 GB, free: 11.52 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.7159, allocations: 163 kB / 0.5493 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.716, allocations: 28.28 kB / 0.5493 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.7176, allocations: 0.8116 MB / 0.5501 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.7177, allocations: 7.297 kB / 0.5501 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7177, allocations: 6.953 kB / 0.5501 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.7177, allocations: 1.562 kB / 0.5501 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.7193, allocations: 1.217 MB / 0.5513 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.7194, allocations: 2.594 kB / 0.5513 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.7197, allocations: 36.61 kB / 0.5514 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/0.7197, allocations: 3.312 kB / 0.5514 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.7198, allocations: 8.203 kB / 0.5514 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.7198, allocations: 3.25 kB / 0.5514 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7198, allocations: 3.031 kB / 0.5514 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.7204, allocations: 0.4891 MB / 0.5519 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.7207, allocations: 221.4 kB / 0.5521 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/0.7208, allocations: 6.844 kB / 0.5521 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.7213, allocations: 21.86 kB / 0.5521 GB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.7214, allocations: 17.25 kB / 0.5521 GB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.7214, allocations: 12.09 kB / 0.5521 GB, free: 9.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004313/0.7218, allocations: 289.1 kB / 0.5524 GB, free: 9.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7219, allocations: 6.812 kB / 0.5524 GB, free: 9.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002223/0.7241, allocations: 432.3 kB / 0.5528 GB, free: 9.293 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002434/0.7266, allocations: 0.621 MB / 0.5534 GB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006882/0.7273, allocations: 227.4 kB / 0.5536 GB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.7273, allocations: 1.812 kB / 0.5536 GB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.7275, allocations: 83.06 kB / 0.5537 GB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.7284, allocations: 94.5 kB / 0.5538 GB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.7306, allocations: 1.161 MB / 0.555 GB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.7309, allocations: 0.8203 MB / 0.5558 GB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.7311, allocations: 47.34 kB / 0.5558 GB, free: 7.066 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7311, allocations: 4 kB / 0.5558 GB, free: 7.062 MB / 362.7 MB Notification: Performance of Templates: time 0.02567/0.7568, allocations: 11.2 MB / 0.5667 GB, free: 11.99 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches