Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 174.2 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008155/0.0008157, allocations: 96.19 kB / 295 MB, free: 9.492 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3374/0.3374, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003231, allocations: 8 kB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3568, allocations: 61.89 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02889/0.3857, allocations: 36.36 MB / 0.5482 GB, free: 8.359 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.4006, allocations: 17.52 MB / 0.5653 GB, free: 9.051 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.4009, allocations: 0 / 0.5653 GB, free: 9.051 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.4014, allocations: 66.58 kB / 0.5654 GB, free: 9.023 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0265/0.4279, allocations: 8.029 MB / 0.5733 GB, free: 4.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.4294, allocations: 396.1 kB / 0.5736 GB, free: 4.781 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.4306, allocations: 0.6829 MB / 0.5743 GB, free: 4.543 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.4307, allocations: 14.88 kB / 0.5743 GB, free: 4.539 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005547/0.4313, allocations: 191.3 kB / 0.5745 GB, free: 4.477 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.4471, allocations: 6.31 MB / 0.5807 GB, free: 1.895 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.4472, allocations: 9.156 kB / 0.5807 GB, free: 1.895 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0443/0.4915, allocations: 13.34 MB / 0.5937 GB, free: 7.113 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.4919, allocations: 91.69 kB / 0.5938 GB, free: 7.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.4924, allocations: 173 kB / 0.5939 GB, free: 6.848 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02994/0.5224, allocations: 6.939 MB / 0.6007 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5224, allocations: 0 / 0.6007 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.47e-06/0.5224, allocations: 4 kB / 0.6007 GB, free: 15.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.5225, allocations: 0 / 0.6007 GB, free: 15.89 MB / 426.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.006646/0.5291, allocations: 1.49 MB / 0.6022 GB, free: 14.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.5292, allocations: 12.03 kB / 0.6022 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.5295, allocations: 35.83 kB / 0.6022 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.53, allocations: 242.7 kB / 0.6025 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.53, allocations: 16.56 kB / 0.6025 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.5301, allocations: 35.98 kB / 0.6025 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.5314, allocations: 0.5052 MB / 0.603 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5314, allocations: 0 / 0.603 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.5315, allocations: 15.98 kB / 0.603 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.5316, allocations: 32.48 kB / 0.603 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.5333, allocations: 0.9115 MB / 0.6039 GB, free: 12.48 MB / 426.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.003166/0.5365, allocations: 1.898 MB / 0.6058 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5376, allocations: 277 kB / 0.6061 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.5378, allocations: 97.47 kB / 0.6061 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02481/0.5627, allocations: 15.75 MB / 0.6215 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/0.5634, allocations: 242.2 kB / 0.6218 GB, free: 7.027 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 5.02e-06/0.5634, allocations: 7.938 kB / 0.6218 GB, free: 7.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.003209/0.5667, allocations: 0.7801 MB / 0.6225 GB, free: 6.211 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.5668, allocations: 273 kB / 0.6228 GB, free: 5.883 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.5671, allocations: 207.4 kB / 0.623 GB, free: 5.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.5672, allocations: 33.7 kB / 0.623 GB, free: 5.633 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.5674, allocations: 199.4 kB / 0.6232 GB, free: 5.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5675, allocations: 122.3 kB / 0.6233 GB, free: 5.312 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.5676, allocations: 12 kB / 0.6233 GB, free: 5.301 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5677, allocations: 334.8 kB / 0.6237 GB, free: 4.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.568, allocations: 89.05 kB / 0.6237 GB, free: 4.879 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.5686, allocations: 365.6 kB / 0.6241 GB, free: 4.391 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.5695, allocations: 0.5002 MB / 0.6246 GB, free: 3.762 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.5695, allocations: 4 kB / 0.6246 GB, free: 3.758 MB / 442.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001213/0.5707, allocations: 0.4945 MB / 0.6251 GB, free: 3.258 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5708, allocations: 13 kB / 0.6251 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.5708, allocations: 8 kB / 0.6251 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.5708, allocations: 23.88 kB / 0.6251 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/0.5715, allocations: 183.7 kB / 0.6253 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007392/0.5722, allocations: 1.188 MB / 0.6264 GB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.5726, allocations: 32.06 kB / 0.6265 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/0.5727, allocations: 51.98 kB / 0.6265 GB, free: 1.719 MB / 442.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.0002424/0.5729, allocations: 162.2 kB / 0.6267 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5731, allocations: 27.72 kB / 0.6267 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.5742, allocations: 483 kB / 0.6272 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.5742, allocations: 3.984 kB / 0.6272 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5742, allocations: 4 kB / 0.6272 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5742, allocations: 3.938 kB / 0.6272 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5753, allocations: 0.6 MB / 0.6278 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5753, allocations: 4 kB / 0.6278 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.5757, allocations: 87.86 kB / 0.6278 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.5757, allocations: 7.875 kB / 0.6279 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5757, allocations: 12.06 kB / 0.6279 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006249/0.5763, allocations: 1.184 MB / 0.629 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5764, allocations: 0 / 0.629 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.5769, allocations: 318.1 kB / 0.6293 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5771, allocations: 120.8 kB / 0.6294 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.5771, allocations: 7.938 kB / 0.6295 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.5774, allocations: 15.98 kB / 0.6295 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.5774, allocations: 19.97 kB / 0.6295 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.5775, allocations: 16 kB / 0.6295 GB, free: 14.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.5777, allocations: 172.5 kB / 0.6297 GB, free: 14.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5777, allocations: 0 / 0.6297 GB, free: 14.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005905/0.5836, allocations: 1.686 MB / 0.6313 GB, free: 12.59 MB / 458.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.01057/0.5942, allocations: 2.339 MB / 0.6336 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.5955, allocations: 319.8 kB / 0.6339 GB, free: 9.938 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.5955, allocations: 0 / 0.6339 GB, free: 9.938 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.596, allocations: 119.8 kB / 0.634 GB, free: 9.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.5969, allocations: 104.9 kB / 0.6341 GB, free: 9.719 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4709/1.068, allocations: 140.6 MB / 0.7714 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/1.068, allocations: 0.7495 MB / 0.7721 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006202/1.069, allocations: 148.8 kB / 0.7723 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.069, allocations: 47.42 kB / 0.7723 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/1.069, allocations: 4 kB / 0.7723 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.04889/1.118, allocations: 46.69 MB / 0.8179 GB, free: 53.73 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/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