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.00115/0.00115, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 75.34 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1717, allocations: 62.44 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01441/0.1862, allocations: 11.5 MB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1998, allocations: 12.05 MB / 0.4911 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.2, allocations: 0 / 0.4911 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.2005, allocations: 71.61 kB / 0.4911 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.2109, allocations: 2.633 MB / 0.4937 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.2114, allocations: 147.1 kB / 0.4938 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006929/0.2183, allocations: 4.141 MB / 0.4979 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.124e-05/0.2184, allocations: 20.41 kB / 0.4979 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.2186, allocations: 139.5 kB / 0.498 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3459/0.5645, allocations: 7.56 MB / 0.5054 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.5646, allocations: 7.188 kB / 0.5054 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007658/0.5723, allocations: 2.368 MB / 0.5077 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.5725, allocations: 39.95 kB / 0.5078 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.5728, allocations: 129.5 kB / 0.5079 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007185/0.58, allocations: 1.719 MB / 0.5096 GB, free: 23.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.58, allocations: 3.812 kB / 0.5096 GB, free: 23.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.58, allocations: 0 / 0.5096 GB, free: 23.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.58, allocations: 0 / 0.5096 GB, free: 23.32 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.003179/0.5832, allocations: 0.9577 MB / 0.5105 GB, free: 22.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.5833, allocations: 11.59 kB / 0.5105 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/0.584, allocations: 78.17 kB / 0.5106 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.5843, allocations: 252.5 kB / 0.5109 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.5843, allocations: 21.59 kB / 0.5109 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.5844, allocations: 24.41 kB / 0.5109 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.5854, allocations: 485 kB / 0.5114 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5855, allocations: 4.781 kB / 0.5114 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.5855, allocations: 15.72 kB / 0.5114 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.5855, allocations: 10.14 kB / 0.5114 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5868, allocations: 0.6842 MB / 0.5121 GB, free: 22.41 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.007231/0.594, allocations: 3.137 MB / 0.5151 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.5947, allocations: 208.5 kB / 0.5153 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.5949, allocations: 74.14 kB / 0.5154 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08267/0.6776, allocations: 33.64 MB / 0.5482 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009816/0.6786, allocations: 345.5 kB / 0.5486 GB, free: 12.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.146e-06/0.6786, allocations: 0 / 0.5486 GB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003178/0.6818, allocations: 0.8638 MB / 0.5494 GB, free: 11.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002407/0.6821, allocations: 481.1 kB / 0.5499 GB, free: 11.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.6823, allocations: 160.5 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.6823, allocations: 33.64 kB / 0.5501 GB, free: 11.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.6825, allocations: 159.8 kB / 0.5502 GB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.6826, allocations: 128.3 kB / 0.5503 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.6827, allocations: 88.81 kB / 0.5504 GB, free: 10.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6829, allocations: 333.7 kB / 0.5507 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.683, allocations: 66.27 kB / 0.5508 GB, free: 10.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.6834, allocations: 311 kB / 0.5511 GB, free: 10.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.684, allocations: 432.4 kB / 0.5515 GB, free: 9.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.6841, allocations: 7.656 kB / 0.5515 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007911/0.6849, allocations: 396.4 kB / 0.5519 GB, free: 9.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.6849, allocations: 11.94 kB / 0.5519 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.6849, allocations: 11.98 kB / 0.5519 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.685, allocations: 13.97 kB / 0.5519 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.6871, allocations: 345 kB / 0.5523 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006874/0.6878, allocations: 1.19 MB / 0.5534 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.6881, allocations: 23.84 kB / 0.5534 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.6882, allocations: 28 kB / 0.5535 GB, free: 7.578 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.000227/0.6884, allocations: 160.5 kB / 0.5536 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6886, allocations: 23.81 kB / 0.5536 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.6904, allocations: 0.9491 MB / 0.5546 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.6905, allocations: 12 kB / 0.5546 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6905, allocations: 3.094 kB / 0.5546 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.6905, allocations: 7.984 kB / 0.5546 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.6928, allocations: 1.419 MB / 0.556 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6928, allocations: 7.188 kB / 0.556 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.6941, allocations: 150.6 kB / 0.5561 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/0.6941, allocations: 7.812 kB / 0.5561 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.6941, allocations: 8 kB / 0.5561 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005557/0.6947, allocations: 0.5899 MB / 0.5567 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.6947, allocations: 2.906 kB / 0.5567 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.6958, allocations: 0.5275 MB / 0.5572 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.696, allocations: 100.8 kB / 0.5573 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.6962, allocations: 55.3 kB / 0.5574 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.6966, allocations: 12 kB / 0.5574 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.6966, allocations: 27.34 kB / 0.5574 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.6967, allocations: 16 kB / 0.5574 GB, free: 3.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004328/0.6971, allocations: 271.1 kB / 0.5577 GB, free: 3.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.182e-06/0.6971, allocations: 0 / 0.5577 GB, free: 3.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003224/0.7004, allocations: 459.6 kB / 0.5581 GB, free: 2.605 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.003788/0.7042, allocations: 0.6925 MB / 0.5588 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.7062, allocations: 388.8 kB / 0.5592 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.7062, allocations: 4 kB / 0.5592 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008892/0.7071, allocations: 225.4 kB / 0.5594 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.7082, allocations: 129.4 kB / 0.5595 GB, free: 1.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.406/2.114, allocations: 0.5371 GB / 1.097 GB, free: 198.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/2.115, allocations: 0.8232 MB / 1.097 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005689/2.115, allocations: 171.2 kB / 1.098 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/2.115, allocations: 37.39 kB / 1.098 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/2.115, allocations: 1.641 kB / 1.098 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.0258/2.141, allocations: 15.48 MB / 1.113 GB, free: 192.5 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 -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