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.0015/0.0015, allocations: 107.8 kB / 18.46 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.001758/0.001758, allocations: 203.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3468, allocations: 62.45 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01344/0.3603, allocations: 11.29 MB / 0.5427 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.373, allocations: 11.78 MB / 0.5542 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.3733, allocations: 0 / 0.5542 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.3737, allocations: 75.53 kB / 0.5543 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009451/0.3831, allocations: 3.118 MB / 0.5574 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3835, allocations: 146.1 kB / 0.5575 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00553/0.3891, allocations: 3.897 MB / 0.5613 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.3891, allocations: 32.33 kB / 0.5613 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.3894, allocations: 131.6 kB / 0.5615 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009351/0.3987, allocations: 7.129 MB / 0.5684 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.3988, allocations: 8 kB / 0.5684 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/0.4037, allocations: 2.127 MB / 0.5705 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.4038, allocations: 51.75 kB / 0.5705 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.404, allocations: 123.4 kB / 0.5707 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003706/0.4077, allocations: 1.548 MB / 0.5722 GB, free: 8.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4077, allocations: 0 / 0.5722 GB, free: 8.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4077, allocations: 0 / 0.5722 GB, free: 8.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4077, allocations: 3.938 kB / 0.5722 GB, free: 8.188 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.00222/0.4099, allocations: 0.9205 MB / 0.5731 GB, free: 7.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.41, allocations: 8.031 kB / 0.5731 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006242/0.4106, allocations: 84.52 kB / 0.5732 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4109, allocations: 251.9 kB / 0.5734 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.411, allocations: 24.94 kB / 0.5734 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.411, allocations: 24.38 kB / 0.5735 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/0.412, allocations: 489.6 kB / 0.5739 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.412, allocations: 4 kB / 0.5739 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.412, allocations: 8 kB / 0.5739 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4121, allocations: 8 kB / 0.5739 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.4131, allocations: 0.6812 MB / 0.5746 GB, free: 5.582 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.007194/0.4203, allocations: 4.3 MB / 0.5788 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.4209, allocations: 163.1 kB / 0.579 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.421, allocations: 61.47 kB / 0.579 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02769/0.4487, allocations: 16.4 MB / 0.595 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/0.4494, allocations: 325.9 kB / 0.5953 GB, free: 13.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.4494, allocations: 0 / 0.5953 GB, free: 13.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.0015/0.4509, allocations: 438.4 kB / 0.5958 GB, free: 13.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002898/0.4512, allocations: 478.8 kB / 0.5962 GB, free: 12.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.4515, allocations: 182.1 kB / 0.5964 GB, free: 12.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.4515, allocations: 37.69 kB / 0.5964 GB, free: 12.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4517, allocations: 179.6 kB / 0.5966 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.868e-05/0.4518, allocations: 98.58 kB / 0.5967 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.4519, allocations: 98.02 kB / 0.5968 GB, free: 12.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4521, allocations: 334.8 kB / 0.5971 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4522, allocations: 64.84 kB / 0.5972 GB, free: 11.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.4526, allocations: 310.7 kB / 0.5975 GB, free: 11.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.4531, allocations: 429.3 kB / 0.5979 GB, free: 10.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4531, allocations: 4 kB / 0.5979 GB, free: 10.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006955/0.4538, allocations: 401.1 kB / 0.5983 GB, free: 10.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4538, allocations: 8 kB / 0.5983 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.4539, allocations: 11.98 kB / 0.5983 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.4539, allocations: 12 kB / 0.5983 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.4542, allocations: 103.8 kB / 0.5984 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.4543, allocations: 15.94 kB / 0.5984 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.4545, allocations: 48 kB / 0.5985 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.4546, allocations: 39.92 kB / 0.5985 GB, free: 10.05 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.0001721/0.4548, allocations: 149.7 kB / 0.5986 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.4549, allocations: 39.64 kB / 0.5987 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.4559, allocations: 0.7659 MB / 0.5994 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4559, allocations: 4 kB / 0.5994 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4559, allocations: 4.219 kB / 0.5994 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.456, allocations: 112.7 kB / 0.5995 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.4561, allocations: 47.39 kB / 0.5996 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.4563, allocations: 12 kB / 0.5996 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.4564, allocations: 23.91 kB / 0.5996 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004701/0.4568, allocations: 0.7977 MB / 0.6004 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005857/0.4574, allocations: 0.8958 MB / 0.6013 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.777e-05/0.4575, allocations: 75.97 kB / 0.6013 GB, free: 7.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.4579, allocations: 294.9 kB / 0.6016 GB, free: 6.73 MB / 462.1 MB Notification: Performance of Backend: time 5.41e-07/0.4579, allocations: 0 / 0.6016 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.4608, allocations: 0.9796 MB / 0.6026 GB, free: 5.75 MB / 462.1 MB Notification: Performance of SimCode: time 0.00125/0.4621, allocations: 1.146 MB / 0.6037 GB, free: 4.555 MB / 462.1 MB Notification: Performance of Templates: time 0.02511/0.4872, allocations: 17.74 MB / 0.621 GB, free: 2.824 MB / 478.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/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