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.001421/0.001421, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2029/0.2029, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 79.86 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 62.44 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01191/0.1178, allocations: 11.28 MB / 492.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.1294, allocations: 11.79 MB / 0.4927 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.1297, allocations: 0 / 0.4927 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.1301, allocations: 67.5 kB / 0.4928 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009306/0.1394, allocations: 3.117 MB / 0.4958 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1398, allocations: 159 kB / 0.496 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005703/0.1455, allocations: 3.897 MB / 0.4998 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.911e-05/0.1456, allocations: 20.41 kB / 0.4998 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.1459, allocations: 139.5 kB / 0.4999 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1915/0.3374, allocations: 7.119 MB / 0.5069 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.3375, allocations: 8.312 kB / 0.5069 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005837/0.3433, allocations: 2.394 MB / 0.5092 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.3434, allocations: 38.41 kB / 0.5093 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.3436, allocations: 129.8 kB / 0.5094 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.3475, allocations: 1.717 MB / 0.5111 GB, free: 22.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3476, allocations: 0 / 0.5111 GB, free: 22.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3476, allocations: 5.125 kB / 0.5111 GB, free: 22.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3476, allocations: 0 / 0.5111 GB, free: 22.86 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.002067/0.3497, allocations: 0.9632 MB / 0.512 GB, free: 22.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3497, allocations: 13.47 kB / 0.512 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.3503, allocations: 77.66 kB / 0.5121 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.3507, allocations: 247.7 kB / 0.5123 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3508, allocations: 18.66 kB / 0.5123 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.3508, allocations: 28.94 kB / 0.5124 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3519, allocations: 484.3 kB / 0.5128 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3519, allocations: 8.203 kB / 0.5128 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.3519, allocations: 12.3 kB / 0.5128 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.352, allocations: 11.91 kB / 0.5129 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3532, allocations: 0.6778 MB / 0.5135 GB, free: 21.95 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.006253/0.3595, allocations: 3.13 MB / 0.5166 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.3602, allocations: 216 kB / 0.5168 GB, free: 20.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3603, allocations: 77.55 kB / 0.5169 GB, free: 20.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07225/0.4325, allocations: 33.64 MB / 0.5497 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007208/0.4333, allocations: 338.7 kB / 0.55 GB, free: 11.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.4333, allocations: 0 / 0.55 GB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00256/0.4359, allocations: 0.8649 MB / 0.5509 GB, free: 10.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.4361, allocations: 478.1 kB / 0.5513 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4362, allocations: 154.4 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.4363, allocations: 36.89 kB / 0.5515 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4364, allocations: 167.1 kB / 0.5517 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/0.4365, allocations: 120.2 kB / 0.5518 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4366, allocations: 94.14 kB / 0.5519 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4368, allocations: 328.9 kB / 0.5522 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.4369, allocations: 69.08 kB / 0.5523 GB, free: 9.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.4372, allocations: 314.9 kB / 0.5526 GB, free: 9.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.4376, allocations: 437.6 kB / 0.553 GB, free: 8.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4376, allocations: 11.62 kB / 0.553 GB, free: 8.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006326/0.4383, allocations: 394.3 kB / 0.5534 GB, free: 8.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4383, allocations: 11.94 kB / 0.5534 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4383, allocations: 8 kB / 0.5534 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.4383, allocations: 12 kB / 0.5534 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.4402, allocations: 345.2 kB / 0.5537 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006015/0.4408, allocations: 1.187 MB / 0.5549 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.441, allocations: 25.59 kB / 0.5549 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.4411, allocations: 35.98 kB / 0.5549 GB, free: 6.52 MB / 398.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.0001514/0.4412, allocations: 158.9 kB / 0.5551 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.4413, allocations: 30.16 kB / 0.5551 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.4425, allocations: 0.9431 MB / 0.556 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4425, allocations: 8.203 kB / 0.556 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4425, allocations: 8 kB / 0.5561 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4425, allocations: 4 kB / 0.5561 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.4439, allocations: 1.418 MB / 0.5574 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4439, allocations: 4 kB / 0.5574 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4449, allocations: 147.8 kB / 0.5576 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.4449, allocations: 4 kB / 0.5576 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.445, allocations: 11.98 kB / 0.5576 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002796/0.4453, allocations: 0.5894 MB / 0.5582 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4453, allocations: 4.031 kB / 0.5582 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.4458, allocations: 0.5217 MB / 0.5587 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.4459, allocations: 111.7 kB / 0.5588 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.446, allocations: 53.22 kB / 0.5588 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.4462, allocations: 15.98 kB / 0.5589 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4463, allocations: 15.98 kB / 0.5589 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.4463, allocations: 15.98 kB / 0.5589 GB, free: 2.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.4466, allocations: 271.1 kB / 0.5592 GB, free: 2.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4466, allocations: 3.938 kB / 0.5592 GB, free: 2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001648/0.4483, allocations: 459.6 kB / 0.5596 GB, free: 1.551 MB / 398.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.001337/0.4496, allocations: 0.6955 MB / 0.5603 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.451, allocations: 401.9 kB / 0.5607 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.451, allocations: 0 / 0.5607 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.4518, allocations: 231.5 kB / 0.5609 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.4525, allocations: 126.7 kB / 0.561 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.12/1.573, allocations: 0.5369 GB / 1.098 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/1.573, allocations: 0.8286 MB / 1.099 GB, free: 197.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004047/1.574, allocations: 171.5 kB / 1.099 GB, free: 197.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/1.574, allocations: 41.92 kB / 1.099 GB, free: 197.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.574, allocations: 0 / 1.099 GB, free: 197.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.02035/1.594, allocations: 15.73 MB / 1.114 GB, free: 191.2 MB / 0.5294 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/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