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.001708/0.001708, allocations: 111.1 kB / 17.04 MB, free: 6.027 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.001881/0.001881, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.625/1.625, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2414/0.2414, allocations: 43.53 MB / 314.7 MB, free: 460 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.001799/0.001799, allocations: 67.48 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1467, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03336/0.1801, allocations: 27.16 MB / 469.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.1982, allocations: 13.1 MB / 482.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.1986, allocations: 0 / 482.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.1993, allocations: 83.48 kB / 482.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02773/0.227, allocations: 8.563 MB / 490.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.2283, allocations: 426.5 kB / 491.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008792/0.2292, allocations: 486.4 kB / 491.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.2293, allocations: 16.3 kB / 491.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.2296, allocations: 195.3 kB / 492 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.2408, allocations: 6.004 MB / 498 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.241, allocations: 12 kB / 498 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02927/0.2703, allocations: 13.05 MB / 0.4991 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.2706, allocations: 83.75 kB / 0.4992 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.2709, allocations: 143.3 kB / 0.4993 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02594/0.2968, allocations: 6.593 MB / 0.5057 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.2969, allocations: 0 / 0.5057 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2969, allocations: 3.938 kB / 0.5057 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.297, allocations: 4 kB / 0.5057 GB, free: 10.02 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.007727/0.3047, allocations: 1.509 MB / 0.5072 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/0.3048, allocations: 15.89 kB / 0.5072 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.3051, allocations: 35.7 kB / 0.5073 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3055, allocations: 238.7 kB / 0.5075 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3056, allocations: 24.55 kB / 0.5075 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.3056, allocations: 28 kB / 0.5075 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3067, allocations: 0.5169 MB / 0.508 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3067, allocations: 3.938 kB / 0.508 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.3068, allocations: 12 kB / 0.5081 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.3068, allocations: 20.55 kB / 0.5081 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3081, 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.002435/0.3106, allocations: 1.902 MB / 0.5108 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.3114, allocations: 267.7 kB / 0.5111 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.3116, allocations: 105.4 kB / 0.5112 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02057/0.3321, allocations: 15.69 MB / 0.5265 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/0.3328, allocations: 244.2 kB / 0.5267 GB, free: 1.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.3328, allocations: 0 / 0.5267 GB, free: 1.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002418/0.3352, allocations: 0.7876 MB / 0.5275 GB, free: 376 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.3354, allocations: 270 kB / 0.5278 GB, free: 44 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2612/0.5965, allocations: 202.5 kB / 0.528 GB, free: 90.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.5967, allocations: 33.45 kB / 0.528 GB, free: 90.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.5969, allocations: 198.1 kB / 0.5282 GB, free: 90.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.597, allocations: 127.1 kB / 0.5283 GB, free: 90.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.5972, allocations: 123.2 kB / 0.5284 GB, free: 90.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.5973, allocations: 330.3 kB / 0.5287 GB, free: 90.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.5975, allocations: 95.75 kB / 0.5288 GB, free: 90.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.5981, allocations: 368.6 kB / 0.5292 GB, free: 89.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/0.5988, allocations: 0.5042 MB / 0.5297 GB, free: 89.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.5988, allocations: 7.281 kB / 0.5297 GB, free: 89.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001352/0.6002, allocations: 0.504 MB / 0.5302 GB, free: 89.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.6002, allocations: 9.781 kB / 0.5302 GB, free: 89.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.6003, allocations: 12.67 kB / 0.5302 GB, free: 89.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.76e-05/0.6003, allocations: 13.22 kB / 0.5302 GB, free: 89.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.6011, allocations: 177.7 kB / 0.5304 GB, free: 89.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006404/0.6018, allocations: 1.191 MB / 0.5315 GB, free: 88.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.6021, allocations: 21.11 kB / 0.5316 GB, free: 88.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.6022, allocations: 48.8 kB / 0.5316 GB, free: 88.37 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.0002002/0.6024, allocations: 167.1 kB / 0.5318 GB, free: 88.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.6026, allocations: 34.22 kB / 0.5318 GB, free: 88.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.6036, allocations: 485.4 kB / 0.5323 GB, free: 88.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.6037, allocations: 2.375 kB / 0.5323 GB, free: 88.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6037, allocations: 1.094 kB / 0.5323 GB, free: 88.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6037, allocations: 2.344 kB / 0.5323 GB, free: 88.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.6047, allocations: 0.6104 MB / 0.5329 GB, free: 87.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6047, allocations: 2.531 kB / 0.5329 GB, free: 87.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.6051, allocations: 87.33 kB / 0.533 GB, free: 87.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.6052, allocations: 2.25 kB / 0.533 GB, free: 87.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.6052, allocations: 10.09 kB / 0.533 GB, free: 87.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003496/0.6055, allocations: 1.167 MB / 0.5341 GB, free: 86.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6056, allocations: 5.281 kB / 0.5341 GB, free: 86.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.6061, allocations: 335 kB / 0.5344 GB, free: 86.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.6062, allocations: 98.52 kB / 0.5345 GB, free: 86.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.6063, allocations: 12.48 kB / 0.5345 GB, free: 86.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.6065, allocations: 13.61 kB / 0.5345 GB, free: 86.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.6065, allocations: 20.67 kB / 0.5346 GB, free: 86.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.6066, allocations: 23.16 kB / 0.5346 GB, free: 86.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.6067, allocations: 165.1 kB / 0.5347 GB, free: 86.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6067, allocations: 3.625 kB / 0.5347 GB, free: 86.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006045/0.6128, allocations: 1.619 MB / 0.5363 GB, free: 86.11 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.009716/0.6225, allocations: 2.275 MB / 0.5386 GB, free: 85.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.624, allocations: 326.4 kB / 0.5389 GB, free: 85.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.624, allocations: 1.812 kB / 0.5389 GB, free: 85.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.6244, allocations: 132.5 kB / 0.539 GB, free: 85.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.6253, allocations: 103.8 kB / 0.5391 GB, free: 85.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1884/0.8137, allocations: 140.8 MB / 0.6766 GB, free: 3.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.8142, allocations: 0.7495 MB / 0.6773 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006324/0.8148, allocations: 152.6 kB / 0.6775 GB, free: 2.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.815, allocations: 51.41 kB / 0.6775 GB, free: 2.426 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.815, allocations: 0 / 0.6775 GB, free: 2.426 MB / 462.1 MB Notification: Performance of Templates: time 0.3237/1.139, allocations: 47.2 MB / 0.7236 GB, free: 163.9 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 cvode -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