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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 204.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 46.94 MB / 360.8 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 80.06 kB / 0.4967 GB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4029, allocations: 66.09 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.03075/0.4336, allocations: 12.71 MB / 0.5736 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05935/0.493, allocations: 23.37 MB / 0.5965 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.4935, allocations: 0 / 0.5965 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.4945, allocations: 87.42 kB / 0.5965 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03887/0.5333, allocations: 8.496 MB / 0.6048 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.5351, allocations: 353.5 kB / 0.6052 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006733/0.5419, allocations: 2.006 MB / 0.6071 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.542, allocations: 16.53 kB / 0.6072 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.5429, allocations: 258.9 kB / 0.6074 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.5532, allocations: 3.266 MB / 0.6106 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.5533, allocations: 8 kB / 0.6106 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02863/0.582, allocations: 11.08 MB / 0.6214 GB, free: 6.066 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.5822, allocations: 51.75 kB / 0.6215 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.5825, allocations: 119.5 kB / 0.6216 GB, free: 5.898 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02538/0.6079, allocations: 6.758 MB / 0.6282 GB, free: 15.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6079, allocations: 4 kB / 0.6282 GB, free: 15.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6079, allocations: 4 kB / 0.6282 GB, free: 15.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.6079, allocations: 0 / 0.6282 GB, free: 15.12 MB / 478.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.00572/0.6137, allocations: 1.583 MB / 0.6297 GB, free: 13.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6137, allocations: 12.03 kB / 0.6298 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.6154, allocations: 188.5 kB / 0.6299 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.6159, allocations: 214.1 kB / 0.6301 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.6159, allocations: 21.03 kB / 0.6302 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.616, allocations: 36.12 kB / 0.6302 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.6184, allocations: 0.8067 MB / 0.631 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6184, allocations: 0 / 0.631 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.6185, allocations: 20 kB / 0.631 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.6185, allocations: 8 kB / 0.631 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.6207, allocations: 0.8102 MB / 0.6318 GB, free: 11.3 MB / 478.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.003657/0.6244, allocations: 2.089 MB / 0.6338 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.6257, allocations: 344.9 kB / 0.6342 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.6258, allocations: 68.86 kB / 0.6342 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.391/1.017, allocations: 99.98 MB / 0.7319 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/1.018, allocations: 454.3 kB / 0.7323 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.138e-06/1.018, allocations: 0 / 0.7323 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004005/1.022, allocations: 1.138 MB / 0.7334 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/1.022, allocations: 379.8 kB / 0.7338 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/1.023, allocations: 198.1 kB / 0.734 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/1.023, allocations: 29.7 kB / 0.734 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.023, allocations: 196.1 kB / 0.7342 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.023, allocations: 115 kB / 0.7343 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/1.023, allocations: 122.1 kB / 0.7344 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.023, allocations: 334.8 kB / 0.7347 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/1.024, allocations: 77.22 kB / 0.7348 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/1.024, allocations: 352.9 kB / 0.7351 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/1.025, allocations: 475.5 kB / 0.7356 GB, free: 364 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.025, allocations: 4 kB / 0.7356 GB, free: 360 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.3804/1.405, allocations: 473.8 kB / 0.736 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/1.405, allocations: 12.66 kB / 0.7361 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/1.405, allocations: 9.875 kB / 0.7361 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.616e-05/1.406, allocations: 12.94 kB / 0.7361 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/1.407, allocations: 215 kB / 0.7363 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005415/1.408, allocations: 1.187 MB / 0.7374 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/1.408, allocations: 22.86 kB / 0.7375 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/1.408, allocations: 41.22 kB / 0.7375 GB, free: 167 MB / 0.5606 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.0002721/1.409, allocations: 162.8 kB / 0.7377 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.409, allocations: 29.78 kB / 0.7377 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/1.412, allocations: 3.055 MB / 0.7407 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/1.412, allocations: 24.36 kB / 0.7407 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.412, allocations: 6.844 kB / 0.7407 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/1.412, allocations: 4.719 kB / 0.7407 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/1.413, allocations: 0.8817 MB / 0.7416 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.413, allocations: 4.859 kB / 0.7416 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/1.414, allocations: 93.56 kB / 0.7417 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/1.414, allocations: 164.5 kB / 0.7418 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/1.414, allocations: 10.11 kB / 0.7418 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003021/1.415, allocations: 0.6579 MB / 0.7425 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.415, allocations: 3.938 kB / 0.7425 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.416, allocations: 0.9848 MB / 0.7434 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/1.416, allocations: 62.36 kB / 0.7435 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.416, allocations: 96.61 kB / 0.7436 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/1.416, allocations: 18.7 kB / 0.7436 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/1.416, allocations: 33.72 kB / 0.7436 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.416, allocations: 24.55 kB / 0.7437 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004821/1.417, allocations: 467.4 kB / 0.7441 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.417, allocations: 0 / 0.7441 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005056/1.422, allocations: 1.635 MB / 0.7457 GB, free: 163.7 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.007614/1.429, allocations: 1.889 MB / 0.7475 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.431, allocations: 0.5454 MB / 0.7481 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.431, allocations: 0 / 0.7481 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/1.431, allocations: 303.6 kB / 0.7484 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/1.432, allocations: 120.6 kB / 0.7485 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8118/2.244, allocations: 348.7 MB / 1.089 GB, free: 146.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/2.245, allocations: 397.2 kB / 1.089 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008912/2.245, allocations: 0.5008 MB / 1.09 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/2.246, allocations: 59.39 kB / 1.09 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.315e-06/2.246, allocations: 0 / 1.09 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.08395/2.33, allocations: 59.62 MB / 1.148 GB, free: 86.4 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.519448915496469]