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.001198/0.001198, allocations: 94.2 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 45.92 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.0002489, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1213, allocations: 63.45 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.007938/0.1293, allocations: 7.496 MB / 488.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.1414, allocations: 11.38 MB / 0.4885 GB, free: 2.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.1418, allocations: 4 kB / 0.4885 GB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.1422, allocations: 51.73 kB / 0.4886 GB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009934/0.1522, allocations: 2.609 MB / 0.4911 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1526, allocations: 143.3 kB / 0.4913 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008878/0.1614, allocations: 7.149 MB / 0.4983 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.1616, allocations: 12.41 kB / 0.4983 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1618, allocations: 139.6 kB / 0.4984 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3219/0.4837, allocations: 13.84 MB / 0.5119 GB, free: 26.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.4838, allocations: 7.375 kB / 0.5119 GB, free: 26.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007555/0.4914, allocations: 2.155 MB / 0.514 GB, free: 26.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.4916, allocations: 43.88 kB / 0.5141 GB, free: 26.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.4918, allocations: 68.98 kB / 0.5141 GB, free: 26.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.4953, allocations: 1.021 MB / 0.5151 GB, free: 26.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4953, allocations: 0 / 0.5151 GB, free: 26.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4953, allocations: 1.875 kB / 0.5151 GB, free: 26.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4953, allocations: 0 / 0.5151 GB, free: 26.17 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.002725/0.4981, allocations: 0.8691 MB / 0.516 GB, free: 25.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4981, allocations: 8.562 kB / 0.516 GB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000648/0.4988, allocations: 77.81 kB / 0.5161 GB, free: 25.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.4992, allocations: 248.6 kB / 0.5163 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.4992, allocations: 25.31 kB / 0.5163 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.4993, allocations: 25.88 kB / 0.5163 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.5004, allocations: 474.2 kB / 0.5168 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.5004, allocations: 5.156 kB / 0.5168 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.5004, allocations: 13.75 kB / 0.5168 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.5005, allocations: 7.5 kB / 0.5168 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5021, allocations: 0.6819 MB / 0.5175 GB, free: 25.27 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.009451/0.5116, allocations: 4.324 MB / 0.5217 GB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.5123, allocations: 163.8 kB / 0.5219 GB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02298/0.5353, allocations: 14.36 MB / 0.5359 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008875/0.5362, allocations: 324.3 kB / 0.5362 GB, free: 11.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.066e-06/0.5363, allocations: 0 / 0.5362 GB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001423/0.5377, allocations: 428.3 kB / 0.5366 GB, free: 11.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.5379, allocations: 489.5 kB / 0.5371 GB, free: 10.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.5381, allocations: 182.2 kB / 0.5372 GB, free: 10.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.5381, allocations: 32.8 kB / 0.5373 GB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5382, allocations: 186.6 kB / 0.5375 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5383, allocations: 98.38 kB / 0.5375 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.5383, allocations: 10.34 kB / 0.5376 GB, free: 10.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.5384, allocations: 328.3 kB / 0.5379 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.5386, allocations: 61.45 kB / 0.5379 GB, free: 10.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.5388, allocations: 309.2 kB / 0.5382 GB, free: 9.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.539, allocations: 106.8 kB / 0.5383 GB, free: 9.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.539, allocations: 2.656 kB / 0.5383 GB, free: 9.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006178/0.5397, allocations: 394.6 kB / 0.5387 GB, free: 9.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.5397, allocations: 11.33 kB / 0.5387 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5397, allocations: 7.781 kB / 0.5387 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.5398, allocations: 17.89 kB / 0.5387 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.5401, allocations: 106.6 kB / 0.5388 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.5401, allocations: 23.67 kB / 0.5389 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.5404, allocations: 59.89 kB / 0.5389 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.5405, allocations: 31.05 kB / 0.539 GB, free: 9.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.5407, allocations: 154.4 kB / 0.5391 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.5407, allocations: 31.53 kB / 0.5391 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.5418, allocations: 0.8045 MB / 0.5399 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.5418, allocations: 2.875 kB / 0.5399 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5419, allocations: 2.688 kB / 0.5399 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5419, allocations: 2.781 kB / 0.5399 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.5429, allocations: 1.228 MB / 0.5411 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.543, allocations: 0.75 kB / 0.5411 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.5431, allocations: 35.97 kB / 0.5412 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.5431, allocations: 4 kB / 0.5412 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5431, allocations: 7.938 kB / 0.5412 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.5431, allocations: 8.281 kB / 0.5412 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5431, allocations: 4 kB / 0.5412 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.5435, allocations: 492.9 kB / 0.5417 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.5436, allocations: 220.6 kB / 0.5419 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.5437, allocations: 7.625 kB / 0.5419 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.544, allocations: 14.88 kB / 0.5419 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.544, allocations: 26.86 kB / 0.5419 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.544, allocations: 8.688 kB / 0.5419 GB, free: 7.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.5443, allocations: 291.9 kB / 0.5422 GB, free: 6.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5443, allocations: 0 / 0.5422 GB, free: 6.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002072/0.5464, allocations: 433.3 kB / 0.5426 GB, free: 6.598 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.5477, allocations: 0.6144 MB / 0.5432 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.5481, allocations: 224.9 kB / 0.5434 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5481, allocations: 0 / 0.5434 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.5482, allocations: 87.97 kB / 0.5435 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.5487, allocations: 85.67 kB / 0.5436 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.55, allocations: 1.139 MB / 0.5447 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.5503, allocations: 0.8187 MB / 0.5455 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004003/0.5507, allocations: 173.3 kB / 0.5457 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.5507, allocations: 30.69 kB / 0.5457 GB, free: 3.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5507, allocations: 4 kB / 0.5457 GB, free: 3.684 MB / 382.1 MB Notification: Performance of Templates: time 0.02174/0.5725, allocations: 13.37 MB / 0.5588 GB, free: 6.469 MB / 398.1 MB 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches