Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001173/0.001173, allocations: 106.7 kB / 16.93 MB, free: 5.781 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.001075/0.001075, allocations: 191.6 kB / 17.86 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 223.7 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2157/0.2157, allocations: 43.52 MB / 314.6 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 69.28 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1184, allocations: 57.79 MB / 441.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03399/0.1524, allocations: 27.18 MB / 468.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.1695, allocations: 13.08 MB / 481.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1698, allocations: 4 kB / 481.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.1703, allocations: 79.48 kB / 481.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02609/0.1964, allocations: 8.572 MB / 490.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1976, allocations: 413.1 kB / 490.5 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.1983, allocations: 494.4 kB / 491 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.893e-05/0.1984, allocations: 20.3 kB / 491 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1987, allocations: 195.3 kB / 491.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.2095, allocations: 6 MB / 497.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.2096, allocations: 16 kB / 497.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/0.2362, allocations: 12.87 MB / 0.4981 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.2364, allocations: 95.69 kB / 0.4982 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.2367, allocations: 139.4 kB / 0.4984 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02392/0.2606, allocations: 6.585 MB / 0.5048 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.2607, allocations: 0 / 0.5048 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2607, allocations: 0 / 0.5048 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2607, allocations: 0 / 0.5048 GB, free: 10.95 MB / 398.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.006545/0.2673, allocations: 1.521 MB / 0.5063 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.2674, allocations: 15.89 kB / 0.5063 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.2676, allocations: 27.72 kB / 0.5063 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.268, allocations: 246.7 kB / 0.5066 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.268, allocations: 16.56 kB / 0.5066 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.268, allocations: 28 kB / 0.5066 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/0.2689, allocations: 0.513 MB / 0.5071 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.269, allocations: 7.875 kB / 0.5071 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.269, allocations: 16 kB / 0.5071 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/0.2691, allocations: 24.55 kB / 0.5071 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2702, allocations: 0.9155 MB / 0.508 GB, free: 7.508 MB / 398.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.002393/0.2726, allocations: 1.898 MB / 0.5099 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.2734, allocations: 283.7 kB / 0.5102 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2736, allocations: 105.5 kB / 0.5103 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02198/0.2956, allocations: 15.68 MB / 0.5256 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/0.2963, allocations: 252.2 kB / 0.5258 GB, free: 2.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 4.008e-06/0.2963, allocations: 0 / 0.5258 GB, free: 2.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002462/0.2987, allocations: 0.7877 MB / 0.5266 GB, free: 1.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.2989, allocations: 269 kB / 0.5268 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.2991, allocations: 202.2 kB / 0.527 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2991, allocations: 33.95 kB / 0.5271 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2993, allocations: 203.4 kB / 0.5273 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2994, allocations: 122.3 kB / 0.5274 GB, free: 404 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.2995, allocations: 126 kB / 0.5275 GB, free: 272 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.2866/0.5862, allocations: 331.3 kB / 0.5278 GB, free: 90.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.5865, allocations: 93.11 kB / 0.5279 GB, free: 90.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.5871, allocations: 365.2 kB / 0.5283 GB, free: 90.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/0.5878, allocations: 0.5047 MB / 0.5287 GB, free: 90.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5879, allocations: 3.719 kB / 0.5288 GB, free: 90.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001317/0.5892, allocations: 0.4991 MB / 0.5292 GB, free: 90.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5892, allocations: 14 kB / 0.5293 GB, free: 90.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5892, allocations: 9.266 kB / 0.5293 GB, free: 90.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.743e-05/0.5893, allocations: 14.89 kB / 0.5293 GB, free: 90.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.5901, allocations: 184.7 kB / 0.5295 GB, free: 90.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/0.5906, allocations: 1.192 MB / 0.5306 GB, free: 88.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.5909, allocations: 18.97 kB / 0.5306 GB, free: 88.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.591, allocations: 45.3 kB / 0.5307 GB, free: 88.91 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.0002066/0.5912, allocations: 173.2 kB / 0.5308 GB, free: 88.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.5914, allocations: 30.88 kB / 0.5309 GB, free: 88.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5924, allocations: 478.7 kB / 0.5313 GB, free: 88.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.5925, allocations: 10.72 kB / 0.5313 GB, free: 88.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5925, allocations: 1.453 kB / 0.5313 GB, free: 88.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.5925, allocations: 2.969 kB / 0.5313 GB, free: 88.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.5934, allocations: 0.6077 MB / 0.5319 GB, free: 88.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5934, allocations: 3.922 kB / 0.5319 GB, free: 88.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.5939, allocations: 83.62 kB / 0.532 GB, free: 88.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5939, allocations: 3.453 kB / 0.532 GB, free: 88.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5939, allocations: 11.06 kB / 0.532 GB, free: 88.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/0.5943, allocations: 1.176 MB / 0.5332 GB, free: 87.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5943, allocations: 1.125 kB / 0.5332 GB, free: 87.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.5949, allocations: 322.9 kB / 0.5335 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.5949, allocations: 102.8 kB / 0.5336 GB, free: 86.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.595, allocations: 9.297 kB / 0.5336 GB, free: 86.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.5952, allocations: 13.03 kB / 0.5336 GB, free: 86.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.5953, allocations: 22 kB / 0.5336 GB, free: 86.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.5953, allocations: 18.7 kB / 0.5336 GB, free: 86.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.5955, allocations: 165.7 kB / 0.5338 GB, free: 86.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5955, allocations: 2.344 kB / 0.5338 GB, free: 86.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006742/0.6022, allocations: 1.622 MB / 0.5354 GB, free: 86.69 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.009516/0.6118, allocations: 2.272 MB / 0.5376 GB, free: 86.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.6133, allocations: 334.8 kB / 0.5379 GB, free: 86.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6133, allocations: 5.312 kB / 0.5379 GB, free: 86.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.6138, allocations: 126.5 kB / 0.5381 GB, free: 86.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.6149, allocations: 116.5 kB / 0.5382 GB, free: 86.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1846/0.7995, allocations: 140.8 MB / 0.6757 GB, free: 3.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.7999, allocations: 0.7573 MB / 0.6764 GB, free: 3.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.8003, allocations: 71.39 kB / 0.6765 GB, free: 3.043 MB / 462.1 MB Notification: Performance of SimCode: time 1.113e-06/0.8003, allocations: 0 / 0.6765 GB, free: 3.043 MB / 462.1 MB Notification: Performance of Templates: time 0.3444/1.145, allocations: 36.11 MB / 0.7118 GB, free: 166.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches