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.00147/0.00147, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001511/0.001511, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.547/1.547, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3437/0.3437, allocations: 34.24 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] 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 1.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.52e-05, allocations: 2.312 kB / 377.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01943/0.01945, allocations: 12.71 MB / 390 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03689/0.05635, allocations: 23.37 MB / 413.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.05659, allocations: 0 / 413.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.05709, allocations: 91.3 kB / 413.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02609/0.08317, allocations: 8.614 MB / 422 MB, free: 5.902 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.08425, allocations: 346.7 kB / 422.4 MB, free: 5.562 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.08885, allocations: 2.021 MB / 424.4 MB, free: 3.516 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.08891, allocations: 24.58 kB / 424.4 MB, free: 3.496 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.08952, allocations: 310.8 kB / 424.7 MB, free: 3.191 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007389/0.09691, allocations: 3.255 MB / 428 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.09696, allocations: 12 kB / 428 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02317/0.1201, allocations: 11.11 MB / 439.1 MB, free: 4.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1203, allocations: 43.77 kB / 439.1 MB, free: 4.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.1205, allocations: 111.8 kB / 439.2 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.192/0.3125, allocations: 8.579 MB / 447.8 MB, free: 65.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3125, allocations: 0 / 447.8 MB, free: 65.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3125, allocations: 0 / 447.8 MB, free: 65.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3125, allocations: 0 / 447.8 MB, free: 65.67 MB / 410.7 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.004956/0.3175, allocations: 1.578 MB / 449.4 MB, free: 64.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3175, allocations: 10.84 kB / 449.4 MB, free: 64.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.319, allocations: 313 kB / 449.7 MB, free: 64.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.3194, allocations: 207.6 kB / 449.9 MB, free: 64.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3194, allocations: 22.31 kB / 449.9 MB, free: 64.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.3195, allocations: 34.38 kB / 450 MB, free: 64.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.3214, allocations: 0.8107 MB / 450.8 MB, free: 64.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3214, allocations: 5.688 kB / 450.8 MB, free: 64.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.3214, allocations: 14.53 kB / 450.8 MB, free: 64.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3214, allocations: 8.625 kB / 450.8 MB, free: 64.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3233, allocations: 0.81 MB / 451.6 MB, free: 64.45 MB / 410.7 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.00255/0.3258, allocations: 2.087 MB / 453.7 MB, free: 63.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.327, allocations: 343 kB / 454.1 MB, free: 63.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3271, allocations: 70.89 kB / 454.1 MB, free: 63.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3265/0.6536, allocations: 100.1 MB / 0.5412 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.6548, allocations: 453 kB / 0.5417 GB, free: 1.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/0.6548, allocations: 0 / 0.5417 GB, free: 1.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.003726/0.6585, allocations: 1.194 MB / 0.5428 GB, free: 444 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6586, allocations: 376.7 kB / 0.5432 GB, free: 15.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.6589, allocations: 199.5 kB / 0.5434 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.6589, allocations: 31.2 kB / 0.5434 GB, free: 15.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.6591, allocations: 194 kB / 0.5436 GB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.6592, allocations: 114.4 kB / 0.5437 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.6594, allocations: 128 kB / 0.5438 GB, free: 15.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.6596, allocations: 331.9 kB / 0.5441 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.6598, allocations: 76.58 kB / 0.5442 GB, free: 15.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.6603, allocations: 346.4 kB / 0.5445 GB, free: 14.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.661, allocations: 487.2 kB / 0.545 GB, free: 14.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.661, allocations: 4 kB / 0.545 GB, free: 14.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009913/0.662, allocations: 490.5 kB / 0.5455 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.6621, allocations: 16 kB / 0.5455 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.6621, allocations: 8 kB / 0.5455 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.6621, allocations: 12 kB / 0.5455 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.6638, allocations: 211.1 kB / 0.5457 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/0.6647, allocations: 1.18 MB / 0.5469 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.665, allocations: 30.88 kB / 0.5469 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.6651, allocations: 43.23 kB / 0.5469 GB, free: 12.3 MB / 426.7 MB 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.0002286/0.6653, allocations: 171.1 kB / 0.5471 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.6654, allocations: 36.78 kB / 0.5471 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.6694, allocations: 3.065 MB / 0.5501 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.6694, allocations: 19.97 kB / 0.5502 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6695, allocations: 4 kB / 0.5502 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6695, allocations: 4 kB / 0.5502 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.6707, allocations: 0.881 MB / 0.551 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.6707, allocations: 7.938 kB / 0.551 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.6714, allocations: 95.77 kB / 0.5511 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.6717, allocations: 172.2 kB / 0.5513 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.6717, allocations: 8 kB / 0.5513 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005854/0.6723, allocations: 0.6555 MB / 0.5519 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6723, allocations: 4 kB / 0.5519 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.6738, allocations: 0.9932 MB / 0.5529 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.6739, allocations: 55.53 kB / 0.553 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.6741, allocations: 103.1 kB / 0.5531 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.6744, allocations: 15.98 kB / 0.5531 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.6745, allocations: 39.06 kB / 0.5531 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.6745, allocations: 20.09 kB / 0.5531 GB, free: 5.949 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006836/0.6752, allocations: 471 kB / 0.5536 GB, free: 5.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6752, allocations: 0 / 0.5536 GB, free: 5.488 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006033/0.6812, allocations: 1.633 MB / 0.5552 GB, free: 3.852 MB / 426.7 MB 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.01033/0.6916, allocations: 2.122 MB / 0.5572 GB, free: 1.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.6935, allocations: 0.5359 MB / 0.5578 GB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/0.6935, allocations: 0 / 0.5578 GB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.694, allocations: 303.2 kB / 0.5581 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.6951, allocations: 218 kB / 0.5583 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.832/1.527, allocations: 348.7 MB / 0.8988 GB, free: 90.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/1.527, allocations: 395.9 kB / 0.8991 GB, free: 90.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006609/1.528, allocations: 0.5014 MB / 0.8996 GB, free: 89.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/1.528, allocations: 56.47 kB / 0.8997 GB, free: 89.49 MB / 474.7 MB Notification: Performance of SimCode: time 2.485e-06/1.528, allocations: 0 / 0.8997 GB, free: 89.49 MB / 474.7 MB Notification: Performance of Templates: time 0.05962/1.588, allocations: 59.13 MB / 0.9574 GB, free: 30.57 MB / 474.7 MB " [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: 10.814046418992803]