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.001085/0.001085, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.001021, allocations: 178.4 kB / 16.57 MB, free: 6.387 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.484/1.484, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3803/0.3803, allocations: 43.54 MB / 314.5 MB, free: 8.77 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.0005313/0.0005314, allocations: 20 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 58.85 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.236/0.3678, allocations: 22.52 MB / 465.3 MB, free: 36.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.379, allocations: 10.92 MB / 476.2 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.3793, allocations: 3.938 kB / 476.2 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3796, allocations: 53.92 kB / 476.2 MB, free: 31.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02065/0.4003, allocations: 6.209 MB / 482.5 MB, free: 28.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.4012, allocations: 323.2 kB / 482.8 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.4017, allocations: 311.8 kB / 483.1 MB, free: 28.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.4018, allocations: 13.69 kB / 483.1 MB, free: 28.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.4021, allocations: 183 kB / 483.3 MB, free: 28.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01534/0.4174, allocations: 11.1 MB / 494.4 MB, free: 27.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.4176, allocations: 9.625 kB / 494.4 MB, free: 27.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02631/0.4439, allocations: 11.35 MB / 0.4939 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.4441, allocations: 79.27 kB / 0.4939 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.4442, allocations: 79.52 kB / 0.494 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.4576, allocations: 4.089 MB / 0.498 GB, free: 23.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4577, allocations: 0 / 0.498 GB, free: 23.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4577, allocations: 2.469 kB / 0.498 GB, free: 23.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4577, allocations: 0 / 0.498 GB, free: 23.06 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.005586/0.4633, allocations: 1.462 MB / 0.4994 GB, free: 21.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4633, allocations: 9.438 kB / 0.4995 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.4635, allocations: 35.8 kB / 0.4995 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.4638, allocations: 239.6 kB / 0.4997 GB, free: 21.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4638, allocations: 19.59 kB / 0.4997 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.4639, allocations: 32.25 kB / 0.4998 GB, free: 21.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.4646, allocations: 0.506 MB / 0.5003 GB, free: 21.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4646, allocations: 0 / 0.5003 GB, free: 21.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.4647, allocations: 19.97 kB / 0.5003 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.4647, allocations: 28.55 kB / 0.5003 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008625/0.4656, allocations: 0.9154 MB / 0.5012 GB, free: 20.35 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.001665/0.4673, allocations: 1.949 MB / 0.5031 GB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.4679, allocations: 271.7 kB / 0.5034 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.4827, allocations: 15.71 MB / 0.5187 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005347/0.4832, allocations: 240.5 kB / 0.5189 GB, free: 15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.4833, allocations: 0 / 0.5189 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002303/0.4856, allocations: 0.7832 MB / 0.5197 GB, free: 14.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.4858, allocations: 269 kB / 0.52 GB, free: 13.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.486, allocations: 200.9 kB / 0.5202 GB, free: 13.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.486, allocations: 37.7 kB / 0.5202 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.4862, allocations: 195.7 kB / 0.5204 GB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.4863, allocations: 126.2 kB / 0.5205 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.4863, allocations: 12 kB / 0.5205 GB, free: 13.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4865, allocations: 338.8 kB / 0.5208 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.4866, allocations: 89.06 kB / 0.5209 GB, free: 12.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.4871, allocations: 361.5 kB / 0.5213 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.4874, allocations: 152.6 kB / 0.5214 GB, free: 12.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4875, allocations: 4 kB / 0.5214 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001123/0.4886, allocations: 0.4939 MB / 0.5219 GB, free: 11.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4886, allocations: 8 kB / 0.5219 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.4886, allocations: 12 kB / 0.5219 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.4887, allocations: 12 kB / 0.5219 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.4893, allocations: 180.4 kB / 0.5221 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006885/0.49, allocations: 1.196 MB / 0.5233 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.4903, allocations: 27.84 kB / 0.5233 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.4903, allocations: 51.97 kB / 0.5233 GB, free: 10.21 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.000184/0.4905, allocations: 177.8 kB / 0.5235 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.4907, allocations: 31.67 kB / 0.5235 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.4919, allocations: 0.495 MB / 0.524 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4919, allocations: 0.625 kB / 0.524 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4919, allocations: 0 / 0.524 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4919, allocations: 4 kB / 0.524 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009436/0.4929, allocations: 0.6069 MB / 0.5246 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4929, allocations: 7.016 kB / 0.5246 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.4933, allocations: 91.97 kB / 0.5247 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4933, allocations: 4 kB / 0.5247 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.4933, allocations: 11.98 kB / 0.5247 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000544/0.4938, allocations: 1.172 MB / 0.5259 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4939, allocations: 4.188 kB / 0.5259 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.4944, allocations: 379.8 kB / 0.5262 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4946, allocations: 128.8 kB / 0.5264 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.4946, allocations: 8 kB / 0.5264 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.4949, allocations: 19.97 kB / 0.5264 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.4949, allocations: 23.94 kB / 0.5264 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.4949, allocations: 15.98 kB / 0.5264 GB, free: 6.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.4951, allocations: 164.5 kB / 0.5266 GB, free: 6.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4951, allocations: 0 / 0.5266 GB, free: 6.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006593/0.5017, allocations: 1.612 MB / 0.5282 GB, free: 5.023 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.009904/0.5116, allocations: 2.057 MB / 0.5302 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.513, allocations: 316.3 kB / 0.5305 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.513, allocations: 0 / 0.5305 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.5134, allocations: 127.9 kB / 0.5306 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.514, allocations: 64.67 kB / 0.5306 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.5153, allocations: 0.6336 MB / 0.5313 GB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.5158, allocations: 0.7644 MB / 0.532 GB, free: 1.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006058/0.5164, allocations: 138.8 kB / 0.5321 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.5166, allocations: 47.42 kB / 0.5322 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5166, allocations: 0 / 0.5322 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Templates: time 0.06497/0.5815, allocations: 46.63 MB / 0.5777 GB, free: 2.152 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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