Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,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_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 74.72 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1379, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01338/0.1514, allocations: 11.28 MB / 492.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1638, allocations: 11.78 MB / 0.4927 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.164, allocations: 4 kB / 0.4927 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.1644, allocations: 71.5 kB / 0.4928 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.1745, allocations: 3.121 MB / 0.4958 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.1749, allocations: 151.6 kB / 0.496 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005378/0.1803, allocations: 3.893 MB / 0.4998 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.1804, allocations: 16.41 kB / 0.4998 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1806, allocations: 143.5 kB / 0.4999 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.286/0.4666, allocations: 7.125 MB / 0.5069 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.554e-05/0.4667, allocations: 8.469 kB / 0.5069 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007266/0.474, allocations: 2.109 MB / 0.5089 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.4742, allocations: 41.28 kB / 0.509 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.4745, allocations: 129.1 kB / 0.5091 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.4796, allocations: 1.542 MB / 0.5106 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4796, allocations: 0.6562 kB / 0.5106 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4796, allocations: 0 / 0.5106 GB, free: 23.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4796, allocations: 0 / 0.5106 GB, free: 23.54 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.002554/0.4822, allocations: 0.9236 MB / 0.5115 GB, free: 22.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4823, allocations: 10.66 kB / 0.5115 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006076/0.4829, allocations: 78.14 kB / 0.5116 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.4832, allocations: 248.4 kB / 0.5118 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.4833, allocations: 23.78 kB / 0.5119 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.4833, allocations: 24.62 kB / 0.5119 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4844, allocations: 486.6 kB / 0.5123 GB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4844, allocations: 8.172 kB / 0.5123 GB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.4845, allocations: 11.03 kB / 0.5124 GB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.4845, allocations: 7.125 kB / 0.5124 GB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.4857, allocations: 0.6802 MB / 0.513 GB, free: 22.64 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.006796/0.4925, allocations: 3.097 MB / 0.5161 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.4934, allocations: 213.5 kB / 0.5163 GB, free: 21.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.4935, allocations: 81.28 kB / 0.5163 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07191/0.5654, allocations: 30.76 MB / 0.5464 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/0.5662, allocations: 347.2 kB / 0.5467 GB, free: 15.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.053e-06/0.5663, allocations: 0 / 0.5467 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003305/0.5696, allocations: 0.9768 MB / 0.5477 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002857/0.5699, allocations: 473.8 kB / 0.5481 GB, free: 14.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5701, allocations: 158.3 kB / 0.5483 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.5702, allocations: 44.03 kB / 0.5483 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.5703, allocations: 162.2 kB / 0.5485 GB, free: 13.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.5704, allocations: 129.7 kB / 0.5486 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.5706, allocations: 90.23 kB / 0.5487 GB, free: 13.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5707, allocations: 329.8 kB / 0.549 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.5708, allocations: 77.08 kB / 0.5491 GB, free: 13.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.5712, allocations: 319.6 kB / 0.5494 GB, free: 12.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.5718, allocations: 449.2 kB / 0.5498 GB, free: 12.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5718, allocations: 4 kB / 0.5498 GB, free: 12.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007378/0.5725, allocations: 445.4 kB / 0.5502 GB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5726, allocations: 12.22 kB / 0.5502 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.5726, allocations: 11.88 kB / 0.5502 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.5747, allocations: 324.6 kB / 0.5506 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.575, allocations: 106.9 kB / 0.5507 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006842/0.5757, allocations: 1.214 MB / 0.5518 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.5759, allocations: 20 kB / 0.5519 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.576, allocations: 36.17 kB / 0.5519 GB, free: 10.29 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.5762, allocations: 164.2 kB / 0.552 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.5763, allocations: 31.7 kB / 0.5521 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.5777, allocations: 1.044 MB / 0.5531 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.5778, allocations: 16 kB / 0.5531 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.5778, allocations: 3.938 kB / 0.5531 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.5778, allocations: 7.984 kB / 0.5531 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.5795, allocations: 1.536 MB / 0.5546 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5795, allocations: 8.094 kB / 0.5546 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.5797, allocations: 43.39 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.581, allocations: 240.7 kB / 0.5549 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.581, allocations: 8 kB / 0.5549 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006604/0.5817, allocations: 1.261 MB / 0.5561 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.5817, allocations: 8.219 kB / 0.5561 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.5824, allocations: 0.6088 MB / 0.5567 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.5825, allocations: 110.8 kB / 0.5568 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.5826, allocations: 43.47 kB / 0.5569 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.5828, allocations: 11.98 kB / 0.5569 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.5829, allocations: 31.53 kB / 0.5569 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.5829, allocations: 12 kB / 0.5569 GB, free: 4.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003149/0.5833, allocations: 275.1 kB / 0.5572 GB, free: 4.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5833, allocations: 0 / 0.5572 GB, free: 4.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002047/0.5853, allocations: 439.6 kB / 0.5576 GB, free: 4.164 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/0.5869, allocations: 0.6594 MB / 0.5583 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.5876, allocations: 374.2 kB / 0.5586 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5876, allocations: 4 kB / 0.5586 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.5879, allocations: 234.9 kB / 0.5589 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.5887, allocations: 126.1 kB / 0.559 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.063/1.652, allocations: 0.4918 GB / 1.051 GB, free: 65.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.652, allocations: 0.824 MB / 1.052 GB, free: 64.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003998/1.653, allocations: 171.8 kB / 1.052 GB, free: 64.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/1.653, allocations: 41.06 kB / 1.052 GB, free: 64.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.292e-06/1.653, allocations: 0 / 1.052 GB, free: 64.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.01837/1.671, allocations: 15.54 MB / 1.067 GB, free: 49.11 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches