Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001566/0.001566, allocations: 116.8 kB / 19.17 MB, free: 3.871 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.001739/0.001739, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.46/1.46, allocations: 230.3 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.225/0.225, allocations: 46.92 MB / 358.2 MB, free: 10.44 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 87.86 kB / 0.4926 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1352, allocations: 66 MB / 0.557 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0184/0.1536, allocations: 13.98 MB / 0.5707 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2771/0.4306, allocations: 26.67 MB / 0.5967 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.4308, allocations: 5.219 kB / 0.5967 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.4312, allocations: 93.8 kB / 0.5968 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02105/0.4522, allocations: 8.546 MB / 0.6052 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.4532, allocations: 345.5 kB / 0.6055 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004274/0.4575, allocations: 2.009 MB / 0.6074 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/0.4576, allocations: 13.06 kB / 0.6075 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.458, allocations: 262.2 kB / 0.6077 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.4639, allocations: 3.272 MB / 0.6109 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.4639, allocations: 10.25 kB / 0.6109 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0215/0.4854, allocations: 11.65 MB / 0.6223 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4855, allocations: 45.95 kB / 0.6223 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.4858, allocations: 141.5 kB / 0.6225 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.5025, allocations: 6.776 MB / 0.6291 GB, free: 12.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5026, allocations: 0 / 0.6291 GB, free: 12.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5026, allocations: 0 / 0.6291 GB, free: 12.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.5026, allocations: 0 / 0.6291 GB, free: 12.06 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.004979/0.5075, allocations: 1.673 MB / 0.6307 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5076, allocations: 10.16 kB / 0.6307 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.5091, allocations: 187.6 kB / 0.6309 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.5094, allocations: 275.4 kB / 0.6312 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.5095, allocations: 20.62 kB / 0.6312 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.5095, allocations: 34.72 kB / 0.6312 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.5116, allocations: 0.7569 MB / 0.632 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5116, allocations: 3.938 kB / 0.632 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.5117, allocations: 12.78 kB / 0.632 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5117, allocations: 8.75 kB / 0.632 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.5137, allocations: 0.8172 MB / 0.6328 GB, free: 9.598 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.003361/0.5171, allocations: 2.703 MB / 0.6354 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.5183, allocations: 341.4 kB / 0.6358 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.5184, allocations: 67.23 kB / 0.6358 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4062/0.9246, allocations: 147.9 MB / 0.7802 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.926, allocations: 441.3 kB / 0.7806 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.926, allocations: 4 kB / 0.7806 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.004064/0.9301, allocations: 1.145 MB / 0.7818 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/0.9303, allocations: 379.8 kB / 0.7821 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.9305, allocations: 198.4 kB / 0.7823 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.9305, allocations: 33.7 kB / 0.7824 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.9306, allocations: 186.7 kB / 0.7825 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.9308, allocations: 122 kB / 0.7826 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.9309, allocations: 122.2 kB / 0.7828 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9311, allocations: 330.8 kB / 0.7831 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.9313, allocations: 81.06 kB / 0.7832 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.9317, allocations: 343.4 kB / 0.7835 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.9324, allocations: 480.8 kB / 0.7839 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.9324, allocations: 4 kB / 0.7839 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00095/0.9333, allocations: 476 kB / 0.7844 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.9334, allocations: 19.97 kB / 0.7844 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.9334, allocations: 8 kB / 0.7844 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.9334, allocations: 12 kB / 0.7844 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.935, allocations: 211.6 kB / 0.7846 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007702/0.9358, allocations: 1.185 MB / 0.7858 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.9361, allocations: 23.94 kB / 0.7858 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.9362, allocations: 43.98 kB / 0.7859 GB, free: 1.078 MB / 0.6075 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.0002024/0.9364, allocations: 165.5 kB / 0.786 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.943e-05/0.9365, allocations: 23.91 kB / 0.786 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.9397, allocations: 2.815 MB / 0.7888 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.9397, allocations: 27.97 kB / 0.7888 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.9398, allocations: 4 kB / 0.7888 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9398, allocations: 4 kB / 0.7888 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.9409, allocations: 0.9738 MB / 0.7898 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9409, allocations: 0 / 0.7898 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.9415, allocations: 100.3 kB / 0.7899 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.9417, allocations: 154.8 kB / 0.79 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.9417, allocations: 19.92 kB / 0.79 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004608/0.9422, allocations: 0.6479 MB / 0.7907 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9422, allocations: 4 kB / 0.7907 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.9435, allocations: 0.9606 MB / 0.7916 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.9436, allocations: 136.6 kB / 0.7917 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.9438, allocations: 95.08 kB / 0.7918 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.9441, allocations: 20.27 kB / 0.7919 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.9441, allocations: 31.84 kB / 0.7919 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.9442, allocations: 16 kB / 0.7919 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006088/0.9448, allocations: 475 kB / 0.7924 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9448, allocations: 4 kB / 0.7924 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00496/0.9497, allocations: 1.633 MB / 0.7939 GB, free: 8.621 MB / 0.6231 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.007747/0.9575, allocations: 1.887 MB / 0.7958 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.9593, allocations: 0.5378 MB / 0.7963 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.9593, allocations: 1.688 kB / 0.7963 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.9597, allocations: 286.1 kB / 0.7966 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.9606, allocations: 132.1 kB / 0.7967 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9341/1.895, allocations: 348.7 MB / 1.137 GB, free: 214.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.895, allocations: 0.9859 MB / 1.138 GB, free: 213.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.895, allocations: 59.41 kB / 1.138 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.172e-06/1.895, allocations: 0 / 1.138 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.03736/1.932, allocations: 37.86 MB / 1.175 GB, free: 175.6 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 12.845935850011301]