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.001602/0.001602, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.11 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 75.69 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 62.45 MB / 480.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0244/0.1335, allocations: 13.92 MB / 494.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2342/0.3677, allocations: 26.58 MB / 0.509 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.368, allocations: 7.375 kB / 0.509 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.3685, allocations: 95.34 kB / 0.5091 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02758/0.3961, allocations: 8.55 MB / 0.5174 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.3976, allocations: 346.4 kB / 0.5178 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00636/0.4039, allocations: 2.001 MB / 0.5197 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.4041, allocations: 15.41 kB / 0.5197 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.4048, allocations: 267.3 kB / 0.52 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009848/0.4147, allocations: 3.26 MB / 0.5232 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.4148, allocations: 9.594 kB / 0.5232 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02965/0.4444, allocations: 11.34 MB / 0.5343 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.4446, allocations: 48.03 kB / 0.5343 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.4449, allocations: 135.6 kB / 0.5344 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.4609, allocations: 6.77 MB / 0.541 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.461, allocations: 1.562 kB / 0.541 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.461, allocations: 0 / 0.541 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.461, allocations: 0 / 0.541 GB, free: 1.07 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.004962/0.466, allocations: 1.628 MB / 0.5426 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.466, allocations: 8.031 kB / 0.5426 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.4676, allocations: 184.5 kB / 0.5428 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.468, allocations: 274.5 kB / 0.5431 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.4681, allocations: 21.03 kB / 0.5431 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.4681, allocations: 32.38 kB / 0.5431 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.4704, allocations: 0.7603 MB / 0.5439 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4704, allocations: 7.875 kB / 0.5439 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.4704, allocations: 12 kB / 0.5439 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.4705, allocations: 8 kB / 0.5439 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.4726, allocations: 0.8176 MB / 0.5447 GB, free: 13.28 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.00353/0.4762, allocations: 2.705 MB / 0.5473 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.4775, allocations: 347 kB / 0.5477 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4776, allocations: 72.83 kB / 0.5477 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3807/0.8583, allocations: 146.1 MB / 0.6904 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.8597, allocations: 438.3 kB / 0.6908 GB, free: 11.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 5.771e-06/0.8597, allocations: 0.6094 kB / 0.6908 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.004125/0.8638, allocations: 1.129 MB / 0.6919 GB, free: 10.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.864, allocations: 375.8 kB / 0.6923 GB, free: 9.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.8642, allocations: 182.8 kB / 0.6925 GB, free: 9.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.8642, allocations: 33.7 kB / 0.6925 GB, free: 9.395 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.8644, allocations: 187 kB / 0.6927 GB, free: 9.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.8645, allocations: 117 kB / 0.6928 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.8647, allocations: 122.1 kB / 0.6929 GB, free: 8.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8648, allocations: 326.8 kB / 0.6932 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.865, allocations: 84.5 kB / 0.6933 GB, free: 8.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.8653, allocations: 350.9 kB / 0.6936 GB, free: 8.094 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.8659, allocations: 480.8 kB / 0.6941 GB, free: 7.496 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.866, allocations: 4 kB / 0.6941 GB, free: 7.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009009/0.8669, allocations: 472.4 kB / 0.6945 GB, free: 7.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.8669, allocations: 15.94 kB / 0.6945 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.8669, allocations: 8 kB / 0.6946 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.8669, allocations: 14.72 kB / 0.6946 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.8685, allocations: 216.3 kB / 0.6948 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006047/0.8692, allocations: 1.184 MB / 0.6959 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.8695, allocations: 31.59 kB / 0.696 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.8696, allocations: 43.97 kB / 0.696 GB, free: 5.48 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.000219/0.8698, allocations: 161.8 kB / 0.6962 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.8699, allocations: 27.8 kB / 0.6962 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.8729, allocations: 2.839 MB / 0.699 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.8729, allocations: 23.97 kB / 0.699 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.873, allocations: 4.938 kB / 0.699 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.873, allocations: 4 kB / 0.699 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.874, allocations: 0.9611 MB / 0.6999 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.874, allocations: 4 kB / 0.6999 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.8746, allocations: 100.3 kB / 0.7 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.8748, allocations: 161.1 kB / 0.7002 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.8748, allocations: 15.98 kB / 0.7002 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000401/0.8752, allocations: 0.6433 MB / 0.7008 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8753, allocations: 4 kB / 0.7008 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.8765, allocations: 0.9779 MB / 0.7018 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.8766, allocations: 133.9 kB / 0.7019 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.8768, allocations: 90.72 kB / 0.702 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.8771, allocations: 19.98 kB / 0.702 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.8772, allocations: 43.77 kB / 0.7021 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.8772, allocations: 12 kB / 0.7021 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000534/0.8778, allocations: 475 kB / 0.7025 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8778, allocations: 0 / 0.7025 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004637/0.8824, allocations: 1.612 MB / 0.7041 GB, free: 13.01 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.008707/0.8911, allocations: 1.871 MB / 0.7059 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.893, allocations: 0.5469 MB / 0.7065 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.893, allocations: 0 / 0.7065 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.8936, allocations: 378.2 kB / 0.7068 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.8945, allocations: 148.2 kB / 0.707 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8065/1.701, 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.0003054/1.701, allocations: 0.9859 MB / 1.048 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/1.702, allocations: 59.41 kB / 1.048 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/1.702, allocations: 0 / 1.048 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04433/1.746, allocations: 37.85 MB / 1.085 GB, free: 66.05 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/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