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.00135/0.00135, allocations: 104.3 kB / 17.03 MB, free: 5.66 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.001354/0.001354, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.381/1.381, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2055/0.2055, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 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.002353/0.002353, allocations: 67.17 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1134, allocations: 57.8 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03274/0.1461, allocations: 27.18 MB / 469.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.1621, allocations: 13.09 MB / 482.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1623, allocations: 0 / 482.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.1628, allocations: 79.55 kB / 482.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02265/0.1855, allocations: 8.573 MB / 490.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1866, allocations: 418.5 kB / 491.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008232/0.1874, allocations: 486.4 kB / 491.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.248e-05/0.1875, allocations: 24.28 kB / 491.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.1879, allocations: 195.4 kB / 492 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.1988, allocations: 6 MB / 498 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/0.199, allocations: 16 kB / 498 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02678/0.2257, allocations: 13.04 MB / 0.4991 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.226, allocations: 91.69 kB / 0.4991 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.2264, allocations: 147.4 kB / 0.4993 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0196/0.246, allocations: 6.585 MB / 0.5057 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2461, allocations: 0 / 0.5057 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2461, allocations: 0 / 0.5057 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2461, allocations: 0 / 0.5057 GB, free: 10.03 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.004431/0.2505, allocations: 1.525 MB / 0.5072 GB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2506, allocations: 11.89 kB / 0.5072 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.2508, allocations: 35.7 kB / 0.5073 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.2511, allocations: 238.7 kB / 0.5075 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2512, allocations: 20.56 kB / 0.5075 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.2512, allocations: 24 kB / 0.5075 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.252, allocations: 0.5169 MB / 0.508 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2521, allocations: 3.938 kB / 0.508 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2521, allocations: 12 kB / 0.508 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.2522, allocations: 24.55 kB / 0.5081 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.2533, allocations: 0.9193 MB / 0.509 GB, free: 6.582 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.002105/0.2554, allocations: 1.894 MB / 0.5108 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.2561, allocations: 275.3 kB / 0.5111 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.2563, allocations: 101.5 kB / 0.5112 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01847/0.2748, allocations: 15.7 MB / 0.5265 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/0.2753, allocations: 244.2 kB / 0.5267 GB, free: 1.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.855e-06/0.2753, allocations: 4 kB / 0.5267 GB, free: 1.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002318/0.2777, allocations: 0.7796 MB / 0.5275 GB, free: 384 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.2778, allocations: 277.1 kB / 0.5278 GB, free: 44 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.198/0.4758, allocations: 199.2 kB / 0.528 GB, free: 90.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.4759, allocations: 34.77 kB / 0.528 GB, free: 90.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.476, allocations: 193.4 kB / 0.5282 GB, free: 90.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.4761, allocations: 123.4 kB / 0.5283 GB, free: 90.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.4763, allocations: 125 kB / 0.5284 GB, free: 90.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.4764, allocations: 333.2 kB / 0.5287 GB, free: 90.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4765, allocations: 94.3 kB / 0.5288 GB, free: 90.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.477, allocations: 367.4 kB / 0.5292 GB, free: 90.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.4778, allocations: 0.506 MB / 0.5297 GB, free: 89.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4778, allocations: 2.656 kB / 0.5297 GB, free: 89.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001264/0.4791, allocations: 0.506 MB / 0.5302 GB, free: 89.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4791, allocations: 8.031 kB / 0.5302 GB, free: 89.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.4791, allocations: 12.09 kB / 0.5302 GB, free: 89.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.4791, allocations: 20.39 kB / 0.5302 GB, free: 89.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.4798, allocations: 182.1 kB / 0.5304 GB, free: 89.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.4803, allocations: 1.188 MB / 0.5315 GB, free: 88.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.4806, allocations: 22.12 kB / 0.5316 GB, free: 88.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.4807, allocations: 50.69 kB / 0.5316 GB, free: 88.47 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.0001751/0.4809, allocations: 167.5 kB / 0.5318 GB, free: 88.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.4811, allocations: 30.19 kB / 0.5318 GB, free: 88.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.482, allocations: 485.7 kB / 0.5323 GB, free: 88.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.482, allocations: 2.375 kB / 0.5323 GB, free: 88.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4821, allocations: 3.281 kB / 0.5323 GB, free: 88.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4821, allocations: 8 kB / 0.5323 GB, free: 88.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000912/0.483, allocations: 0.605 MB / 0.5329 GB, free: 87.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.483, allocations: 2.938 kB / 0.5329 GB, free: 87.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.4834, allocations: 82 kB / 0.5329 GB, free: 87.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4834, allocations: 5.969 kB / 0.5329 GB, free: 87.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4834, allocations: 10.89 kB / 0.533 GB, free: 87.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/0.4837, allocations: 1.168 MB / 0.5341 GB, free: 86.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4837, allocations: 1.219 kB / 0.5341 GB, free: 86.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/0.4843, allocations: 332.2 kB / 0.5344 GB, free: 86.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.4843, allocations: 94.5 kB / 0.5345 GB, free: 86.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.4844, allocations: 12.41 kB / 0.5345 GB, free: 86.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.4846, allocations: 16.62 kB / 0.5345 GB, free: 86.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4847, allocations: 24.31 kB / 0.5346 GB, free: 86.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.4847, allocations: 13.55 kB / 0.5346 GB, free: 86.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.4849, allocations: 169.7 kB / 0.5347 GB, free: 86.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.51e-07/0.4849, allocations: 0 / 0.5347 GB, free: 86.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005564/0.4905, allocations: 1.624 MB / 0.5363 GB, free: 86.21 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.01052/0.501, allocations: 2.273 MB / 0.5385 GB, free: 85.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.5024, allocations: 332.3 kB / 0.5389 GB, free: 85.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5024, allocations: 1.031 kB / 0.5389 GB, free: 85.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.5029, allocations: 121.1 kB / 0.539 GB, free: 85.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.5037, allocations: 114.3 kB / 0.5391 GB, free: 85.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1728/0.6765, allocations: 140.8 MB / 0.6766 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.6769, allocations: 0.7534 MB / 0.6773 GB, free: 2.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005804/0.6775, allocations: 150 kB / 0.6774 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.6777, allocations: 59.34 kB / 0.6775 GB, free: 2.453 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6777, allocations: 0 / 0.6775 GB, free: 2.453 MB / 462.1 MB Notification: Performance of Templates: time 0.2436/0.9213, allocations: 47.2 MB / 0.7236 GB, free: 164 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 -s gbode -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