Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 112.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3697, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01295/0.3827, allocations: 11.24 MB / 0.5306 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.3947, allocations: 11.78 MB / 0.5421 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.3949, allocations: 1 kB / 0.5421 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3952, allocations: 69.81 kB / 0.5422 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.4061, allocations: 3.121 MB / 0.5452 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.4066, allocations: 143.4 kB / 0.5453 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006382/0.413, allocations: 3.912 MB / 0.5492 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.4131, allocations: 13.91 kB / 0.5492 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.4133, allocations: 140.9 kB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008636/0.4219, allocations: 7.125 MB / 0.5563 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.422, allocations: 8 kB / 0.5563 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005641/0.4276, allocations: 2.139 MB / 0.5584 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.4278, allocations: 47.77 kB / 0.5584 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.428, allocations: 119.5 kB / 0.5585 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004154/0.4321, allocations: 1.544 MB / 0.56 GB, free: 2.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4321, allocations: 0 / 0.56 GB, free: 2.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4321, allocations: 0 / 0.56 GB, free: 2.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4322, allocations: 0 / 0.56 GB, free: 2.598 MB / 414.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.002083/0.4343, allocations: 0.9205 MB / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4343, allocations: 12.03 kB / 0.5609 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/0.4349, allocations: 76.59 kB / 0.561 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.4352, allocations: 252 kB / 0.5612 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.4353, allocations: 24.94 kB / 0.5613 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.4353, allocations: 28.31 kB / 0.5613 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.4362, allocations: 481.6 kB / 0.5618 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4363, allocations: 0 / 0.5618 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.4363, allocations: 20 kB / 0.5618 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4363, allocations: 8 kB / 0.5618 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4373, allocations: 0.6813 MB / 0.5625 GB, free: 15.99 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.006936/0.4443, allocations: 4.303 MB / 0.5667 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.4448, allocations: 159.2 kB / 0.5668 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.4449, allocations: 61.47 kB / 0.5669 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0271/0.472, allocations: 16.4 MB / 0.5829 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006774/0.4728, allocations: 321.9 kB / 0.5832 GB, free: 8.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.336e-06/0.4728, allocations: 3.984 kB / 0.5832 GB, free: 8.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00132/0.4741, allocations: 438.8 kB / 0.5836 GB, free: 7.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.4743, allocations: 478.6 kB / 0.5841 GB, free: 7.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4745, allocations: 183.5 kB / 0.5842 GB, free: 6.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.4745, allocations: 29.7 kB / 0.5843 GB, free: 6.844 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4746, allocations: 195.8 kB / 0.5845 GB, free: 6.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.4747, allocations: 102.6 kB / 0.5846 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4748, allocations: 94.02 kB / 0.5846 GB, free: 6.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.475, allocations: 330.8 kB / 0.585 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.4751, allocations: 68.77 kB / 0.585 GB, free: 6.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.4754, allocations: 314.7 kB / 0.5853 GB, free: 5.621 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.4758, allocations: 425 kB / 0.5857 GB, free: 5.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.4759, allocations: 4 kB / 0.5857 GB, free: 5.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006096/0.4765, allocations: 393.5 kB / 0.5861 GB, free: 4.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4765, allocations: 8 kB / 0.5861 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4765, allocations: 16.12 kB / 0.5861 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.4766, allocations: 12 kB / 0.5861 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.4769, allocations: 111.8 kB / 0.5863 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.4769, allocations: 11.94 kB / 0.5863 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.4771, allocations: 55.47 kB / 0.5863 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.4772, allocations: 31.98 kB / 0.5863 GB, free: 4.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.4774, allocations: 153.6 kB / 0.5865 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.4774, allocations: 31.72 kB / 0.5865 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009717/0.4784, allocations: 0.7704 MB / 0.5873 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.4784, allocations: 7.984 kB / 0.5873 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4784, allocations: 0 / 0.5873 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4785, allocations: 7.938 kB / 0.5873 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4796, allocations: 1.215 MB / 0.5885 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4796, allocations: 4 kB / 0.5885 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4797, allocations: 35.92 kB / 0.5885 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4798, allocations: 7.938 kB / 0.5885 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4798, allocations: 4 kB / 0.5885 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4798, allocations: 4 kB / 0.5885 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.4798, allocations: 7.938 kB / 0.5885 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.4802, allocations: 380.5 kB / 0.5889 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.4803, allocations: 104.8 kB / 0.589 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.4804, allocations: 43.38 kB / 0.589 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.4806, allocations: 19.97 kB / 0.5891 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.4806, allocations: 11.98 kB / 0.5891 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.4807, allocations: 12 kB / 0.5891 GB, free: 1.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002911/0.481, allocations: 298.9 kB / 0.5894 GB, free: 1.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.481, allocations: 0 / 0.5894 GB, free: 1.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001264/0.4822, allocations: 423.5 kB / 0.5898 GB, free: 0.6758 MB / 446.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.4834, allocations: 0.6271 MB / 0.5904 GB, free: 40 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.4838, allocations: 237.4 kB / 0.5906 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4838, allocations: 3.938 kB / 0.5906 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4839, allocations: 84.78 kB / 0.5907 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.4846, allocations: 109.9 kB / 0.5908 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.53/2.015, allocations: 0.579 GB / 1.17 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/2.015, allocations: 0.8116 MB / 1.171 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/2.015, allocations: 46.48 kB / 1.171 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/2.015, allocations: 0 / 1.171 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.01834/2.034, allocations: 10.86 MB / 1.181 GB, free: 206.2 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches