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.001292/0.001292, 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.001308/0.001308, 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.375/1.375, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 73.14 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01174/0.1391, allocations: 11.28 MB / 492.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1513, allocations: 11.78 MB / 0.4927 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.1515, allocations: 4 kB / 0.4927 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.152, allocations: 67.5 kB / 0.4928 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009989/0.162, allocations: 3.124 MB / 0.4958 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1624, allocations: 155.1 kB / 0.496 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005218/0.1676, allocations: 3.893 MB / 0.4998 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.1677, allocations: 16.41 kB / 0.4998 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1679, allocations: 147.5 kB / 0.4999 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2882/0.4561, allocations: 7.119 MB / 0.5069 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.4563, allocations: 8.125 kB / 0.5069 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007216/0.4635, allocations: 2.4 MB / 0.5092 GB, free: 22.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.4637, allocations: 44.11 kB / 0.5093 GB, free: 22.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.4639, allocations: 122.5 kB / 0.5094 GB, free: 22.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005873/0.4698, allocations: 1.719 MB / 0.5111 GB, free: 22.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4698, allocations: 0 / 0.5111 GB, free: 22.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4698, allocations: 0 / 0.5111 GB, free: 22.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4699, allocations: 0 / 0.5111 GB, free: 22.91 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.0025/0.4724, allocations: 0.9675 MB / 0.512 GB, free: 22.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4724, allocations: 9.844 kB / 0.512 GB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.473, allocations: 77.45 kB / 0.5121 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.4734, allocations: 245 kB / 0.5123 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.4734, allocations: 23 kB / 0.5123 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.4735, allocations: 30.88 kB / 0.5124 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.4745, allocations: 479.2 kB / 0.5128 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4745, allocations: 9 kB / 0.5128 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.4745, allocations: 10.48 kB / 0.5128 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4746, allocations: 11.41 kB / 0.5129 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.4758, allocations: 0.6772 MB / 0.5135 GB, free: 21.99 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.006638/0.4824, allocations: 3.129 MB / 0.5166 GB, free: 20.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.4832, allocations: 216.7 kB / 0.5168 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4833, allocations: 75.89 kB / 0.5169 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07847/0.5618, allocations: 33.63 MB / 0.5497 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007704/0.5626, allocations: 346.5 kB / 0.55 GB, free: 11.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.5626, allocations: 0 / 0.55 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002633/0.5652, allocations: 0.8694 MB / 0.5509 GB, free: 11.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002199/0.5655, allocations: 474.3 kB / 0.5513 GB, free: 10.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.5656, allocations: 161.4 kB / 0.5515 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.5657, allocations: 36.89 kB / 0.5515 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.5658, allocations: 159.9 kB / 0.5517 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.5659, allocations: 125.9 kB / 0.5518 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.566, allocations: 90.14 kB / 0.5519 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5661, allocations: 326.8 kB / 0.5522 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.5662, allocations: 69.08 kB / 0.5523 GB, free: 9.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.5665, allocations: 311.9 kB / 0.5526 GB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.567, allocations: 443.4 kB / 0.553 GB, free: 8.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.567, allocations: 4 kB / 0.553 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006688/0.5677, allocations: 403.3 kB / 0.5534 GB, free: 8.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5677, allocations: 11.94 kB / 0.5534 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5678, allocations: 9.219 kB / 0.5534 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.5678, allocations: 12 kB / 0.5534 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.5696, allocations: 341.4 kB / 0.5537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006321/0.5703, allocations: 1.19 MB / 0.5549 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.5705, allocations: 23.84 kB / 0.5549 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.5706, allocations: 32 kB / 0.5549 GB, free: 6.551 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.0001724/0.5708, allocations: 156.5 kB / 0.5551 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.5709, allocations: 27.81 kB / 0.5551 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.5723, allocations: 0.9516 MB / 0.556 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.5723, allocations: 8 kB / 0.556 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5723, allocations: 7.359 kB / 0.5561 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.5723, allocations: 4 kB / 0.5561 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.5739, allocations: 1.42 MB / 0.5574 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5739, allocations: 4 kB / 0.5574 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.5749, allocations: 153.9 kB / 0.5576 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.5749, allocations: 4 kB / 0.5576 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.5749, allocations: 8 kB / 0.5576 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002725/0.5752, allocations: 0.586 MB / 0.5582 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5752, allocations: 7.875 kB / 0.5582 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.5758, allocations: 0.519 MB / 0.5587 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.5759, allocations: 104.8 kB / 0.5588 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.576, allocations: 51.39 kB / 0.5588 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.5763, allocations: 14.62 kB / 0.5589 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.5763, allocations: 23.97 kB / 0.5589 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.5764, allocations: 12 kB / 0.5589 GB, free: 2.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.5767, allocations: 275.1 kB / 0.5592 GB, free: 2.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.5767, allocations: 0 / 0.5592 GB, free: 2.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002046/0.5787, allocations: 462.9 kB / 0.5596 GB, free: 1.578 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.001517/0.5802, allocations: 0.6882 MB / 0.5603 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.5817, allocations: 402.8 kB / 0.5607 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5817, allocations: 0.5 kB / 0.5607 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.5825, allocations: 227.7 kB / 0.5609 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.5833, allocations: 133.6 kB / 0.561 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.352/1.936, allocations: 0.5369 GB / 1.098 GB, free: 198.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/1.936, allocations: 0.8237 MB / 1.099 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005001/1.937, allocations: 172.2 kB / 1.099 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/1.937, allocations: 37 kB / 1.099 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/1.937, allocations: 0 / 1.099 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.0235/1.96, allocations: 15.73 MB / 1.114 GB, free: 191.6 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 cvode -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