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.001502/0.001502, allocations: 103.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 79 kB / 416.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.126, allocations: 62.44 MB / 479.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01385/0.1399, allocations: 11.51 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.153, allocations: 12.06 MB / 0.4911 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1533, allocations: 0 / 0.4911 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1537, allocations: 63.69 kB / 0.4911 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008885/0.1626, allocations: 2.636 MB / 0.4937 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.163, allocations: 150.9 kB / 0.4939 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007335/0.1703, allocations: 4.137 MB / 0.4979 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/0.1704, allocations: 24.39 kB / 0.4979 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1706, allocations: 135.4 kB / 0.498 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2807/0.4513, allocations: 7.562 MB / 0.5054 GB, free: 23.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.4514, allocations: 7.344 kB / 0.5054 GB, free: 23.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005918/0.4573, allocations: 2.116 MB / 0.5075 GB, free: 23.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.4575, allocations: 43.66 kB / 0.5075 GB, free: 23.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.4578, allocations: 126.9 kB / 0.5077 GB, free: 23.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.4628, allocations: 1.542 MB / 0.5092 GB, free: 23.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4628, allocations: 0 / 0.5092 GB, free: 23.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4628, allocations: 4.141 kB / 0.5092 GB, free: 23.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4628, allocations: 0 / 0.5092 GB, free: 23.35 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.002767/0.4656, allocations: 0.9261 MB / 0.5101 GB, free: 22.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4657, allocations: 11.25 kB / 0.5101 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006301/0.4663, allocations: 80.48 kB / 0.5102 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.4666, allocations: 246.9 kB / 0.5104 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4666, allocations: 18.5 kB / 0.5104 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.4666, allocations: 30.06 kB / 0.5105 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.4678, allocations: 482.5 kB / 0.5109 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4678, allocations: 1.5 kB / 0.5109 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.4679, allocations: 15.05 kB / 0.5109 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4679, allocations: 8.062 kB / 0.5109 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.4692, allocations: 0.6835 MB / 0.5116 GB, free: 22.46 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.008225/0.4774, allocations: 4.298 MB / 0.5158 GB, free: 19.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.4781, allocations: 163.7 kB / 0.516 GB, free: 19.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4783, allocations: 65.38 kB / 0.516 GB, free: 19.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02995/0.5082, allocations: 16.4 MB / 0.532 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.509, allocations: 323 kB / 0.5323 GB, free: 7.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.326e-06/0.5091, allocations: 0 / 0.5323 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001376/0.5104, allocations: 439.8 kB / 0.5328 GB, free: 7.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.5106, allocations: 478.1 kB / 0.5332 GB, free: 6.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.5108, allocations: 184.5 kB / 0.5334 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.5108, allocations: 35.39 kB / 0.5334 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.5109, allocations: 191.4 kB / 0.5336 GB, free: 6.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.511, allocations: 97.73 kB / 0.5337 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.5111, allocations: 88.22 kB / 0.5338 GB, free: 6.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.5112, allocations: 339.6 kB / 0.5341 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.5113, allocations: 60.88 kB / 0.5342 GB, free: 6.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.5115, allocations: 311.2 kB / 0.5345 GB, free: 5.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.5119, allocations: 429.2 kB / 0.5349 GB, free: 5.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.5119, allocations: 0 / 0.5349 GB, free: 5.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006782/0.5126, allocations: 391.6 kB / 0.5353 GB, free: 5.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.5127, allocations: 13.53 kB / 0.5353 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5127, allocations: 8.656 kB / 0.5353 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.5127, allocations: 14.78 kB / 0.5353 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.5131, allocations: 110.3 kB / 0.5354 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.5131, allocations: 18.61 kB / 0.5354 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.5134, allocations: 47.94 kB / 0.5355 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.5135, allocations: 32.38 kB / 0.5355 GB, free: 5.332 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.0001337/0.5136, allocations: 161.8 kB / 0.5356 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.5137, allocations: 27.97 kB / 0.5357 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.5147, allocations: 0.7775 MB / 0.5364 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5148, allocations: 4.125 kB / 0.5364 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.5148, allocations: 5.75 kB / 0.5364 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5148, allocations: 1.375 kB / 0.5364 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.5158, allocations: 1.227 MB / 0.5376 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5158, allocations: 2.75 kB / 0.5376 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.516, allocations: 34.77 kB / 0.5377 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.516, allocations: 8.109 kB / 0.5377 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.516, allocations: 8.062 kB / 0.5377 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.516, allocations: 2.75 kB / 0.5377 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.516, allocations: 4.125 kB / 0.5377 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.5164, allocations: 382.6 kB / 0.5381 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.5165, allocations: 102.6 kB / 0.5382 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.5165, allocations: 50.39 kB / 0.5382 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.5168, allocations: 13.09 kB / 0.5382 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.5168, allocations: 13.8 kB / 0.5382 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5168, allocations: 17.45 kB / 0.5382 GB, free: 3.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.5171, allocations: 288.2 kB / 0.5385 GB, free: 3.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5171, allocations: 4 kB / 0.5385 GB, free: 3.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001912/0.519, allocations: 422.8 kB / 0.5389 GB, free: 3.371 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.001377/0.5204, allocations: 0.6208 MB / 0.5395 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.5208, allocations: 229.4 kB / 0.5398 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5208, allocations: 4.531 kB / 0.5398 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.5209, allocations: 88.19 kB / 0.5398 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.5217, allocations: 121.6 kB / 0.54 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.587/2.109, allocations: 0.5791 GB / 1.119 GB, free: 191.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/2.109, allocations: 0.812 MB / 1.12 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006252/2.11, allocations: 161.8 kB / 1.12 GB, free: 191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/2.11, allocations: 37.17 kB / 1.12 GB, free: 191 MB / 0.5294 GB Notification: Performance of SimCode: time 1.343e-06/2.11, allocations: 0 / 1.12 GB, free: 191 MB / 0.5294 GB Notification: Performance of Templates: time 0.02139/2.132, allocations: 14.07 MB / 1.134 GB, free: 183 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