Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.ReferenceAir_ph,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 73.09 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 62.44 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01292/0.1558, allocations: 11.28 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.1684, allocations: 11.73 MB / 0.4907 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.1686, allocations: 4 kB / 0.4907 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.169, allocations: 63.67 kB / 0.4908 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.18, allocations: 2.77 MB / 0.4935 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1804, allocations: 143 kB / 0.4936 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007285/0.1877, allocations: 4.188 MB / 0.4977 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.1878, allocations: 16.41 kB / 0.4977 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1881, allocations: 151.5 kB / 0.4979 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2644/0.4525, allocations: 7.721 MB / 0.5054 GB, free: 23.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.063e-05/0.4526, allocations: 9.625 kB / 0.5054 GB, free: 23.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004555/0.4572, allocations: 2.137 MB / 0.5075 GB, free: 23.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.4573, allocations: 46.02 kB / 0.5076 GB, free: 23.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.4575, allocations: 128.5 kB / 0.5077 GB, free: 23.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.4605, allocations: 1.55 MB / 0.5092 GB, free: 23.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4605, allocations: 0 / 0.5092 GB, free: 23.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4605, allocations: 0 / 0.5092 GB, free: 23.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4605, allocations: 5.188 kB / 0.5092 GB, free: 23.43 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001987/0.4625, allocations: 0.9156 MB / 0.5101 GB, free: 22.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4625, allocations: 11.11 kB / 0.5101 GB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.4631, allocations: 84.67 kB / 0.5102 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4634, allocations: 242.9 kB / 0.5104 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4634, allocations: 19.78 kB / 0.5104 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.4634, allocations: 29.22 kB / 0.5105 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.4643, allocations: 489.7 kB / 0.5109 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4643, allocations: 4.547 kB / 0.5109 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.4644, allocations: 11.12 kB / 0.5109 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4644, allocations: 7.469 kB / 0.5109 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.4656, allocations: 0.6803 MB / 0.5116 GB, free: 22.54 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.006883/0.4724, allocations: 4.299 MB / 0.5158 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.473, allocations: 165 kB / 0.516 GB, free: 19.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.4731, allocations: 62.16 kB / 0.516 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02509/0.4982, allocations: 16.41 MB / 0.532 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006005/0.4988, allocations: 320.5 kB / 0.5324 GB, free: 7.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/0.4988, allocations: 0 / 0.5324 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001271/0.5001, allocations: 439.6 kB / 0.5328 GB, free: 7.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.5002, allocations: 474.7 kB / 0.5332 GB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.5004, allocations: 186.1 kB / 0.5334 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.5004, allocations: 32.23 kB / 0.5334 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.5005, allocations: 201.4 kB / 0.5336 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.5006, allocations: 100.1 kB / 0.5337 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.5007, allocations: 92.86 kB / 0.5338 GB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.5008, allocations: 329.7 kB / 0.5341 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.501, allocations: 66.17 kB / 0.5342 GB, free: 6.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.5012, allocations: 314.3 kB / 0.5345 GB, free: 5.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.5016, allocations: 421.8 kB / 0.5349 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5016, allocations: 5.625 kB / 0.5349 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005699/0.5022, allocations: 394.6 kB / 0.5353 GB, free: 5.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.5022, allocations: 10.53 kB / 0.5353 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.5022, allocations: 9.156 kB / 0.5353 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.5023, allocations: 21.88 kB / 0.5353 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.5026, allocations: 111.6 kB / 0.5354 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.5026, allocations: 14.69 kB / 0.5354 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.5029, allocations: 44.38 kB / 0.5355 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.5029, allocations: 34.92 kB / 0.5355 GB, free: 5.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.5031, allocations: 158.7 kB / 0.5357 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.5032, allocations: 27.61 kB / 0.5357 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009979/0.5042, allocations: 0.7813 MB / 0.5364 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5042, allocations: 7.859 kB / 0.5365 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.5042, allocations: 6.531 kB / 0.5365 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5042, allocations: 2.75 kB / 0.5365 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5053, allocations: 1.215 MB / 0.5377 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5053, allocations: 2.906 kB / 0.5377 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.5054, allocations: 38.05 kB / 0.5377 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.5055, allocations: 4.125 kB / 0.5377 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.5055, allocations: 8.062 kB / 0.5377 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5055, allocations: 8.109 kB / 0.5377 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5055, allocations: 2.75 kB / 0.5377 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.5059, allocations: 376.4 kB / 0.5381 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.506, allocations: 102.1 kB / 0.5382 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.5061, allocations: 56.06 kB / 0.5382 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.5063, allocations: 15.22 kB / 0.5382 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.5063, allocations: 18.36 kB / 0.5383 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.5063, allocations: 9.781 kB / 0.5383 GB, free: 3.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.5066, allocations: 298.3 kB / 0.5385 GB, free: 3.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5066, allocations: 0 / 0.5385 GB, free: 3.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001896/0.5085, allocations: 415 kB / 0.5389 GB, free: 3.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.5097, allocations: 0.629 MB / 0.5396 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.5101, allocations: 236.1 kB / 0.5398 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5101, allocations: 3.562 kB / 0.5398 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.5102, allocations: 91.95 kB / 0.5399 GB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.511, allocations: 109.6 kB / 0.54 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.534/2.045, allocations: 0.5791 GB / 1.119 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/2.045, allocations: 0.8127 MB / 1.12 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006024/2.046, allocations: 165.6 kB / 1.12 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/2.046, allocations: 36.89 kB / 1.12 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/2.046, allocations: 0 / 1.12 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.02238/2.068, allocations: 14.26 MB / 1.134 GB, free: 180.1 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches