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.001218/0.001218, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.441, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01657/0.4576, allocations: 13.91 MB / 0.5446 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03958/0.4973, allocations: 26.61 MB / 0.5706 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.4978, allocations: 3.938 kB / 0.5706 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.4984, allocations: 91.45 kB / 0.5707 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02965/0.528, allocations: 8.531 MB / 0.579 GB, free: 448 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.5291, allocations: 344.9 kB / 0.5794 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005123/0.5342, allocations: 2.002 MB / 0.5813 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.5344, allocations: 24.33 kB / 0.5813 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.535, allocations: 266.8 kB / 0.5816 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008142/0.5431, allocations: 3.258 MB / 0.5848 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.5433, allocations: 8 kB / 0.5848 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02693/0.5702, allocations: 11.63 MB / 0.5961 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.5704, allocations: 51.75 kB / 0.5962 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.5707, allocations: 135.4 kB / 0.5963 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02094/0.5916, allocations: 6.766 MB / 0.6029 GB, free: 7.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5917, allocations: 0 / 0.6029 GB, free: 7.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5917, allocations: 0 / 0.6029 GB, free: 7.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.5917, allocations: 4 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.005038/0.5968, allocations: 1.67 MB / 0.6046 GB, free: 6.133 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5968, allocations: 12.03 kB / 0.6046 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.5984, allocations: 188.5 kB / 0.6048 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.5989, allocations: 271.9 kB / 0.605 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.5989, allocations: 21.03 kB / 0.605 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.599, allocations: 36.12 kB / 0.6051 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.6012, allocations: 0.7525 MB / 0.6058 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6012, allocations: 11.88 kB / 0.6058 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.6012, allocations: 12 kB / 0.6058 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.6013, allocations: 8 kB / 0.6058 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.6034, allocations: 0.8176 MB / 0.6066 GB, free: 3.926 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.003261/0.6067, allocations: 2.699 MB / 0.6093 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.608, allocations: 358.3 kB / 0.6096 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.6081, allocations: 68.83 kB / 0.6097 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7027/1.311, allocations: 147.9 MB / 0.7541 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/1.312, allocations: 454.3 kB / 0.7545 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/1.312, allocations: 0 / 0.7545 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=32): time 0.003696/1.316, allocations: 1.137 MB / 0.7556 GB, free: 170.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/1.316, allocations: 383.9 kB / 0.756 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/1.316, allocations: 179.5 kB / 0.7561 GB, free: 170 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/1.316, allocations: 33.7 kB / 0.7562 GB, free: 170 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/1.316, allocations: 193.7 kB / 0.7564 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/1.316, allocations: 124 kB / 0.7565 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/1.317, allocations: 126.1 kB / 0.7566 GB, free: 169.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/1.317, allocations: 330.8 kB / 0.7569 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/1.317, allocations: 85.06 kB / 0.757 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/1.317, allocations: 337.6 kB / 0.7573 GB, free: 168.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/1.317, allocations: 484.5 kB / 0.7578 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.317, allocations: 4 kB / 0.7578 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006977/1.318, allocations: 475.9 kB / 0.7582 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.318, allocations: 12 kB / 0.7583 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.318, allocations: 8 kB / 0.7583 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.318, allocations: 12 kB / 0.7583 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.32, allocations: 207.7 kB / 0.7585 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003696/1.32, allocations: 1.189 MB / 0.7596 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/1.32, allocations: 20 kB / 0.7597 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/1.32, allocations: 47.92 kB / 0.7597 GB, free: 166.1 MB / 0.5763 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.321, allocations: 164.8 kB / 0.7599 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/1.321, allocations: 30.58 kB / 0.7599 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/1.323, allocations: 2.838 MB / 0.7627 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.323, allocations: 24.84 kB / 0.7627 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.323, allocations: 4 kB / 0.7627 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.323, allocations: 4 kB / 0.7627 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/1.324, allocations: 0.9723 MB / 0.7636 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.324, allocations: 4 kB / 0.7636 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/1.324, allocations: 96.27 kB / 0.7637 GB, free: 162 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/1.324, allocations: 166.8 kB / 0.7639 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.324, allocations: 11.98 kB / 0.7639 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003283/1.325, allocations: 0.6453 MB / 0.7645 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.325, allocations: 4 kB / 0.7645 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.326, allocations: 0.9837 MB / 0.7655 GB, free: 160.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/1.326, allocations: 137.4 kB / 0.7656 GB, free: 160 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.326, allocations: 92.97 kB / 0.7657 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/1.326, allocations: 19.55 kB / 0.7657 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/1.326, allocations: 34.69 kB / 0.7658 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/1.326, allocations: 16 kB / 0.7658 GB, free: 159.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004615/1.327, allocations: 479 kB / 0.7662 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/1.327, allocations: 0 / 0.7662 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005088/1.332, allocations: 1.633 MB / 0.7678 GB, free: 157.9 MB / 0.5763 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.008142/1.34, allocations: 1.884 MB / 0.7697 GB, free: 156.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001747/1.342, allocations: 0.5461 MB / 0.7702 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.342, allocations: 0 / 0.7702 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003851/1.342, allocations: 360.5 kB / 0.7705 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/1.343, allocations: 138.5 kB / 0.7707 GB, free: 155.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.761/2.104, allocations: 348.6 MB / 1.111 GB, free: 72.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/2.105, allocations: 0.982 MB / 1.112 GB, free: 71.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006449/2.105, allocations: 0.51 MB / 1.113 GB, free: 71.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/2.105, allocations: 59.39 kB / 1.113 GB, free: 71.35 MB / 0.6075 GB Notification: Performance of SimCode: time 1.252e-06/2.105, allocations: 0 / 1.113 GB, free: 71.35 MB / 0.6075 GB Notification: Performance of Templates: time 0.06339/2.169, allocations: 58.66 MB / 1.17 GB, free: 12.72 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