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.001403/0.001403, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001467/0.001467, allocations: 201.9 kB / 18.78 MB, free: 4.711 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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.33 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.2055/0.2055, allocations: 44.17 MB / 336.8 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 56.47 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03245/0.1446, allocations: 28.81 MB / 498 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.1583, allocations: 11.72 MB / 0.4978 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1584, allocations: 3.938 kB / 0.4978 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1588, allocations: 67.62 kB / 0.4978 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2477/0.4066, allocations: 7.604 MB / 0.5053 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4078, allocations: 388 kB / 0.5056 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.409, allocations: 0.6931 MB / 0.5063 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.4091, allocations: 15.33 kB / 0.5063 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.4094, allocations: 176.7 kB / 0.5065 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01266/0.4221, allocations: 6.302 MB / 0.5126 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.68e-05/0.4222, allocations: 9.344 kB / 0.5127 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02328/0.4455, allocations: 13.74 MB / 0.5261 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.4457, allocations: 86.14 kB / 0.5262 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.4459, allocations: 139.7 kB / 0.5263 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009823/0.4557, allocations: 4.585 MB / 0.5308 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4558, allocations: 4 kB / 0.5308 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4558, allocations: 0 / 0.5308 GB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4558, allocations: 0 / 0.5308 GB, free: 10.59 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.004464/0.4603, allocations: 1.553 MB / 0.5323 GB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4604, allocations: 10.31 kB / 0.5323 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.4605, allocations: 32.28 kB / 0.5323 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4608, allocations: 248 kB / 0.5326 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.4608, allocations: 20.28 kB / 0.5326 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.4608, allocations: 23.59 kB / 0.5326 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.4616, allocations: 0.5163 MB / 0.5331 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4616, allocations: 3.281 kB / 0.5331 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.4616, allocations: 14.81 kB / 0.5331 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.4617, allocations: 20.7 kB / 0.5331 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.4626, allocations: 0.9175 MB / 0.534 GB, free: 8.93 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.001616/0.4642, allocations: 1.905 MB / 0.5359 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.4649, allocations: 268.1 kB / 0.5362 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.465, allocations: 104.2 kB / 0.5363 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/0.4816, allocations: 15.67 MB / 0.5516 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.4821, allocations: 253.9 kB / 0.5518 GB, free: 5.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.4821, allocations: 1.641 kB / 0.5518 GB, free: 5.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00221/0.4844, allocations: 0.7825 MB / 0.5526 GB, free: 4.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.4845, allocations: 281.4 kB / 0.5528 GB, free: 4.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.4847, allocations: 196.8 kB / 0.553 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.4847, allocations: 29.27 kB / 0.5531 GB, free: 3.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4848, allocations: 205.6 kB / 0.5533 GB, free: 3.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.4849, allocations: 117.5 kB / 0.5534 GB, free: 3.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.4851, allocations: 126 kB / 0.5535 GB, free: 3.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4852, allocations: 330.8 kB / 0.5538 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.4854, allocations: 93.06 kB / 0.5539 GB, free: 2.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.4858, allocations: 364.6 kB / 0.5542 GB, free: 2.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.4866, allocations: 0.5129 MB / 0.5547 GB, free: 1.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4866, allocations: 0 / 0.5547 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001177/0.4878, allocations: 0.4983 MB / 0.5552 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4878, allocations: 16.03 kB / 0.5552 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.4878, allocations: 8 kB / 0.5552 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.4879, allocations: 15.75 kB / 0.5553 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.4885, allocations: 184.9 kB / 0.5554 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006019/0.4891, allocations: 1.194 MB / 0.5566 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.4894, allocations: 20 kB / 0.5566 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/0.4895, allocations: 47.98 kB / 0.5567 GB, free: 15.97 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.000159/0.4896, allocations: 177.4 kB / 0.5568 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.4898, allocations: 27.72 kB / 0.5569 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.4909, allocations: 484.4 kB / 0.5573 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4909, allocations: 4 kB / 0.5573 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4909, allocations: 0 / 0.5573 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4909, allocations: 3.984 kB / 0.5573 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008738/0.4918, allocations: 0.613 MB / 0.5579 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4918, allocations: 0 / 0.5579 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.4922, allocations: 79.94 kB / 0.558 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4922, allocations: 4 kB / 0.558 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.4922, allocations: 4 kB / 0.558 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005447/0.4928, allocations: 1.178 MB / 0.5592 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4928, allocations: 4.031 kB / 0.5592 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.4934, allocations: 323.7 kB / 0.5595 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.4935, allocations: 108.8 kB / 0.5596 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.4935, allocations: 8 kB / 0.5596 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4938, allocations: 11.98 kB / 0.5596 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4938, allocations: 27.91 kB / 0.5596 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.4938, allocations: 16 kB / 0.5596 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.494, allocations: 168.5 kB / 0.5598 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.494, allocations: 1.203 kB / 0.5598 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004682/0.4987, allocations: 1.68 MB / 0.5614 GB, free: 10.93 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.006522/0.5052, allocations: 2.332 MB / 0.5637 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009307/0.5062, allocations: 332.3 kB / 0.564 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5062, allocations: 0 / 0.564 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.5066, allocations: 118.2 kB / 0.5642 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.5073, allocations: 107.1 kB / 0.5643 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1989/0.7063, allocations: 141 MB / 0.702 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.7066, allocations: 0.7534 MB / 0.7027 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.7069, allocations: 67.41 kB / 0.7028 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of SimCode: time 2.224e-06/0.7069, allocations: 0 / 0.7028 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.256/0.9628, allocations: 35.55 MB / 0.7375 GB, free: 186.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/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