Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 109.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 51.92 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1016, allocations: 46.62 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.2109/0.3126, allocations: 12.92 MB / 388.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.325, allocations: 11.53 MB / 400.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.3252, allocations: 9.156 kB / 400.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.3256, allocations: 71.7 kB / 400.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.326, allocations: 81.67 kB / 400.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01905/0.3451, allocations: 5.059 MB / 405.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.3456, allocations: 232.4 kB / 405.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.3456, allocations: 20.52 kB / 405.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.3461, allocations: 195.8 kB / 405.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.3463, allocations: 67.27 kB / 406 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3463, allocations: 11.81 kB / 406 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01701/0.3633, allocations: 6.992 MB / 413 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3635, allocations: 29.77 kB / 413 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3637, allocations: 71.98 kB / 413.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.377, allocations: 3.859 MB / 416.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3771, allocations: 0 / 416.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.3771, allocations: 1.812 kB / 416.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3771, allocations: 0 / 416.9 MB, free: 5.434 MB / 334.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.006615/0.3837, allocations: 1.147 MB / 418.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3838, allocations: 9.656 kB / 418.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.3844, allocations: 51.33 kB / 418.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.3849, allocations: 220.3 kB / 418.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3849, allocations: 10.94 kB / 418.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.385, allocations: 20.73 kB / 418.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.3864, allocations: 381.7 kB / 418.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3864, allocations: 5.094 kB / 418.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.3865, allocations: 7 kB / 418.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3865, allocations: 3.406 kB / 418.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.388, allocations: 354.2 kB / 419.1 MB, free: 3.906 MB / 334.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.00172/0.3898, allocations: 1.198 MB / 420.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.3907, allocations: 277.8 kB / 420.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.391, allocations: 113.6 kB / 420.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1054/0.4964, allocations: 47.65 MB / 468.3 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.4964, allocations: 38.55 kB / 468.4 MB, free: 13.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/0.4965, allocations: 0 / 468.4 MB, free: 13.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007215/0.5037, allocations: 1.577 MB / 470 MB, free: 11.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.5038, allocations: 106.8 kB / 470.1 MB, free: 11.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.5039, allocations: 129.6 kB / 470.2 MB, free: 11.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.504, allocations: 33.7 kB / 470.2 MB, free: 11.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.504, allocations: 96.61 kB / 470.3 MB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5041, allocations: 118.3 kB / 470.4 MB, free: 11.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.5043, allocations: 69.69 kB / 470.5 MB, free: 11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5044, allocations: 330.8 kB / 470.8 MB, free: 10.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.5048, allocations: 127.9 kB / 470.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.5053, allocations: 202.5 kB / 471.1 MB, free: 10.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.5061, allocations: 346.6 kB / 471.5 MB, free: 9.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5061, allocations: 7.938 kB / 471.5 MB, free: 9.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001103/0.5072, allocations: 430 kB / 471.9 MB, free: 9.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5073, allocations: 4 kB / 471.9 MB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5073, allocations: 4 kB / 471.9 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.5076, allocations: 33.92 kB / 472 MB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.508, allocations: 91.88 kB / 472 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004557/0.5085, allocations: 0.5524 MB / 472.6 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.5088, allocations: 15.98 kB / 472.6 MB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.5089, allocations: 23.92 kB / 472.6 MB, free: 8.773 MB / 398.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.0001766/0.5091, allocations: 141.7 kB / 472.8 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5092, allocations: 19.81 kB / 472.8 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5114, allocations: 1.441 MB / 474.2 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.5114, allocations: 23.91 kB / 474.3 MB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5114, allocations: 0 / 474.3 MB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5115, allocations: 3.984 kB / 474.3 MB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.5145, allocations: 1.983 MB / 476.2 MB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5145, allocations: 2.031 kB / 476.2 MB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.515, allocations: 83.86 kB / 476.3 MB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.5153, allocations: 76.91 kB / 476.4 MB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.5154, allocations: 11.98 kB / 476.4 MB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003949/0.5158, allocations: 0.5835 MB / 477 MB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5158, allocations: 7.969 kB / 477 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.5181, allocations: 1.69 MB / 478.7 MB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.5182, allocations: 136.7 kB / 478.8 MB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.5183, allocations: 8 kB / 478.8 MB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.5187, allocations: 28.02 kB / 478.9 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.5188, allocations: 27.91 kB / 478.9 MB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.5188, allocations: 23.92 kB / 478.9 MB, free: 2.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.356e-05/0.5189, allocations: 91.27 kB / 479 MB, free: 2.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5189, allocations: 0 / 479 MB, free: 2.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003728/0.5226, allocations: 0.9566 MB / 480 MB, free: 1.277 MB / 398.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.006035/0.5287, allocations: 1.126 MB / 481.1 MB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.5304, allocations: 0.6124 MB / 481.7 MB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5304, allocations: 0 / 481.7 MB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008897/0.5313, allocations: 0.5052 MB / 482.2 MB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.5322, allocations: 84.94 kB / 482.3 MB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.5348, allocations: 1.324 MB / 483.6 MB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.5352, allocations: 0.8139 MB / 484.4 MB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5354, allocations: 39.41 kB / 484.5 MB, free: 12.69 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5354, allocations: 4 kB / 484.5 MB, free: 12.68 MB / 414.1 MB Notification: Performance of Templates: time 0.03426/0.5697, allocations: 21.78 MB / 0.4944 GB, free: 6.863 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches