Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 115.6 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 202.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001912/0.001912, allocations: 67.89 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2386, allocations: 50.54 MB / 410.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01719/0.2558, allocations: 13.04 MB / 423.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.2702, allocations: 11.57 MB / 434.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2703, allocations: 3.938 kB / 434.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.2706, allocations: 71.61 kB / 434.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.2709, allocations: 87.38 kB / 434.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.2833, allocations: 5.081 MB / 440 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.2837, allocations: 230.9 kB / 440.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.2837, allocations: 9.438 kB / 440.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.2841, allocations: 199.3 kB / 440.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.2843, allocations: 71.7 kB / 440.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2843, allocations: 8 kB / 440.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.2966, allocations: 7 MB / 447.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.2967, allocations: 27.91 kB / 447.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2968, allocations: 67.72 kB / 447.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006995/0.3038, allocations: 3.89 MB / 451.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3038, allocations: 0 / 451.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3038, allocations: 0 / 451.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3038, allocations: 4 kB / 451.5 MB, free: 8.145 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004659/0.3084, allocations: 1.167 MB / 452.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3085, allocations: 12.03 kB / 452.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.309, allocations: 48.84 kB / 452.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.3093, allocations: 220.1 kB / 453 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.3093, allocations: 16.66 kB / 453 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.3094, allocations: 12.38 kB / 453 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3107, allocations: 388.8 kB / 453.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3107, allocations: 0 / 453.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.3108, allocations: 4 kB / 453.4 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3108, allocations: 15.97 kB / 453.4 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.3123, allocations: 360.2 kB / 453.7 MB, free: 5.805 MB / 366.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.001524/0.3138, allocations: 1.176 MB / 454.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.3147, allocations: 284.8 kB / 455.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.315, allocations: 110.9 kB / 455.3 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1102/0.4253, allocations: 52.81 MB / 0.4962 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.4253, allocations: 38.56 kB / 0.4962 GB, free: 8.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.4253, allocations: 0 / 0.4962 GB, free: 8.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.006975/0.4323, allocations: 1.579 MB / 0.4978 GB, free: 6.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.4324, allocations: 106.8 kB / 0.4979 GB, free: 6.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4325, allocations: 125.7 kB / 0.498 GB, free: 6.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.4325, allocations: 29.7 kB / 0.498 GB, free: 6.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.4326, allocations: 108.7 kB / 0.4981 GB, free: 6.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4327, allocations: 126.9 kB / 0.4983 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.4328, allocations: 65.69 kB / 0.4983 GB, free: 6.352 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.433, allocations: 322.8 kB / 0.4986 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.4334, allocations: 139.7 kB / 0.4988 GB, free: 5.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.4338, allocations: 198.8 kB / 0.4989 GB, free: 5.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008549/0.4347, allocations: 354.5 kB / 0.4993 GB, free: 5.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4347, allocations: 0 / 0.4993 GB, free: 5.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001119/0.4358, allocations: 430 kB / 0.4997 GB, free: 4.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4358, allocations: 8 kB / 0.4997 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4358, allocations: 0 / 0.4997 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.4361, allocations: 36.83 kB / 0.4997 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.4366, allocations: 92.03 kB / 0.4998 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.437, allocations: 0.5445 MB / 0.5004 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.4373, allocations: 27.97 kB / 0.5004 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.4373, allocations: 12 kB / 0.5004 GB, free: 4.125 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001639/0.4375, allocations: 149.7 kB / 0.5005 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4376, allocations: 15.91 kB / 0.5006 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.4399, allocations: 1.447 MB / 0.502 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.4399, allocations: 19.97 kB / 0.502 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4399, allocations: 0 / 0.502 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4399, allocations: 8.016 kB / 0.502 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.443, allocations: 1.979 MB / 0.5039 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.443, allocations: 0 / 0.5039 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.4435, allocations: 83.86 kB / 0.504 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.4438, allocations: 72.92 kB / 0.5041 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.4438, allocations: 11.98 kB / 0.5041 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004353/0.4442, allocations: 0.5914 MB / 0.5047 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4443, allocations: 4.031 kB / 0.5047 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.4467, allocations: 1.69 MB / 0.5063 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.4467, allocations: 128.8 kB / 0.5064 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.4468, allocations: 15.98 kB / 0.5065 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.4472, allocations: 28.23 kB / 0.5065 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.4472, allocations: 31.95 kB / 0.5065 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.4473, allocations: 15.98 kB / 0.5065 GB, free: 13.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.901e-05/0.4473, allocations: 95.2 kB / 0.5066 GB, free: 13.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4473, allocations: 0 / 0.5066 GB, free: 13.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002651/0.45, allocations: 0.9708 MB / 0.5076 GB, free: 12.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00377/0.4538, allocations: 1.149 MB / 0.5087 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.4552, allocations: 0.5972 MB / 0.5093 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4552, allocations: 0 / 0.5093 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008085/0.456, allocations: 448.7 kB / 0.5097 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.4568, allocations: 79.17 kB / 0.5098 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.4593, allocations: 1.325 MB / 0.5111 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.4598, allocations: 0.8178 MB / 0.5119 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003515/0.4601, allocations: 137.7 kB / 0.512 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4603, allocations: 39.41 kB / 0.512 GB, free: 7.949 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4603, allocations: 0 / 0.512 GB, free: 7.949 MB / 446.1 MB Notification: Performance of Templates: time 0.235/0.6953, allocations: 36.34 MB / 0.5475 GB, free: 129.4 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches