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.001197/0.001197, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.48 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1425, allocations: 62.47 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01945/0.162, allocations: 13.92 MB / 494 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2684/0.4305, allocations: 26.59 MB / 0.5084 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.4309, allocations: 2.406 kB / 0.5084 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.4315, allocations: 96.55 kB / 0.5085 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02254/0.454, allocations: 8.547 MB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.4551, allocations: 344.9 kB / 0.5172 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.4595, allocations: 1.998 MB / 0.5191 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.4596, allocations: 21.36 kB / 0.5191 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.4601, allocations: 262.8 kB / 0.5194 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007276/0.4674, allocations: 3.259 MB / 0.5226 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.4675, allocations: 9.562 kB / 0.5226 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02736/0.4949, allocations: 11.34 MB / 0.5337 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.4951, allocations: 59.05 kB / 0.5337 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.4954, allocations: 131.5 kB / 0.5338 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.5149, allocations: 6.776 MB / 0.5405 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5149, allocations: 0 / 0.5405 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.515, allocations: 1.688 kB / 0.5405 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.515, allocations: 0 / 0.5405 GB, free: 1.031 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004193/0.5192, allocations: 1.623 MB / 0.542 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5192, allocations: 8.031 kB / 0.5421 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.5207, allocations: 188.5 kB / 0.5422 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.521, allocations: 267.9 kB / 0.5425 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.521, allocations: 21.03 kB / 0.5425 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.5211, allocations: 28.38 kB / 0.5425 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.5232, allocations: 0.7564 MB / 0.5433 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5232, allocations: 11.88 kB / 0.5433 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.5233, allocations: 12 kB / 0.5433 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5233, allocations: 8 kB / 0.5433 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.5254, allocations: 0.8176 MB / 0.5441 GB, free: 13.24 MB / 398.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.003305/0.5288, allocations: 2.713 MB / 0.5468 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.53, allocations: 343.1 kB / 0.5471 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5301, allocations: 72.83 kB / 0.5471 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3929/0.923, allocations: 146.1 MB / 0.6898 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.9245, allocations: 442.3 kB / 0.6902 GB, free: 11.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.865e-06/0.9245, allocations: 0 / 0.6902 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.004035/0.9285, allocations: 1.128 MB / 0.6913 GB, free: 10.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.9287, allocations: 375.8 kB / 0.6917 GB, free: 9.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.9289, allocations: 182.8 kB / 0.6919 GB, free: 9.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.929, allocations: 33.7 kB / 0.6919 GB, free: 9.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.9291, allocations: 186.2 kB / 0.6921 GB, free: 9.168 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.9292, allocations: 115.3 kB / 0.6922 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.9294, allocations: 126.1 kB / 0.6923 GB, free: 8.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9295, allocations: 330.8 kB / 0.6926 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.9297, allocations: 81.06 kB / 0.6927 GB, free: 8.516 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.9301, allocations: 354.7 kB / 0.693 GB, free: 8.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.9308, allocations: 484.8 kB / 0.6935 GB, free: 7.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.9308, allocations: 4 kB / 0.6935 GB, free: 7.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001051/0.9319, allocations: 467.5 kB / 0.6939 GB, free: 6.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.9319, allocations: 19.92 kB / 0.694 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.932, allocations: 8 kB / 0.694 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.932, allocations: 12 kB / 0.694 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.9336, allocations: 215.6 kB / 0.6942 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007352/0.9343, allocations: 1.189 MB / 0.6953 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.9347, allocations: 19.84 kB / 0.6954 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.9348, allocations: 47.97 kB / 0.6954 GB, free: 5.43 MB / 0.545 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.0001974/0.935, allocations: 153.7 kB / 0.6956 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.9351, allocations: 32 kB / 0.6956 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.9382, allocations: 2.837 MB / 0.6984 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/0.9383, allocations: 23.97 kB / 0.6984 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9383, allocations: 4.375 kB / 0.6984 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.9383, allocations: 14.56 kB / 0.6984 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.9393, allocations: 0.9579 MB / 0.6993 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9394, allocations: 4 kB / 0.6993 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.9399, allocations: 104.3 kB / 0.6994 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.9402, allocations: 154.8 kB / 0.6996 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.9402, allocations: 12 kB / 0.6996 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004159/0.9406, allocations: 0.648 MB / 0.7002 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.9407, allocations: 4 kB / 0.7002 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.9421, allocations: 0.9825 MB / 0.7012 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.9423, allocations: 129.3 kB / 0.7013 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.9425, allocations: 90.72 kB / 0.7014 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.9428, allocations: 15.98 kB / 0.7014 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.9429, allocations: 35.78 kB / 0.7015 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.9429, allocations: 19.98 kB / 0.7015 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000641/0.9436, allocations: 475 kB / 0.7019 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9436, allocations: 0 / 0.7019 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006188/0.9498, allocations: 1.624 MB / 0.7035 GB, free: 12.96 MB / 0.5606 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.01046/0.9603, allocations: 1.874 MB / 0.7053 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.9625, allocations: 0.5475 MB / 0.7059 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.9626, allocations: 4 kB / 0.7059 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.9632, allocations: 374.2 kB / 0.7062 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9643, allocations: 126.2 kB / 0.7064 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9014/1.866, allocations: 348.5 MB / 1.047 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.866, allocations: 0.982 MB / 1.048 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007246/1.867, allocations: 0.5039 MB / 1.048 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/1.867, allocations: 55.41 kB / 1.048 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.61e-07/1.867, allocations: 0 / 1.048 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.3045/2.171, allocations: 58.78 MB / 1.106 GB, free: 219.7 MB / 0.5606 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