Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 94.3 kB / 291.8 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3551/0.3551, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3728, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04912/0.422, allocations: 28.82 MB / 0.5345 GB, free: 18.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.4418, allocations: 11.71 MB / 0.546 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.4422, allocations: 0 / 0.546 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.443, allocations: 74.08 kB / 0.546 GB, free: 10.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03812/0.4811, allocations: 7.596 MB / 0.5535 GB, free: 7.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.4827, allocations: 395.4 kB / 0.5538 GB, free: 6.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.4842, allocations: 0.6849 MB / 0.5545 GB, free: 6.621 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.4844, allocations: 20.06 kB / 0.5545 GB, free: 6.613 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.485, allocations: 176.7 kB / 0.5547 GB, free: 6.559 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01986/0.5049, allocations: 6.303 MB / 0.5609 GB, free: 4.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.5051, allocations: 10.62 kB / 0.5609 GB, free: 4.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04227/0.5474, allocations: 13.74 MB / 0.5743 GB, free: 10.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.5478, allocations: 95.69 kB / 0.5744 GB, free: 10.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004797/0.5483, allocations: 135.4 kB / 0.5745 GB, free: 10.31 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02887/0.5772, allocations: 6.966 MB / 0.5813 GB, free: 3.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5772, allocations: 0 / 0.5813 GB, free: 3.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5772, allocations: 0 / 0.5813 GB, free: 3.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.5773, allocations: 0 / 0.5813 GB, free: 3.332 MB / 394.7 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.006593/0.5839, allocations: 1.552 MB / 0.5828 GB, free: 1.727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.5839, allocations: 8.031 kB / 0.5828 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.5843, allocations: 39.83 kB / 0.5829 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.5848, allocations: 238.7 kB / 0.5831 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.5848, allocations: 16.56 kB / 0.5831 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.5849, allocations: 31.97 kB / 0.5831 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5863, allocations: 0.5169 MB / 0.5836 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5863, allocations: 4 kB / 0.5836 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.5864, allocations: 15.98 kB / 0.5837 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/0.5865, allocations: 24.48 kB / 0.5837 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.5884, allocations: 0.9155 MB / 0.5846 GB, free: 15.85 MB / 410.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.003275/0.5917, allocations: 1.898 MB / 0.5864 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.5929, allocations: 267.8 kB / 0.5867 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.5932, allocations: 109.4 kB / 0.5868 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02754/0.6208, allocations: 15.7 MB / 0.6021 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006911/0.6215, allocations: 249 kB / 0.6024 GB, free: 10.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.016e-06/0.6216, allocations: 0 / 0.6024 GB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002943/0.6245, allocations: 0.7813 MB / 0.6031 GB, free: 9.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.6247, allocations: 269 kB / 0.6034 GB, free: 9.316 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.6249, allocations: 203.2 kB / 0.6036 GB, free: 9.109 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.625, allocations: 33.7 kB / 0.6036 GB, free: 9.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.6251, allocations: 199.4 kB / 0.6038 GB, free: 8.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.6252, allocations: 122.3 kB / 0.6039 GB, free: 8.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.6254, allocations: 126 kB / 0.604 GB, free: 8.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6256, allocations: 342.8 kB / 0.6044 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.6258, allocations: 93.05 kB / 0.6044 GB, free: 8.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.6264, allocations: 361.6 kB / 0.6048 GB, free: 7.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.6274, allocations: 0.5048 MB / 0.6053 GB, free: 7.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6275, allocations: 4 kB / 0.6053 GB, free: 7.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001673/0.6291, allocations: 0.5034 MB / 0.6058 GB, free: 6.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6292, allocations: 8 kB / 0.6058 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.6292, allocations: 12 kB / 0.6058 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.6292, allocations: 19.88 kB / 0.6058 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.6301, allocations: 175.7 kB / 0.606 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/0.6308, allocations: 1.184 MB / 0.6071 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.6312, allocations: 31.78 kB / 0.6072 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/0.6314, allocations: 59.84 kB / 0.6072 GB, free: 5.027 MB / 426.7 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.0002116/0.6316, allocations: 165.8 kB / 0.6074 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.6319, allocations: 35.8 kB / 0.6074 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.6332, allocations: 487 kB / 0.6079 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6333, allocations: 0 / 0.6079 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6333, allocations: 4.031 kB / 0.6079 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6333, allocations: 7.938 kB / 0.6079 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.6345, allocations: 0.5972 MB / 0.6085 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.6345, allocations: 4 kB / 0.6085 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.635, allocations: 91.92 kB / 0.6086 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.635, allocations: 8.062 kB / 0.6086 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.6351, allocations: 15.98 kB / 0.6086 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006161/0.6357, allocations: 1.164 MB / 0.6097 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6357, allocations: 0 / 0.6097 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.6374, allocations: 1.011 MB / 0.6107 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.6375, allocations: 100.8 kB / 0.6108 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.6376, allocations: 12 kB / 0.6108 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.6379, allocations: 15.98 kB / 0.6108 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.6379, allocations: 19.91 kB / 0.6109 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.638, allocations: 16 kB / 0.6109 GB, free: 1.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.6382, allocations: 168.5 kB / 0.611 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6382, allocations: 0 / 0.611 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007381/0.6456, allocations: 1.749 MB / 0.6127 GB, free: 15.14 MB / 442.7 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.01278/0.6584, allocations: 2.315 MB / 0.615 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.6603, allocations: 321.7 kB / 0.6153 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.6603, allocations: 7.938 kB / 0.6153 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007222/0.661, allocations: 116.3 kB / 0.6154 GB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6624, allocations: 116.2 kB / 0.6155 GB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5565/1.219, allocations: 141.2 MB / 0.7534 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/1.219, allocations: 0.7583 MB / 0.7541 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001184/1.22, allocations: 138.4 kB / 0.7543 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.221, allocations: 55.44 kB / 0.7543 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/1.221, allocations: 0 / 0.7543 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.09397/1.315, allocations: 46.83 MB / 0.8001 GB, free: 72.77 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches