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.00152/0.00152, allocations: 118.8 kB / 17.79 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.001997/0.001997, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 71.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3979, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01371/0.4116, allocations: 11.28 MB / 0.5421 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.4253, allocations: 11.78 MB / 0.5536 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.4255, allocations: 0 / 0.5536 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.426, allocations: 71.5 kB / 0.5536 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.4377, allocations: 3.118 MB / 0.5567 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.4382, allocations: 150.2 kB / 0.5568 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005946/0.4441, allocations: 3.901 MB / 0.5606 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.999e-05/0.4442, allocations: 12.41 kB / 0.5606 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.4445, allocations: 147.5 kB / 0.5608 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00997/0.4545, allocations: 7.118 MB / 0.5677 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.4546, allocations: 8 kB / 0.5677 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008103/0.4627, allocations: 2.396 MB / 0.5701 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.4628, allocations: 51.73 kB / 0.5701 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.4631, allocations: 127.4 kB / 0.5702 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.4699, allocations: 1.712 MB / 0.5719 GB, free: 7.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4699, allocations: 3.938 kB / 0.5719 GB, free: 7.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4699, allocations: 0 / 0.5719 GB, free: 7.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4699, allocations: 0 / 0.5719 GB, free: 7.781 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.002747/0.4727, allocations: 0.9633 MB / 0.5729 GB, free: 6.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4727, allocations: 12.02 kB / 0.5729 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.4734, allocations: 80.59 kB / 0.5729 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.4739, allocations: 247.9 kB / 0.5732 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.474, allocations: 20.94 kB / 0.5732 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.474, allocations: 32.38 kB / 0.5732 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4752, allocations: 481.6 kB / 0.5737 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4752, allocations: 0 / 0.5737 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.4752, allocations: 20 kB / 0.5737 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4753, allocations: 8 kB / 0.5737 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4765, allocations: 0.6812 MB / 0.5744 GB, free: 5.133 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.006917/0.4834, allocations: 3.132 MB / 0.5774 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.4841, allocations: 212.2 kB / 0.5776 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.4842, allocations: 77.39 kB / 0.5777 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08187/0.5661, allocations: 33.64 MB / 0.6106 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000807/0.5669, allocations: 354.5 kB / 0.6109 GB, free: 12.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 4.408e-06/0.567, allocations: 0 / 0.6109 GB, free: 12.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002705/0.5697, allocations: 0.869 MB / 0.6118 GB, free: 11.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.5699, allocations: 483.1 kB / 0.6122 GB, free: 11.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.5701, allocations: 161.4 kB / 0.6124 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.5701, allocations: 33.7 kB / 0.6124 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.5702, allocations: 160 kB / 0.6126 GB, free: 10.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.5703, allocations: 126.1 kB / 0.6127 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5704, allocations: 90.23 kB / 0.6128 GB, free: 10.56 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5706, allocations: 330.8 kB / 0.6131 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.5707, allocations: 61.09 kB / 0.6131 GB, free: 10.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.571, allocations: 318.1 kB / 0.6134 GB, free: 9.738 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.5715, allocations: 428.1 kB / 0.6139 GB, free: 9.203 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5715, allocations: 4 kB / 0.6139 GB, free: 9.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006818/0.5722, allocations: 417.3 kB / 0.6143 GB, free: 8.785 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5722, allocations: 8 kB / 0.6143 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.5723, allocations: 8 kB / 0.6143 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.5723, allocations: 12 kB / 0.6143 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.5741, allocations: 355.7 kB / 0.6146 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006027/0.5747, allocations: 1.184 MB / 0.6158 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.575, allocations: 15.91 kB / 0.6158 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.575, allocations: 31.98 kB / 0.6158 GB, free: 7.133 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.0001546/0.5752, allocations: 157.6 kB / 0.616 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.5753, allocations: 35.73 kB / 0.616 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.5765, allocations: 0.9429 MB / 0.6169 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.5765, allocations: 7.984 kB / 0.6169 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5765, allocations: 4 kB / 0.6169 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5765, allocations: 0 / 0.6169 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.5779, allocations: 1.426 MB / 0.6183 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.578, allocations: 0 / 0.6183 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.579, allocations: 147.9 kB / 0.6185 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.579, allocations: 4 kB / 0.6185 GB, free: 4.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.579, allocations: 7.984 kB / 0.6185 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002936/0.5793, allocations: 0.5938 MB / 0.6191 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5793, allocations: 4 kB / 0.6191 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.5799, allocations: 0.5267 MB / 0.6196 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.58, allocations: 100.8 kB / 0.6197 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.5801, allocations: 51.31 kB / 0.6197 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.5803, allocations: 15.98 kB / 0.6197 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.5804, allocations: 27.91 kB / 0.6198 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.5804, allocations: 12 kB / 0.6198 GB, free: 2.809 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002737/0.5807, allocations: 275.1 kB / 0.62 GB, free: 2.539 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5807, allocations: 0 / 0.62 GB, free: 2.539 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001454/0.5822, allocations: 463.6 kB / 0.6205 GB, free: 2.086 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.001752/0.5839, allocations: 0.6859 MB / 0.6212 GB, free: 1.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.5855, allocations: 403 kB / 0.6215 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5855, allocations: 4.062 kB / 0.6215 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.5863, allocations: 229.9 kB / 0.6218 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.5871, allocations: 118.8 kB / 0.6219 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.318/1.905, allocations: 0.5369 GB / 1.159 GB, free: 16.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.905, allocations: 0.8195 MB / 1.16 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004792/1.905, allocations: 175.9 kB / 1.16 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/1.906, allocations: 39.42 kB / 1.16 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/1.906, allocations: 0 / 1.16 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Templates: time 0.3485/2.254, allocations: 15.85 MB / 1.175 GB, free: 226.2 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