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.0008682/0.0008683, allocations: 93.72 kB / 17 MB, free: 6.797 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.001063/0.001063, allocations: 184.4 kB / 17.89 MB, free: 6.055 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.455/1.455, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2237/0.2237, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0324/0.1721, allocations: 25.07 MB / 496.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.1848, allocations: 10.24 MB / 0.495 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.1851, allocations: 0 / 0.495 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.1855, allocations: 51.66 kB / 0.4951 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02193/0.2074, allocations: 6.756 MB / 0.5017 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/0.2084, allocations: 314.5 kB / 0.502 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009296/0.2093, allocations: 0.5803 MB / 0.5025 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.2094, allocations: 16.31 kB / 0.5026 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.2098, allocations: 183.4 kB / 0.5027 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3302/0.54, allocations: 11.35 MB / 0.5138 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.5402, allocations: 9.219 kB / 0.5138 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02391/0.5641, allocations: 11.44 MB / 0.525 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.5643, allocations: 88.86 kB / 0.5251 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.5644, allocations: 76.3 kB / 0.5252 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.5759, allocations: 4.261 MB / 0.5293 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.576, allocations: 0 / 0.5293 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.576, allocations: 4 kB / 0.5293 GB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.576, allocations: 3.562 kB / 0.5293 GB, free: 14.54 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.005634/0.5816, allocations: 1.488 MB / 0.5308 GB, free: 13.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5817, allocations: 9.438 kB / 0.5308 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.5818, allocations: 35.66 kB / 0.5308 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.5821, allocations: 240.5 kB / 0.5311 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.5822, allocations: 25.91 kB / 0.5311 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.5822, allocations: 27.38 kB / 0.5311 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.5829, allocations: 0.5075 MB / 0.5316 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5829, allocations: 4 kB / 0.5316 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.583, allocations: 11.62 kB / 0.5316 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.583, allocations: 24.36 kB / 0.5316 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.5839, allocations: 0.9149 MB / 0.5325 GB, free: 12.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.001612/0.5855, allocations: 1.896 MB / 0.5344 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.5862, allocations: 264.6 kB / 0.5346 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.5864, allocations: 104.6 kB / 0.5347 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01631/0.6027, allocations: 15.75 MB / 0.5501 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.6033, allocations: 241.7 kB / 0.5504 GB, free: 7.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.6033, allocations: 2.734 kB / 0.5504 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002208/0.6055, allocations: 0.7683 MB / 0.5511 GB, free: 6.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.6057, allocations: 283.4 kB / 0.5514 GB, free: 6.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.6059, allocations: 207.5 kB / 0.5516 GB, free: 6.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.6059, allocations: 32.94 kB / 0.5516 GB, free: 6.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.606, allocations: 194.1 kB / 0.5518 GB, free: 5.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.6061, allocations: 128.3 kB / 0.5519 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.6062, allocations: 10.06 kB / 0.5519 GB, free: 5.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6063, allocations: 336.4 kB / 0.5522 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.6065, allocations: 85.81 kB / 0.5523 GB, free: 5.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.607, allocations: 367.7 kB / 0.5527 GB, free: 5.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.6073, allocations: 149.8 kB / 0.5528 GB, free: 4.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6074, allocations: 8 kB / 0.5528 GB, free: 4.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001117/0.6085, allocations: 0.495 MB / 0.5533 GB, free: 4.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6085, allocations: 8 kB / 0.5533 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6085, allocations: 12.91 kB / 0.5533 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.6086, allocations: 12 kB / 0.5533 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.6092, allocations: 180.9 kB / 0.5535 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006529/0.6098, allocations: 1.188 MB / 0.5547 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.6101, allocations: 38.36 kB / 0.5547 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.6102, allocations: 46.8 kB / 0.5548 GB, free: 3.074 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.0002074/0.6104, allocations: 173.6 kB / 0.5549 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.6106, allocations: 31.47 kB / 0.555 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6116, allocations: 492.7 kB / 0.5554 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6117, allocations: 4.875 kB / 0.5554 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6117, allocations: 0 / 0.5554 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6117, allocations: 2.906 kB / 0.5554 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008606/0.6125, allocations: 0.6094 MB / 0.556 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6126, allocations: 0 / 0.556 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.6129, allocations: 87.55 kB / 0.5561 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6129, allocations: 4 kB / 0.5561 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.613, allocations: 10.94 kB / 0.5561 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006092/0.6136, allocations: 1.179 MB / 0.5573 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6136, allocations: 4.031 kB / 0.5573 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.6142, allocations: 317.7 kB / 0.5576 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.6143, allocations: 122.3 kB / 0.5577 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.6143, allocations: 3.438 kB / 0.5577 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.6146, allocations: 15.8 kB / 0.5577 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.6146, allocations: 22.97 kB / 0.5577 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.6147, allocations: 19.69 kB / 0.5578 GB, free: 152 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.6148, allocations: 169.1 kB / 0.5579 GB, free: 8 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6148, allocations: 0 / 0.5579 GB, free: 8 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.005917/0.6208, allocations: 1.675 MB / 0.5596 GB, free: 14.45 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 (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.008352/0.6291, allocations: 2.098 MB / 0.5616 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.6304, allocations: 326.5 kB / 0.5619 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.6304, allocations: 0 / 0.5619 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.6308, allocations: 127.5 kB / 0.562 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.6314, allocations: 65.88 kB / 0.5621 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2333/0.8647, allocations: 140.5 MB / 0.6994 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.8653, allocations: 0.7488 MB / 0.7001 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000766/0.8661, allocations: 138.7 kB / 0.7002 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.8663, allocations: 55.41 kB / 0.7003 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of SimCode: time 1.663e-06/0.8663, allocations: 4 kB / 0.7003 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of Templates: time 0.3463/1.213, allocations: 46.23 MB / 0.7454 GB, free: 181.3 MB / 0.5294 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches