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.001768/0.001768, allocations: 104.8 kB / 15.98 MB, free: 6.359 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.002031/0.002031, allocations: 190.7 kB / 16.91 MB, free: 6.191 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.637/1.637, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4166/0.4166, allocations: 43.49 MB / 313.6 MB, free: 8.27 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.002479/0.002479, allocations: 63.91 kB / 382.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1611, allocations: 57.78 MB / 440 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.356/0.5171, allocations: 27.34 MB / 467.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.533, allocations: 13.11 MB / 480.5 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.5333, allocations: 0 / 480.5 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.5338, allocations: 73.25 kB / 480.5 MB, free: 27.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03118/0.565, allocations: 7.728 MB / 488.3 MB, free: 24.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.5664, allocations: 402.7 kB / 488.6 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007925/0.5672, allocations: 492.3 kB / 489.1 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.5673, allocations: 20.58 kB / 489.1 MB, free: 23.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.5676, allocations: 194.7 kB / 489.3 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.5812, allocations: 6.355 MB / 495.7 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.5814, allocations: 13.88 kB / 495.7 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03646/0.6179, allocations: 13.07 MB / 0.4969 GB, free: 17.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.6183, allocations: 98.12 kB / 0.497 GB, free: 17.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.6187, allocations: 145.4 kB / 0.4971 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03336/0.6521, allocations: 6.79 MB / 0.5037 GB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.6521, allocations: 1.469 kB / 0.5037 GB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6521, allocations: 4 kB / 0.5037 GB, free: 13.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.6522, allocations: 0 / 0.5037 GB, free: 13.28 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.007806/0.66, allocations: 1.515 MB / 0.5052 GB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.66, allocations: 13.48 kB / 0.5052 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.6603, allocations: 33.53 kB / 0.5052 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.6607, allocations: 241.7 kB / 0.5055 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.6607, allocations: 18.78 kB / 0.5055 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.6608, allocations: 24.5 kB / 0.5055 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009927/0.6618, allocations: 0.511 MB / 0.506 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.6618, allocations: 4 kB / 0.506 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.6618, allocations: 24.67 kB / 0.506 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.6619, allocations: 24.36 kB / 0.5061 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.6631, allocations: 0.9208 MB / 0.507 GB, free: 11.15 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.002181/0.6653, allocations: 1.903 MB / 0.5088 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.666, allocations: 261.8 kB / 0.5091 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.6662, allocations: 109.3 kB / 0.5092 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01839/0.6846, allocations: 15.69 MB / 0.5245 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.6852, allocations: 258.4 kB / 0.5248 GB, free: 7.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.6852, allocations: 0 / 0.5248 GB, free: 7.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002348/0.6875, allocations: 0.7768 MB / 0.5255 GB, free: 6.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.6877, allocations: 269.7 kB / 0.5258 GB, free: 6.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.6879, allocations: 201 kB / 0.526 GB, free: 6.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.6879, allocations: 37.7 kB / 0.526 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.6881, allocations: 199.4 kB / 0.5262 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6882, allocations: 122.3 kB / 0.5263 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.6884, allocations: 126 kB / 0.5264 GB, free: 5.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6885, allocations: 334.8 kB / 0.5267 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.6887, allocations: 93.05 kB / 0.5268 GB, free: 5.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.6892, allocations: 373.3 kB / 0.5272 GB, free: 4.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.6899, allocations: 0.5064 MB / 0.5277 GB, free: 4.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6899, allocations: 4 kB / 0.5277 GB, free: 4.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001173/0.6911, allocations: 0.5009 MB / 0.5282 GB, free: 3.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6912, allocations: 8 kB / 0.5282 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6912, allocations: 12.12 kB / 0.5282 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6912, allocations: 23.88 kB / 0.5282 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.6919, allocations: 175.7 kB / 0.5284 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006716/0.6926, allocations: 1.18 MB / 0.5295 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.6929, allocations: 39.95 kB / 0.5296 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.693, allocations: 51.98 kB / 0.5296 GB, free: 1.977 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 (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.000216/0.6932, allocations: 163.9 kB / 0.5298 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.6934, allocations: 23.81 kB / 0.5298 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.6945, allocations: 492.4 kB / 0.5303 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6945, allocations: 4 kB / 0.5303 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.6946, allocations: 0 / 0.5303 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6946, allocations: 3.938 kB / 0.5303 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.6955, allocations: 0.6061 MB / 0.5309 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6955, allocations: 4 kB / 0.5309 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.6959, allocations: 94.92 kB / 0.531 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.696, allocations: 0 / 0.531 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.696, allocations: 8 kB / 0.531 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006031/0.6966, allocations: 1.172 MB / 0.5321 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6966, allocations: 3.938 kB / 0.5321 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.6972, allocations: 331.5 kB / 0.5324 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.6973, allocations: 100.8 kB / 0.5325 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.6974, allocations: 11.94 kB / 0.5325 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.6976, allocations: 12 kB / 0.5326 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.6977, allocations: 15.97 kB / 0.5326 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.6977, allocations: 23.98 kB / 0.5326 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.6979, allocations: 164.5 kB / 0.5327 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6979, allocations: 0 / 0.5327 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008112/0.706, allocations: 1.62 MB / 0.5343 GB, free: 12.94 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.01421/0.7202, allocations: 2.282 MB / 0.5366 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.7219, allocations: 337.2 kB / 0.5369 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.7219, allocations: 0 / 0.5369 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.7223, allocations: 120.7 kB / 0.537 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.7233, allocations: 108 kB / 0.5371 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5493/1.273, allocations: 140.9 MB / 0.6747 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/1.273, allocations: 0.7513 MB / 0.6754 GB, free: 115.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006897/1.274, allocations: 142.7 kB / 0.6755 GB, free: 115.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/1.274, allocations: 55.66 kB / 0.6756 GB, free: 115.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.844e-06/1.274, allocations: 0 / 0.6756 GB, free: 115.5 MB / 494.1 MB Notification: Performance of Templates: time 0.05928/1.333, allocations: 47.28 MB / 0.7218 GB, free: 74.64 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches