Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001231, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001304/0.001304, allocations: 187 kB / 19.34 MB, free: 3.641 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.361/1.361, allocations: 222.9 MB / 243 MB, free: 15.14 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.2129/0.2129, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1425, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01325/0.1558, allocations: 11.23 MB / 481.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.1685, allocations: 11.77 MB / 493.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1687, allocations: 0 / 493.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1691, allocations: 79.48 kB / 493.8 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009564/0.1787, allocations: 3.117 MB / 496.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1792, allocations: 151.1 kB / 497.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005586/0.1848, allocations: 3.889 MB / 0.4892 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.994e-05/0.1849, allocations: 16.41 kB / 0.4892 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1851, allocations: 147.5 kB / 0.4894 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009644/0.1947, allocations: 7.126 MB / 0.4963 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.35e-05/0.1948, allocations: 8 kB / 0.4963 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006527/0.2014, allocations: 2.388 MB / 0.4987 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.2015, allocations: 47.77 kB / 0.4987 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.2018, allocations: 127.4 kB / 0.4988 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.2068, allocations: 1.715 MB / 0.5005 GB, free: 3.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2068, allocations: 0 / 0.5005 GB, free: 3.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2068, allocations: 3.938 kB / 0.5005 GB, free: 3.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2068, allocations: 0 / 0.5005 GB, free: 3.723 MB / 382.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.002403/0.2092, allocations: 0.9712 MB / 0.5015 GB, free: 2.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2093, allocations: 8.031 kB / 0.5015 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/0.2099, allocations: 72.59 kB / 0.5015 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.2104, allocations: 255.9 kB / 0.5018 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.2104, allocations: 24.94 kB / 0.5018 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.2104, allocations: 24.38 kB / 0.5018 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009767/0.2114, allocations: 481.6 kB / 0.5023 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2114, allocations: 4 kB / 0.5023 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.2115, allocations: 16 kB / 0.5023 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2115, allocations: 4 kB / 0.5023 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2128, allocations: 0.6851 MB / 0.503 GB, free: 1.074 MB / 382.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.2457/0.4585, allocations: 3.123 MB / 0.506 GB, free: 49.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.4593, allocations: 219.2 kB / 0.5062 GB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4594, allocations: 76.23 kB / 0.5063 GB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07713/0.5365, allocations: 33.62 MB / 0.5391 GB, free: 26.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000701/0.5373, allocations: 346.9 kB / 0.5395 GB, free: 25.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.5373, allocations: 0 / 0.5395 GB, free: 25.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002493/0.5398, allocations: 0.8617 MB / 0.5403 GB, free: 24.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.5399, allocations: 478.3 kB / 0.5408 GB, free: 24.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.5401, allocations: 159.8 kB / 0.5409 GB, free: 24.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5401, allocations: 37.7 kB / 0.541 GB, free: 24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.5402, allocations: 167.6 kB / 0.5411 GB, free: 23.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.5402, allocations: 126 kB / 0.5412 GB, free: 23.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.5403, allocations: 94.23 kB / 0.5413 GB, free: 23.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.5404, allocations: 326.8 kB / 0.5416 GB, free: 23.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5405, allocations: 69.02 kB / 0.5417 GB, free: 23.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.5407, allocations: 318.1 kB / 0.542 GB, free: 22.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.5411, allocations: 431 kB / 0.5424 GB, free: 22.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5411, allocations: 4 kB / 0.5424 GB, free: 22.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005588/0.5417, allocations: 400.3 kB / 0.5428 GB, free: 21.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5417, allocations: 9 kB / 0.5428 GB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5417, allocations: 9.25 kB / 0.5428 GB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.5417, allocations: 19.94 kB / 0.5428 GB, free: 21.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.5435, allocations: 358.1 kB / 0.5432 GB, free: 21.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004043/0.5439, allocations: 1.168 MB / 0.5443 GB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.5443, allocations: 23.84 kB / 0.5444 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.5444, allocations: 36.11 kB / 0.5444 GB, free: 20.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0001536/0.5445, allocations: 161.6 kB / 0.5445 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.5446, allocations: 23.81 kB / 0.5446 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000928/0.5455, allocations: 0.9418 MB / 0.5455 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.5456, allocations: 19.92 kB / 0.5455 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5456, allocations: 0 / 0.5455 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5456, allocations: 4 kB / 0.5455 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5467, allocations: 1.422 MB / 0.5469 GB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5467, allocations: 4 kB / 0.5469 GB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009759/0.5477, allocations: 144.5 kB / 0.547 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5477, allocations: 8.031 kB / 0.547 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.5477, allocations: 11.98 kB / 0.5471 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001897/0.5479, allocations: 0.586 MB / 0.5476 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5479, allocations: 0 / 0.5476 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.5484, allocations: 0.5216 MB / 0.5481 GB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.5485, allocations: 107.8 kB / 0.5482 GB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.5486, allocations: 43.44 kB / 0.5483 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.5488, allocations: 17.39 kB / 0.5483 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.5489, allocations: 31.84 kB / 0.5483 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.5489, allocations: 15.98 kB / 0.5483 GB, free: 15.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.5491, allocations: 267.1 kB / 0.5486 GB, free: 15.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5491, allocations: 4 kB / 0.5486 GB, free: 15.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001246/0.5504, allocations: 459.6 kB / 0.549 GB, free: 15.2 MB / 382.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.5515, allocations: 0.6908 MB / 0.5497 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.5529, allocations: 403.7 kB / 0.5501 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5529, allocations: 0 / 0.5501 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.5536, allocations: 225.4 kB / 0.5503 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.5543, allocations: 121.9 kB / 0.5504 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.405/1.959, allocations: 0.5369 GB / 1.087 GB, free: 188.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/1.96, allocations: 0.8279 MB / 1.088 GB, free: 187.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004418/1.96, allocations: 161.7 kB / 1.088 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/1.96, allocations: 42.2 kB / 1.088 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/1.96, allocations: 0 / 1.088 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.0229/1.983, allocations: 15.72 MB / 1.104 GB, free: 180 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches