Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 106.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 76.12 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1294, allocations: 62.44 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03341/0.1629, allocations: 27.27 MB / 0.4949 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2891/0.452, allocations: 11.06 MB / 0.5057 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.4524, allocations: 3.938 kB / 0.5057 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.4529, allocations: 72.92 kB / 0.5058 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02821/0.4811, allocations: 8.369 MB / 0.5139 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.4824, allocations: 398.1 kB / 0.5143 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000984/0.4834, allocations: 494.4 kB / 0.5148 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.4835, allocations: 18.78 kB / 0.5148 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.4839, allocations: 198.6 kB / 0.515 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/0.4969, allocations: 6.371 MB / 0.5212 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.497, allocations: 13.28 kB / 0.5212 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03104/0.5281, allocations: 13.43 MB / 0.5343 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.5283, allocations: 94.23 kB / 0.5344 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.5286, allocations: 141.2 kB / 0.5346 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.5512, allocations: 6.996 MB / 0.5414 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5512, allocations: 0 / 0.5414 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5512, allocations: 0 / 0.5414 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.5513, allocations: 0 / 0.5414 GB, free: 15.92 MB / 398.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.005741/0.557, allocations: 1.556 MB / 0.5429 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.5571, allocations: 11.97 kB / 0.5429 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.5573, allocations: 33.22 kB / 0.543 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.5576, allocations: 245.8 kB / 0.5432 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.5577, allocations: 24.5 kB / 0.5432 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.5577, allocations: 24 kB / 0.5432 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/0.5586, allocations: 0.5158 MB / 0.5437 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.5586, allocations: 0 / 0.5437 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.5586, allocations: 19.45 kB / 0.5438 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.5587, allocations: 24.55 kB / 0.5438 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.5598, allocations: 0.9161 MB / 0.5447 GB, free: 12.46 MB / 398.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.002119/0.5619, allocations: 1.903 MB / 0.5465 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.5627, allocations: 274.2 kB / 0.5468 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.5628, allocations: 105.5 kB / 0.5469 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/0.5818, allocations: 15.68 MB / 0.5622 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.5824, allocations: 257.4 kB / 0.5625 GB, free: 7.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 3.005e-06/0.5824, allocations: 0 / 0.5625 GB, free: 7.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002405/0.5849, allocations: 0.7823 MB / 0.5632 GB, free: 6.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.585, allocations: 269 kB / 0.5635 GB, free: 5.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.5852, allocations: 207.3 kB / 0.5637 GB, free: 5.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.5852, allocations: 33.7 kB / 0.5637 GB, free: 5.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.5854, allocations: 195.8 kB / 0.5639 GB, free: 5.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.633e-05/0.5855, allocations: 124.7 kB / 0.564 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.5856, allocations: 126.2 kB / 0.5641 GB, free: 5.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5858, allocations: 330.8 kB / 0.5644 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.5859, allocations: 93.05 kB / 0.5645 GB, free: 4.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.5864, allocations: 370.5 kB / 0.5649 GB, free: 4.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.5871, allocations: 0.5097 MB / 0.5654 GB, free: 3.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5871, allocations: 0 / 0.5654 GB, free: 3.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001168/0.5883, allocations: 0.505 MB / 0.5659 GB, free: 3.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5883, allocations: 8 kB / 0.5659 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5883, allocations: 8 kB / 0.5659 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5884, allocations: 12 kB / 0.5659 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.589, allocations: 177.3 kB / 0.5661 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006956/0.5897, allocations: 1.192 MB / 0.5672 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.59, allocations: 35.83 kB / 0.5673 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.5901, allocations: 47.98 kB / 0.5673 GB, free: 1.711 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.0001887/0.5903, allocations: 173.7 kB / 0.5675 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.5904, allocations: 31.72 kB / 0.5675 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.5916, allocations: 481.1 kB / 0.568 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.5916, allocations: 8.031 kB / 0.568 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5916, allocations: 0 / 0.568 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5916, allocations: 0 / 0.568 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009087/0.5925, allocations: 0.6055 MB / 0.5686 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5925, allocations: 0.5 kB / 0.5686 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.5929, allocations: 87.62 kB / 0.5687 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5929, allocations: 8.125 kB / 0.5687 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.593, allocations: 8.938 kB / 0.5687 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005951/0.5936, allocations: 1.164 MB / 0.5698 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.5936, allocations: 10.55 kB / 0.5698 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.5942, allocations: 326.5 kB / 0.5701 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.5942, allocations: 100.8 kB / 0.5702 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.5943, allocations: 8 kB / 0.5702 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.5945, allocations: 15.98 kB / 0.5702 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5946, allocations: 27.86 kB / 0.5703 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.5947, allocations: 16.98 kB / 0.5703 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.5948, allocations: 168.5 kB / 0.5705 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5948, allocations: 0 / 0.5705 GB, free: 14.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007386/0.6022, allocations: 1.69 MB / 0.5721 GB, free: 12.62 MB / 430.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.008709/0.611, allocations: 2.328 MB / 0.5744 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.6122, allocations: 344.4 kB / 0.5747 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6122, allocations: 0 / 0.5747 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.6127, allocations: 125.2 kB / 0.5748 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.6135, allocations: 115 kB / 0.5749 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2077/0.8211, allocations: 141.2 MB / 0.7129 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.8215, allocations: 0.7534 MB / 0.7136 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000676/0.8222, allocations: 143.8 kB / 0.7137 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.8224, allocations: 55.41 kB / 0.7138 GB, free: 3.012 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.8224, allocations: 0 / 0.7138 GB, free: 3.012 MB / 0.545 GB Notification: Performance of Templates: time 0.3905/1.213, allocations: 47.12 MB / 0.7598 GB, free: 182.6 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches