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.001186/0.001186, allocations: 121.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 71.89 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4361, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01839/0.4545, allocations: 13.92 MB / 0.5446 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02873/0.4833, allocations: 26.6 MB / 0.5706 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.4837, allocations: 4 kB / 0.5706 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.4843, allocations: 99.38 kB / 0.5707 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02565/0.51, allocations: 8.533 MB / 0.579 GB, free: 432 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.511, allocations: 353.8 kB / 0.5794 GB, free: 84 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004447/0.5155, allocations: 1.994 MB / 0.5813 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.5156, allocations: 24.33 kB / 0.5814 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.5162, allocations: 270.8 kB / 0.5816 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006771/0.523, allocations: 3.254 MB / 0.5848 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.999e-05/0.5231, allocations: 15.94 kB / 0.5848 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02703/0.5501, allocations: 11.62 MB / 0.5962 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.5503, allocations: 47.77 kB / 0.5962 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.5506, allocations: 135.4 kB / 0.5963 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.5691, allocations: 6.757 MB / 0.6029 GB, free: 7.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.5691, allocations: 0 / 0.6029 GB, free: 7.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5691, allocations: 0 / 0.6029 GB, free: 7.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.5692, allocations: 3.938 kB / 0.6029 GB, free: 7.859 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.005793/0.575, allocations: 1.615 MB / 0.6045 GB, free: 6.195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.575, allocations: 8.031 kB / 0.6045 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.5767, allocations: 188.5 kB / 0.6047 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.5773, allocations: 275.8 kB / 0.605 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.5774, allocations: 25.03 kB / 0.605 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.5774, allocations: 32.12 kB / 0.605 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.5798, allocations: 0.7525 MB / 0.6057 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5798, allocations: 3.938 kB / 0.6057 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.5799, allocations: 23.92 kB / 0.6058 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5799, allocations: 8 kB / 0.6058 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.582, allocations: 0.8137 MB / 0.6066 GB, free: 3.988 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.003378/0.5854, allocations: 2.703 MB / 0.6092 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.5866, allocations: 353.6 kB / 0.6096 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.5868, allocations: 72.83 kB / 0.6096 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6914/1.278, allocations: 147.8 MB / 0.754 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/1.279, allocations: 453.3 kB / 0.7544 GB, free: 172 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/1.279, allocations: 0 / 0.7544 GB, free: 172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003592/1.283, allocations: 1.126 MB / 0.7555 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.283, allocations: 373.5 kB / 0.7559 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/1.283, allocations: 184 kB / 0.756 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/1.283, allocations: 33.7 kB / 0.7561 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/1.284, allocations: 188.3 kB / 0.7563 GB, free: 170 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/1.284, allocations: 117.9 kB / 0.7564 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.284, allocations: 122.1 kB / 0.7565 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/1.284, allocations: 330.8 kB / 0.7568 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/1.284, allocations: 81.06 kB / 0.7569 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/1.284, allocations: 345.6 kB / 0.7572 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/1.285, allocations: 485.5 kB / 0.7577 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.285, allocations: 0 / 0.7577 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007131/1.285, allocations: 475.4 kB / 0.7581 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.285, allocations: 8 kB / 0.7581 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.286, allocations: 11.94 kB / 0.7581 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.286, allocations: 12 kB / 0.7582 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/1.287, allocations: 211.7 kB / 0.7584 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004162/1.287, allocations: 1.185 MB / 0.7595 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/1.288, allocations: 26.44 kB / 0.7595 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/1.288, allocations: 47.91 kB / 0.7596 GB, free: 166.3 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.0001609/1.288, allocations: 164.6 kB / 0.7597 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/1.288, allocations: 27.7 kB / 0.7598 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/1.29, allocations: 2.83 MB / 0.7625 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.29, allocations: 26.22 kB / 0.7626 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.29, allocations: 4 kB / 0.7626 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/1.29, allocations: 4 kB / 0.7626 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/1.291, allocations: 0.9719 MB / 0.7635 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.291, allocations: 4 kB / 0.7635 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/1.291, allocations: 96.27 kB / 0.7636 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/1.292, allocations: 158.7 kB / 0.7638 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/1.292, allocations: 12 kB / 0.7638 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002645/1.292, allocations: 0.6484 MB / 0.7644 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.292, allocations: 0 / 0.7644 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/1.293, allocations: 0.9792 MB / 0.7654 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/1.293, allocations: 128.4 kB / 0.7655 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.293, allocations: 93.17 kB / 0.7656 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/1.293, allocations: 16 kB / 0.7656 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/1.293, allocations: 38.67 kB / 0.7656 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/1.293, allocations: 16 kB / 0.7656 GB, free: 160 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004402/1.294, allocations: 479 kB / 0.7661 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.294, allocations: 0 / 0.7661 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004594/1.298, allocations: 1.615 MB / 0.7677 GB, free: 158 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.007697/1.306, allocations: 1.86 MB / 0.7695 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.308, allocations: 0.5413 MB / 0.77 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.308, allocations: 1.875 kB / 0.77 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/1.308, allocations: 366.1 kB / 0.7704 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/1.309, allocations: 130.4 kB / 0.7705 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6997/2.009, allocations: 348.4 MB / 1.111 GB, free: 73.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/2.009, allocations: 0.9859 MB / 1.112 GB, free: 72.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006527/2.01, allocations: 0.5022 MB / 1.112 GB, free: 71.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/2.01, allocations: 59.39 kB / 1.112 GB, free: 71.85 MB / 0.6075 GB Notification: Performance of SimCode: time 1.873e-06/2.01, allocations: 0 / 1.112 GB, free: 71.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.06077/2.071, allocations: 58.64 MB / 1.17 GB, free: 13.23 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