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.001326/0.001326, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001464/0.001464, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.505/1.505, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.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.2206/0.2206, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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 3.928e-06/3.928e-06, allocations: 4 kB / 442.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.862e-05, allocations: 2.281 kB / 442.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.2163/0.2164, allocations: 12.7 MB / 455.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02749/0.2438, allocations: 23.37 MB / 478.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2441, allocations: 1.156 kB / 478.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.2445, allocations: 84.11 kB / 478.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0335/0.278, allocations: 8.647 MB / 487.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2793, allocations: 355 kB / 487.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005486/0.2848, allocations: 2.032 MB / 489.9 MB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.2849, allocations: 9.938 kB / 489.9 MB, free: 6.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000658/0.2855, allocations: 305.2 kB / 490.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008546/0.2941, allocations: 3.263 MB / 493.5 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.2942, allocations: 8 kB / 493.5 MB, free: 3.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02863/0.3228, allocations: 11.1 MB / 0.4927 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.323, allocations: 47.77 kB / 0.4928 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.3233, allocations: 103.8 kB / 0.4929 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0259/0.3492, allocations: 8.575 MB / 0.5013 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3492, allocations: 0 / 0.5013 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3492, allocations: 0 / 0.5013 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3492, allocations: 0 / 0.5013 GB, free: 15.5 MB / 414.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.006313/0.3555, allocations: 1.583 MB / 0.5028 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.631e-05/0.3556, allocations: 16.02 kB / 0.5028 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.3573, allocations: 184.6 kB / 0.503 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3578, allocations: 213.3 kB / 0.5032 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.3578, allocations: 21.03 kB / 0.5032 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.3579, allocations: 32.38 kB / 0.5033 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.3602, allocations: 0.8075 MB / 0.504 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3602, allocations: 7.938 kB / 0.504 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.3603, allocations: 23.92 kB / 0.5041 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3603, allocations: 8 kB / 0.5041 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.3626, allocations: 0.8102 MB / 0.5049 GB, free: 11.68 MB / 414.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.003429/0.366, allocations: 2.081 MB / 0.5069 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.3673, allocations: 338.3 kB / 0.5072 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3675, allocations: 60.83 kB / 0.5073 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4036/0.771, allocations: 99.95 MB / 0.6049 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.7725, allocations: 446.2 kB / 0.6053 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.7725, allocations: 0 / 0.6053 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.004272/0.7768, allocations: 1.136 MB / 0.6064 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000241/0.777, allocations: 383.7 kB / 0.6068 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.7772, allocations: 194.2 kB / 0.607 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.7773, allocations: 29.7 kB / 0.607 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.7774, allocations: 193.3 kB / 0.6072 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.7775, allocations: 119 kB / 0.6073 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.7777, allocations: 122.1 kB / 0.6074 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7779, allocations: 334.8 kB / 0.6077 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.778, allocations: 72.94 kB / 0.6078 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.7785, allocations: 360.8 kB / 0.6081 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.7791, allocations: 479.5 kB / 0.6086 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7791, allocations: 0 / 0.6086 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009549/0.7801, allocations: 477.4 kB / 0.6091 GB, free: 316 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.7801, allocations: 8 kB / 0.6091 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.7801, allocations: 8 kB / 0.6091 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.7802, allocations: 12 kB / 0.6091 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.7819, allocations: 207.7 kB / 0.6093 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008491/0.7827, allocations: 1.188 MB / 0.6104 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.7831, allocations: 31.98 kB / 0.6105 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.7832, allocations: 43.97 kB / 0.6105 GB, free: 14.77 MB / 0.5137 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.0002578/0.7834, allocations: 163.7 kB / 0.6107 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.7835, allocations: 27.89 kB / 0.6107 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.787, allocations: 3.062 MB / 0.6137 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.7871, allocations: 19.97 kB / 0.6137 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.7871, allocations: 4 kB / 0.6137 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.7871, allocations: 4 kB / 0.6137 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.7882, allocations: 0.8829 MB / 0.6146 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7882, allocations: 7.938 kB / 0.6146 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.7888, allocations: 97.22 kB / 0.6147 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.7891, allocations: 172.9 kB / 0.6148 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.7891, allocations: 12 kB / 0.6149 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004592/0.7895, allocations: 0.641 MB / 0.6155 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.7896, allocations: 11.92 kB / 0.6155 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.7909, allocations: 0.9946 MB / 0.6165 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.791, allocations: 51.53 kB / 0.6165 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.7911, allocations: 96.12 kB / 0.6166 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.7914, allocations: 24.03 kB / 0.6166 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.7915, allocations: 31.89 kB / 0.6167 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.7915, allocations: 19.98 kB / 0.6167 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006048/0.7921, allocations: 471 kB / 0.6171 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7921, allocations: 0 / 0.6171 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005668/0.7978, allocations: 1.637 MB / 0.6187 GB, free: 6.219 MB / 0.5137 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.007047/0.8048, allocations: 2.125 MB / 0.6208 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.8065, allocations: 0.5397 MB / 0.6213 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8065, allocations: 0 / 0.6213 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004631/0.807, allocations: 306 kB / 0.6216 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.8079, allocations: 128 kB / 0.6217 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8631/1.671, allocations: 348.6 MB / 0.9622 GB, free: 104.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/1.671, allocations: 392 kB / 0.9626 GB, free: 104.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006534/1.672, allocations: 0.5057 MB / 0.9631 GB, free: 103.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.672, allocations: 60.47 kB / 0.9631 GB, free: 103.6 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/1.672, allocations: 0 / 0.9631 GB, free: 103.6 MB / 0.545 GB Notification: Performance of Templates: time 0.06111/1.733, allocations: 58.85 MB / 1.021 GB, free: 44.94 MB / 0.545 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: 10.680732272565365]