Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 201.2 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.89 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4606, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01531/0.476, allocations: 11.27 MB / 0.5421 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.4909, allocations: 11.78 MB / 0.5536 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.4914, allocations: 0 / 0.5536 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.4919, allocations: 75.48 kB / 0.5536 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.5065, allocations: 3.113 MB / 0.5567 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.5071, allocations: 153.1 kB / 0.5568 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006428/0.5135, allocations: 3.901 MB / 0.5606 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.5136, allocations: 24.33 kB / 0.5607 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.514, allocations: 135.5 kB / 0.5608 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009882/0.5239, allocations: 7.118 MB / 0.5677 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.524, allocations: 12 kB / 0.5677 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00944/0.5335, allocations: 2.396 MB / 0.5701 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.5337, allocations: 43.77 kB / 0.5701 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.534, allocations: 127.4 kB / 0.5702 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008049/0.5421, allocations: 1.722 MB / 0.5719 GB, free: 7.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5421, allocations: 4 kB / 0.5719 GB, free: 7.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.5421, allocations: 0 / 0.5719 GB, free: 7.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.5421, allocations: 0 / 0.5719 GB, free: 7.762 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.003382/0.5455, allocations: 0.9878 MB / 0.5729 GB, free: 6.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.5456, allocations: 8.031 kB / 0.5729 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.5463, allocations: 80.73 kB / 0.573 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.5469, allocations: 248 kB / 0.5732 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.547, allocations: 20.94 kB / 0.5732 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.547, allocations: 32.36 kB / 0.5733 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.5482, allocations: 485.6 kB / 0.5737 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5483, allocations: 3.984 kB / 0.5737 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.5483, allocations: 16 kB / 0.5738 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.5483, allocations: 8 kB / 0.5738 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.5495, allocations: 0.6773 MB / 0.5744 GB, free: 5.09 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.007139/0.5567, allocations: 3.132 MB / 0.5775 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.5574, allocations: 224.1 kB / 0.5777 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.5576, allocations: 77.39 kB / 0.5778 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08064/0.6382, allocations: 33.65 MB / 0.6106 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007859/0.639, allocations: 350.5 kB / 0.611 GB, free: 12.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.825e-06/0.6391, allocations: 4 kB / 0.611 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002732/0.6418, allocations: 0.8771 MB / 0.6118 GB, free: 11.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002279/0.642, allocations: 483.1 kB / 0.6123 GB, free: 11.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.6422, allocations: 161.4 kB / 0.6124 GB, free: 10.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.6423, allocations: 33.7 kB / 0.6125 GB, free: 10.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6424, allocations: 164.4 kB / 0.6126 GB, free: 10.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6425, allocations: 138.8 kB / 0.6128 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.6426, allocations: 90.2 kB / 0.6128 GB, free: 10.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6427, allocations: 330.8 kB / 0.6132 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.6429, allocations: 65.08 kB / 0.6132 GB, free: 10.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.6432, allocations: 314.2 kB / 0.6135 GB, free: 9.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.6437, allocations: 432.1 kB / 0.6139 GB, free: 9.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6437, allocations: 4 kB / 0.6139 GB, free: 9.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006596/0.6444, allocations: 409.5 kB / 0.6143 GB, free: 8.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.6444, allocations: 8 kB / 0.6143 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.6444, allocations: 8 kB / 0.6143 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.6445, allocations: 12 kB / 0.6144 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.6463, allocations: 347.6 kB / 0.6147 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.647, allocations: 1.195 MB / 0.6159 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.6473, allocations: 12 kB / 0.6159 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.6474, allocations: 32 kB / 0.6159 GB, free: 7.039 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002021/0.6476, allocations: 157.6 kB / 0.616 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.6477, allocations: 31.86 kB / 0.6161 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.6489, allocations: 0.9467 MB / 0.617 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.649, allocations: 11.98 kB / 0.617 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.649, allocations: 0 / 0.617 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.649, allocations: 7.984 kB / 0.617 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.6505, allocations: 1.422 MB / 0.6184 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6505, allocations: 4 kB / 0.6184 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009985/0.6515, allocations: 147.9 kB / 0.6186 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6515, allocations: 4 kB / 0.6186 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.6516, allocations: 8 kB / 0.6186 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003008/0.6519, allocations: 0.5898 MB / 0.6191 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6519, allocations: 3.938 kB / 0.6191 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.6525, allocations: 0.5269 MB / 0.6197 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.6526, allocations: 104.9 kB / 0.6198 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.6527, allocations: 51.55 kB / 0.6198 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.6529, allocations: 15.94 kB / 0.6198 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.653, allocations: 31.91 kB / 0.6199 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.653, allocations: 8 kB / 0.6199 GB, free: 2.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003253/0.6533, allocations: 275.1 kB / 0.6201 GB, free: 2.438 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6533, allocations: 0 / 0.6201 GB, free: 2.438 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001947/0.6553, allocations: 470.5 kB / 0.6206 GB, free: 1.977 MB / 478.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.6568, allocations: 0.6967 MB / 0.6213 GB, free: 1.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.6583, allocations: 398.9 kB / 0.6216 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6583, allocations: 4.188 kB / 0.6216 GB, free: 0.875 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007443/0.6591, allocations: 227.7 kB / 0.6219 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.6599, allocations: 124.7 kB / 0.622 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.369/2.029, allocations: 0.537 GB / 1.159 GB, free: 16.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/2.029, allocations: 0.8195 MB / 1.16 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004811/2.03, allocations: 166.9 kB / 1.16 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/2.03, allocations: 35.42 kB / 1.16 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of SimCode: time 2.024e-06/2.03, allocations: 7.562 kB / 1.16 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of Templates: time 0.3521/2.382, allocations: 15.77 MB / 1.175 GB, free: 226.3 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches