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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001284, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001094/0.001094, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.355/1.355, allocations: 222.9 MB / 243 MB, free: 15.15 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.2157/0.2157, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.95 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1212, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03443/0.1557, allocations: 27.02 MB / 497.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1701, allocations: 11.02 MB / 0.4968 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1704, allocations: 4 kB / 0.4968 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.1709, allocations: 79.5 kB / 0.4969 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2724/0.4434, allocations: 9.22 MB / 0.5059 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4444, allocations: 427.2 kB / 0.5063 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007336/0.4452, allocations: 487.8 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.4452, allocations: 16.73 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.4455, allocations: 192.1 kB / 0.507 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01118/0.4567, allocations: 6.017 MB / 0.5129 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.479e-05/0.4568, allocations: 14.12 kB / 0.5129 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02785/0.4847, allocations: 13.4 MB / 0.526 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.485, allocations: 97.39 kB / 0.5261 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004932/0.4855, allocations: 142.9 kB / 0.5262 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.5048, allocations: 6.765 MB / 0.5328 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5049, allocations: 0 / 0.5328 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.5049, allocations: 0 / 0.5328 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.5049, allocations: 3.188 kB / 0.5328 GB, free: 10.73 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003944/0.5089, allocations: 1.556 MB / 0.5343 GB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5089, allocations: 9.594 kB / 0.5343 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.5091, allocations: 36.2 kB / 0.5344 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.5094, allocations: 241.8 kB / 0.5346 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5094, allocations: 26.23 kB / 0.5346 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.5095, allocations: 24.41 kB / 0.5346 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.5102, allocations: 0.5152 MB / 0.5352 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5102, allocations: 0 / 0.5352 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.5102, allocations: 11.97 kB / 0.5352 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.5103, allocations: 29.31 kB / 0.5352 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.5112, allocations: 0.9139 MB / 0.5361 GB, free: 8.555 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.001648/0.5129, allocations: 1.908 MB / 0.5379 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.5136, allocations: 264.5 kB / 0.5382 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.5137, allocations: 109 kB / 0.5383 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/0.5313, allocations: 15.68 MB / 0.5536 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.5318, allocations: 249.2 kB / 0.5539 GB, free: 3.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.5319, allocations: 1.531 kB / 0.5539 GB, free: 3.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002265/0.5341, allocations: 0.782 MB / 0.5546 GB, free: 2.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.5343, allocations: 265.2 kB / 0.5549 GB, free: 2.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.5345, allocations: 203 kB / 0.5551 GB, free: 1.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.5345, allocations: 33.7 kB / 0.5551 GB, free: 1.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5346, allocations: 195.4 kB / 0.5553 GB, free: 1.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.5348, allocations: 128.6 kB / 0.5554 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.5349, allocations: 122 kB / 0.5555 GB, free: 1.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5351, allocations: 338.8 kB / 0.5558 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.5352, allocations: 97.05 kB / 0.5559 GB, free: 1.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.5357, allocations: 365.7 kB / 0.5563 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.5365, allocations: 0.5096 MB / 0.5568 GB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5365, allocations: 5.641 kB / 0.5568 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001235/0.5378, allocations: 0.4974 MB / 0.5573 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.5378, allocations: 8 kB / 0.5573 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.5378, allocations: 12 kB / 0.5573 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.5379, allocations: 15.66 kB / 0.5573 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.5385, allocations: 170.7 kB / 0.5575 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000657/0.5392, allocations: 1.195 MB / 0.5586 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.5395, allocations: 24.56 kB / 0.5587 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.5395, allocations: 49.02 kB / 0.5587 GB, free: 13.99 MB / 414.1 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.0001832/0.5397, allocations: 175.7 kB / 0.5589 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.5399, allocations: 35.7 kB / 0.5589 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.541, allocations: 480.3 kB / 0.5594 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.541, allocations: 4 kB / 0.5594 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.541, allocations: 0 / 0.5594 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.541, allocations: 3.625 kB / 0.5594 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.542, allocations: 0.6142 MB / 0.56 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.542, allocations: 0 / 0.56 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.5424, allocations: 79.31 kB / 0.5601 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.5424, allocations: 4 kB / 0.5601 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.5424, allocations: 11.98 kB / 0.5601 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005672/0.543, allocations: 1.176 MB / 0.5612 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.543, allocations: 8.016 kB / 0.5612 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.5436, allocations: 322.8 kB / 0.5615 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.5437, allocations: 96.92 kB / 0.5616 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.5438, allocations: 11.91 kB / 0.5616 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.544, allocations: 8.734 kB / 0.5616 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.5441, allocations: 27.91 kB / 0.5617 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.5441, allocations: 16 kB / 0.5617 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.5443, allocations: 169.3 kB / 0.5618 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5443, allocations: 0 / 0.5618 GB, free: 10.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005137/0.5494, allocations: 1.683 MB / 0.5635 GB, free: 8.953 MB / 414.1 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.007384/0.5568, allocations: 2.317 MB / 0.5658 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.5579, allocations: 325.3 kB / 0.5661 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.5579, allocations: 7.531 kB / 0.5661 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.5584, allocations: 125.3 kB / 0.5662 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.5591, allocations: 114.3 kB / 0.5663 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2019/0.7611, allocations: 140.9 MB / 0.7039 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.7615, allocations: 0.7573 MB / 0.7046 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005221/0.762, allocations: 146.4 kB / 0.7048 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.7621, allocations: 51.41 kB / 0.7048 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.7621, allocations: 0 / 0.7048 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of Templates: time 0.254/1.016, allocations: 46.81 MB / 0.7505 GB, free: 174.5 MB / 0.5294 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches