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.0009916/0.000992, allocations: 94.06 kB / 16.98 MB, free: 5.938 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.0009131/0.0009132, allocations: 183 kB / 17.87 MB, free: 5.598 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.42/1.42, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2108/0.2108, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 11.94 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 61.91 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02655/0.1558, allocations: 22.36 MB / 493.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1671, allocations: 9.662 MB / 0.4917 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.1674, allocations: 0 / 0.4917 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.1678, allocations: 63.62 kB / 0.4917 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01772/0.1855, allocations: 6.761 MB / 0.4983 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.1863, allocations: 326.1 kB / 0.4987 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.1868, allocations: 303.9 kB / 0.4989 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.1869, allocations: 20.3 kB / 0.499 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1871, allocations: 183.4 kB / 0.4991 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2694/0.4565, allocations: 11.09 MB / 0.51 GB, free: 18.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.539e-05/0.4567, allocations: 11.8 kB / 0.51 GB, free: 18.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02446/0.4811, allocations: 11.62 MB / 0.5213 GB, free: 18.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4813, allocations: 76 kB / 0.5214 GB, free: 18.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.4814, allocations: 79.95 kB / 0.5215 GB, free: 18.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.4935, allocations: 4.225 MB / 0.5256 GB, free: 17.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4935, allocations: 0 / 0.5256 GB, free: 17.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4936, allocations: 0 / 0.5256 GB, free: 17.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.4936, allocations: 2.219 kB / 0.5256 GB, free: 17.68 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.005088/0.4987, allocations: 1.489 MB / 0.5271 GB, free: 16.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.655e-05/0.4988, allocations: 12.78 kB / 0.5271 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.499, allocations: 31.83 kB / 0.5271 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.4994, allocations: 245.6 kB / 0.5273 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.4994, allocations: 17.91 kB / 0.5274 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.4995, allocations: 28.02 kB / 0.5274 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.5004, allocations: 0.5108 MB / 0.5279 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5004, allocations: 2.812 kB / 0.5279 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.5004, allocations: 9.438 kB / 0.5279 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.5005, allocations: 24.67 kB / 0.5279 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.5016, allocations: 0.915 MB / 0.5288 GB, free: 16.03 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.001727/0.5033, allocations: 1.96 MB / 0.5307 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.504, allocations: 265.6 kB / 0.531 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.5194, allocations: 15.71 MB / 0.5463 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.5199, allocations: 236.6 kB / 0.5465 GB, free: 12.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.5199, allocations: 4 kB / 0.5465 GB, free: 12.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002161/0.5221, allocations: 0.7737 MB / 0.5473 GB, free: 11.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5222, allocations: 268.4 kB / 0.5476 GB, free: 11.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.5224, allocations: 203.9 kB / 0.5478 GB, free: 11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.5225, allocations: 40.69 kB / 0.5478 GB, free: 10.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.5226, allocations: 190.7 kB / 0.548 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.5226, allocations: 127.2 kB / 0.5481 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.5227, allocations: 14.75 kB / 0.5481 GB, free: 10.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5228, allocations: 339 kB / 0.5484 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.5229, allocations: 87.44 kB / 0.5485 GB, free: 10.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.5233, allocations: 367.8 kB / 0.5489 GB, free: 9.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.5237, allocations: 150.1 kB / 0.549 GB, free: 9.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5237, allocations: 4 kB / 0.549 GB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001076/0.5248, allocations: 0.4926 MB / 0.5495 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5248, allocations: 12.25 kB / 0.5495 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5248, allocations: 15.98 kB / 0.5495 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.5249, allocations: 12 kB / 0.5495 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.5255, allocations: 183.2 kB / 0.5497 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005806/0.5261, allocations: 1.189 MB / 0.5509 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5264, allocations: 34.02 kB / 0.5509 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.5264, allocations: 49.06 kB / 0.5509 GB, free: 7.895 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.5266, allocations: 167.7 kB / 0.5511 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.5268, allocations: 31.67 kB / 0.5511 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.5279, allocations: 0.4936 MB / 0.5516 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5279, allocations: 0 / 0.5516 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5279, allocations: 4 kB / 0.5516 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5279, allocations: 3.984 kB / 0.5516 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008662/0.5288, allocations: 0.6151 MB / 0.5522 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5288, allocations: 7.984 kB / 0.5522 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.5292, allocations: 79 kB / 0.5523 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5292, allocations: 4 kB / 0.5523 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.5292, allocations: 7.812 kB / 0.5523 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004889/0.5297, allocations: 1.185 MB / 0.5535 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5297, allocations: 0 / 0.5535 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.5303, allocations: 379 kB / 0.5538 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.5304, allocations: 135.8 kB / 0.554 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.5304, allocations: 14.14 kB / 0.554 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.5307, allocations: 15.86 kB / 0.554 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.5307, allocations: 19.78 kB / 0.554 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.5308, allocations: 12 kB / 0.554 GB, free: 4.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.5309, allocations: 167 kB / 0.5542 GB, free: 4.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.5309, allocations: 0 / 0.5542 GB, free: 4.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005482/0.5364, allocations: 1.668 MB / 0.5558 GB, free: 3.164 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007601/0.544, allocations: 2.105 MB / 0.5579 GB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.5453, allocations: 318.7 kB / 0.5582 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.5453, allocations: 0 / 0.5582 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.5458, allocations: 126.5 kB / 0.5583 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.5463, allocations: 67.81 kB / 0.5584 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.5473, allocations: 0.6261 MB / 0.559 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.5476, allocations: 0.7598 MB / 0.5597 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005092/0.5482, allocations: 144.6 kB / 0.5599 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5483, allocations: 50.67 kB / 0.5599 GB, free: 15.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5483, allocations: 0 / 0.5599 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Templates: time 0.06005/0.6083, allocations: 46.16 MB / 0.605 GB, free: 1.371 MB / 446.1 MB 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