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.00152/0.00152, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 79.53 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1683, allocations: 62.46 MB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04941/0.2177, allocations: 27.12 MB / 0.4953 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3469/0.5647, allocations: 11.02 MB / 0.5061 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.565, allocations: 1.562 kB / 0.5061 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.5656, allocations: 81.28 kB / 0.5062 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0287/0.5943, allocations: 9.247 MB / 0.5152 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.5955, allocations: 421.8 kB / 0.5156 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000867/0.5964, allocations: 494.6 kB / 0.5161 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.5965, allocations: 15.38 kB / 0.5161 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.5968, allocations: 196 kB / 0.5163 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01176/0.6086, allocations: 6.014 MB / 0.5221 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.6087, allocations: 13.41 kB / 0.5221 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02549/0.6342, allocations: 13.23 MB / 0.5351 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.6344, allocations: 93.53 kB / 0.5352 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.6347, allocations: 139.6 kB / 0.5353 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02137/0.6561, allocations: 6.795 MB / 0.5419 GB, free: 15.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.6562, allocations: 0 / 0.5419 GB, free: 15.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6562, allocations: 0 / 0.5419 GB, free: 15.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.6562, allocations: 4 kB / 0.5419 GB, free: 15.43 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.005813/0.662, allocations: 1.558 MB / 0.5435 GB, free: 13.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6621, allocations: 11.97 kB / 0.5435 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.6623, allocations: 37.2 kB / 0.5435 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.6625, allocations: 246.6 kB / 0.5437 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.6626, allocations: 20.56 kB / 0.5438 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.6626, allocations: 30.27 kB / 0.5438 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/0.6634, allocations: 0.5073 MB / 0.5443 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6634, allocations: 0 / 0.5443 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.6635, allocations: 14.27 kB / 0.5443 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.6635, allocations: 28.55 kB / 0.5443 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6646, allocations: 0.9193 MB / 0.5452 GB, free: 11.96 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.001959/0.6666, allocations: 1.905 MB / 0.5471 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.6673, allocations: 278.6 kB / 0.5473 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6674, allocations: 101.5 kB / 0.5474 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01759/0.685, allocations: 15.67 MB / 0.5627 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004965/0.6856, allocations: 245.8 kB / 0.563 GB, free: 6.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 3.477e-06/0.6856, allocations: 1.312 kB / 0.563 GB, free: 6.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002268/0.6879, allocations: 0.7855 MB / 0.5637 GB, free: 5.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.688, allocations: 265 kB / 0.564 GB, free: 5.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.6882, allocations: 203.3 kB / 0.5642 GB, free: 5.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6882, allocations: 37.7 kB / 0.5642 GB, free: 5.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.6884, allocations: 198 kB / 0.5644 GB, free: 5.055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.927e-05/0.6885, allocations: 134.5 kB / 0.5645 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.6886, allocations: 114.1 kB / 0.5647 GB, free: 4.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6887, allocations: 334.8 kB / 0.565 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.6889, allocations: 93.06 kB / 0.5651 GB, free: 4.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.6893, allocations: 366.9 kB / 0.5654 GB, free: 3.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.6901, allocations: 0.5076 MB / 0.5659 GB, free: 3.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6901, allocations: 4 kB / 0.5659 GB, free: 3.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001158/0.6913, allocations: 0.4969 MB / 0.5664 GB, free: 2.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6913, allocations: 11.84 kB / 0.5664 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.6913, allocations: 15.98 kB / 0.5664 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.6913, allocations: 12 kB / 0.5664 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.692, allocations: 180.4 kB / 0.5666 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005744/0.6925, allocations: 1.188 MB / 0.5678 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.6928, allocations: 20 kB / 0.5678 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.6929, allocations: 47.98 kB / 0.5678 GB, free: 1.242 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.0001674/0.693, allocations: 173.7 kB / 0.568 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.6932, allocations: 31.72 kB / 0.568 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.6943, allocations: 491.5 kB / 0.5685 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6943, allocations: 4 kB / 0.5685 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6943, allocations: 0 / 0.5685 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.6943, allocations: 6.234 kB / 0.5685 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008887/0.6952, allocations: 0.6073 MB / 0.5691 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6952, allocations: 0 / 0.5691 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.6956, allocations: 88.03 kB / 0.5692 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6956, allocations: 4 kB / 0.5692 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6956, allocations: 11.98 kB / 0.5692 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004803/0.6961, allocations: 1.164 MB / 0.5703 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6961, allocations: 4.219 kB / 0.5703 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.6967, allocations: 323.2 kB / 0.5706 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.6968, allocations: 100.8 kB / 0.5707 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.6968, allocations: 15.94 kB / 0.5708 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.6971, allocations: 11.98 kB / 0.5708 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.6971, allocations: 27.91 kB / 0.5708 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.6971, allocations: 12 kB / 0.5708 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.6973, allocations: 168.5 kB / 0.571 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6973, allocations: 4 kB / 0.571 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006122/0.7034, allocations: 1.682 MB / 0.5726 GB, free: 12.16 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.008122/0.7116, allocations: 2.347 MB / 0.5749 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.7129, allocations: 332.7 kB / 0.5752 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7129, allocations: 1.875 kB / 0.5752 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.7134, allocations: 123.2 kB / 0.5753 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008224/0.7142, allocations: 116.1 kB / 0.5755 GB, free: 9.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2212/0.9354, allocations: 141.1 MB / 0.7133 GB, free: 3.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.9359, allocations: 0.7572 MB / 0.714 GB, free: 2.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007578/0.9367, allocations: 143.8 kB / 0.7142 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.9369, allocations: 51.41 kB / 0.7142 GB, free: 2.508 MB / 0.545 GB Notification: Performance of SimCode: time 1.694e-06/0.9369, allocations: 0 / 0.7142 GB, free: 2.508 MB / 0.545 GB Notification: Performance of Templates: time 0.3461/1.283, allocations: 47.13 MB / 0.7602 GB, free: 181.8 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