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.001197/0.001197, allocations: 117.8 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 217.9 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 76.22 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3911, allocations: 62.45 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01278/0.4039, allocations: 11.27 MB / 0.5427 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.4196, allocations: 11.78 MB / 0.5542 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.42, allocations: 0 / 0.5542 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.4205, allocations: 75.53 kB / 0.5543 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.4321, allocations: 3.122 MB / 0.5573 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.4326, allocations: 154 kB / 0.5575 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005705/0.4383, allocations: 3.897 MB / 0.5613 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.4384, allocations: 16.39 kB / 0.5613 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.4387, allocations: 139.5 kB / 0.5614 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00914/0.4478, allocations: 7.129 MB / 0.5684 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.619e-05/0.4479, allocations: 12 kB / 0.5684 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006037/0.454, allocations: 2.131 MB / 0.5705 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.4541, allocations: 47.77 kB / 0.5705 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.4544, allocations: 123.5 kB / 0.5707 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005797/0.4602, allocations: 1.54 MB / 0.5722 GB, free: 8.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4602, allocations: 3.938 kB / 0.5722 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4602, allocations: 0 / 0.5722 GB, free: 8.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4602, allocations: 0 / 0.5722 GB, free: 8.23 MB / 430.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.002692/0.4629, allocations: 0.9205 MB / 0.5731 GB, free: 7.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.463, allocations: 15.97 kB / 0.5731 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.4637, allocations: 80.58 kB / 0.5732 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.4641, allocations: 247.9 kB / 0.5734 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.4641, allocations: 20.88 kB / 0.5734 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.4642, allocations: 32.38 kB / 0.5734 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4652, allocations: 493.5 kB / 0.5739 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4652, allocations: 0 / 0.5739 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.4653, allocations: 12 kB / 0.5739 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4653, allocations: 8 kB / 0.5739 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.4666, allocations: 0.6929 MB / 0.5746 GB, free: 5.605 MB / 430.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.007716/0.4743, allocations: 4.284 MB / 0.5788 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.475, allocations: 163.1 kB / 0.579 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.4751, allocations: 65.47 kB / 0.579 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02754/0.5026, allocations: 16.41 MB / 0.595 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007658/0.5034, allocations: 317.9 kB / 0.5953 GB, free: 13.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.436e-06/0.5034, allocations: 0 / 0.5953 GB, free: 13.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00156/0.505, allocations: 438.6 kB / 0.5958 GB, free: 13.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.5052, allocations: 486.6 kB / 0.5962 GB, free: 12.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.5055, allocations: 182.1 kB / 0.5964 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.5055, allocations: 33.7 kB / 0.5964 GB, free: 12.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5056, allocations: 179.6 kB / 0.5966 GB, free: 12.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.5057, allocations: 102.6 kB / 0.5967 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.5058, allocations: 98.03 kB / 0.5968 GB, free: 12.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.506, allocations: 334.8 kB / 0.5971 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5061, allocations: 60.84 kB / 0.5972 GB, free: 11.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.5064, allocations: 310.7 kB / 0.5975 GB, free: 11.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.5069, allocations: 425.3 kB / 0.5979 GB, free: 10.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.507, allocations: 8 kB / 0.5979 GB, free: 10.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007184/0.5077, allocations: 396.7 kB / 0.5983 GB, free: 10.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.5077, allocations: 8 kB / 0.5983 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.5077, allocations: 8 kB / 0.5983 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.5078, allocations: 12.81 kB / 0.5983 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.5081, allocations: 107.8 kB / 0.5984 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.5081, allocations: 23.92 kB / 0.5984 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.5084, allocations: 51.47 kB / 0.5985 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.5085, allocations: 28 kB / 0.5985 GB, free: 10.08 MB / 462.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.0001547/0.5086, allocations: 153.6 kB / 0.5986 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.5087, allocations: 31.72 kB / 0.5987 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.5097, allocations: 0.7766 MB / 0.5994 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5098, allocations: 4 kB / 0.5994 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5098, allocations: 4 kB / 0.5994 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5098, allocations: 11.92 kB / 0.5994 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.511, allocations: 1.219 MB / 0.6006 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.5111, allocations: 15.97 kB / 0.6007 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5112, allocations: 35.92 kB / 0.6007 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.5112, allocations: 11.92 kB / 0.6007 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5112, allocations: 4 kB / 0.6007 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.5112, allocations: 4 kB / 0.6007 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5112, allocations: 0 / 0.6007 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.5117, allocations: 371.5 kB / 0.6011 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.5118, allocations: 108.8 kB / 0.6012 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.5118, allocations: 47.36 kB / 0.6012 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.5121, allocations: 12 kB / 0.6012 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.5121, allocations: 15.98 kB / 0.6012 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.5122, allocations: 11.98 kB / 0.6012 GB, free: 7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.5125, allocations: 290.9 kB / 0.6015 GB, free: 6.715 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5125, allocations: 0 / 0.6015 GB, free: 6.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00137/0.5139, allocations: 431.5 kB / 0.6019 GB, free: 6.293 MB / 462.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.001646/0.5155, allocations: 0.6196 MB / 0.6025 GB, free: 5.664 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.516, allocations: 233.2 kB / 0.6028 GB, free: 5.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.516, allocations: 4 kB / 0.6028 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.5161, allocations: 81.42 kB / 0.6028 GB, free: 5.355 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.5169, allocations: 114.3 kB / 0.603 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.675/2.191, allocations: 0.579 GB / 1.182 GB, free: 222 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/2.192, allocations: 0.8128 MB / 1.183 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/2.192, allocations: 45.77 kB / 1.183 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of SimCode: time 2.083e-06/2.192, allocations: 0 / 1.183 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.01322/2.205, allocations: 10.86 MB / 1.193 GB, free: 213.3 MB / 0.6075 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/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