Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_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.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001638, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 79.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3897, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02012/0.4099, allocations: 13.92 MB / 0.5446 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03648/0.4464, allocations: 26.61 MB / 0.5706 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005241/0.447, allocations: 4 kB / 0.5706 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.4478, allocations: 99.38 kB / 0.5707 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03167/0.4795, allocations: 8.525 MB / 0.579 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.4807, allocations: 354 kB / 0.5794 GB, free: 236 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.4858, allocations: 1.994 MB / 0.5813 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4859, allocations: 20.39 kB / 0.5813 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00074/0.4867, allocations: 270.8 kB / 0.5816 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007106/0.4938, allocations: 3.262 MB / 0.5848 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.4939, allocations: 12 kB / 0.5848 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03221/0.5261, allocations: 11.62 MB / 0.5961 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.5264, allocations: 47.81 kB / 0.5962 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.5268, allocations: 139.3 kB / 0.5963 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02739/0.5542, allocations: 6.749 MB / 0.6029 GB, free: 8.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.5543, allocations: 0 / 0.6029 GB, free: 8.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5543, allocations: 3.938 kB / 0.6029 GB, free: 8.012 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.5543, allocations: 0 / 0.6029 GB, free: 8.012 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007016/0.5613, allocations: 1.619 MB / 0.6045 GB, free: 6.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.5614, allocations: 8.031 kB / 0.6045 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.5632, allocations: 192.4 kB / 0.6047 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.5638, allocations: 271.9 kB / 0.6049 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.5638, allocations: 25.03 kB / 0.605 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.5639, allocations: 36.06 kB / 0.605 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.5663, allocations: 0.7564 MB / 0.6057 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5663, allocations: 0 / 0.6057 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.5663, allocations: 16 kB / 0.6058 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.5664, allocations: 11.94 kB / 0.6058 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.5686, allocations: 0.8137 MB / 0.6066 GB, free: 4.137 MB / 462.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.004048/0.5727, allocations: 2.707 MB / 0.6092 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.5741, allocations: 354.3 kB / 0.6095 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.5742, allocations: 72.83 kB / 0.6096 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6812/1.255, allocations: 147.8 MB / 0.754 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/1.257, allocations: 452.5 kB / 0.7544 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/1.257, allocations: 4 kB / 0.7544 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003394/1.26, allocations: 1.126 MB / 0.7555 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.26, allocations: 375.8 kB / 0.7559 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/1.26, allocations: 180 kB / 0.756 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.26, allocations: 33.7 kB / 0.7561 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/1.26, allocations: 191.4 kB / 0.7563 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/1.261, allocations: 114.2 kB / 0.7564 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.261, allocations: 122.1 kB / 0.7565 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/1.261, allocations: 334.8 kB / 0.7568 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/1.261, allocations: 77.06 kB / 0.7569 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/1.261, allocations: 353.2 kB / 0.7572 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/1.262, allocations: 479.3 kB / 0.7577 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.262, allocations: 0 / 0.7577 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007179/1.262, allocations: 469.4 kB / 0.7581 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.262, allocations: 14.5 kB / 0.7581 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.262, allocations: 8 kB / 0.7581 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.262, allocations: 12 kB / 0.7581 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/1.264, allocations: 215.6 kB / 0.7583 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003737/1.264, allocations: 1.189 MB / 0.7595 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/1.264, allocations: 23.94 kB / 0.7595 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/1.265, allocations: 39.98 kB / 0.7596 GB, free: 166.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.0001573/1.265, allocations: 165.6 kB / 0.7597 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/1.265, allocations: 27.66 kB / 0.7598 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/1.267, allocations: 2.83 MB / 0.7625 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.267, allocations: 23.97 kB / 0.7625 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.267, allocations: 4 kB / 0.7625 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.267, allocations: 4 kB / 0.7626 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/1.268, allocations: 0.9738 MB / 0.7635 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.268, allocations: 4 kB / 0.7635 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/1.268, allocations: 96.27 kB / 0.7636 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/1.268, allocations: 158.7 kB / 0.7637 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.268, allocations: 15.98 kB / 0.7638 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003119/1.269, allocations: 0.6426 MB / 0.7644 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.269, allocations: 0 / 0.7644 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/1.27, allocations: 0.9792 MB / 0.7653 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/1.27, allocations: 132.3 kB / 0.7655 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.27, allocations: 90 kB / 0.7656 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/1.27, allocations: 19.98 kB / 0.7656 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/1.27, allocations: 38.69 kB / 0.7656 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/1.27, allocations: 12 kB / 0.7656 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000568/1.271, allocations: 475 kB / 0.7661 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.022e-06/1.271, allocations: 4 kB / 0.7661 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006493/1.277, allocations: 1.612 MB / 0.7677 GB, free: 158.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007728/1.285, allocations: 1.871 MB / 0.7695 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001737/1.287, allocations: 0.5413 MB / 0.77 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.287, allocations: 1.75 kB / 0.77 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/1.287, allocations: 366.3 kB / 0.7704 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/1.288, allocations: 126.6 kB / 0.7705 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7068/1.995, allocations: 348.4 MB / 1.111 GB, free: 73.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/1.996, allocations: 0.9853 MB / 1.112 GB, free: 72.55 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007577/1.996, allocations: 0.5062 MB / 1.112 GB, free: 72.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/1.997, allocations: 59.41 kB / 1.112 GB, free: 71.99 MB / 0.6075 GB Notification: Performance of SimCode: time 1.282e-06/1.997, allocations: 0 / 1.112 GB, free: 71.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.06581/2.062, allocations: 58.81 MB / 1.17 GB, free: 13.2 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches