Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2131, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01474/0.2279, allocations: 13.01 MB / 422.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.2407, allocations: 11.55 MB / 434.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.2408, allocations: 0 / 434.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.2411, allocations: 67.56 kB / 434.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.2413, allocations: 91.42 kB / 434.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.2518, allocations: 5.078 MB / 439.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.2521, allocations: 234.9 kB / 439.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.2522, allocations: 13.44 kB / 439.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.2526, allocations: 195.3 kB / 440.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2527, allocations: 79.67 kB / 440.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.2527, allocations: 8 kB / 440.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.2632, allocations: 6.993 MB / 447.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.2632, allocations: 27.91 kB / 447.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.2633, allocations: 63.73 kB / 447.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.2679, allocations: 3.882 MB / 451.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2679, allocations: 0 / 451.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.268, allocations: 0 / 451.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.268, allocations: 0 / 451.2 MB, free: 8.23 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.003919/0.2719, allocations: 1.182 MB / 452.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2719, allocations: 12.03 kB / 452.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.2724, allocations: 44.84 kB / 452.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.2727, allocations: 228.2 kB / 452.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2727, allocations: 16.59 kB / 452.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.2727, allocations: 16.38 kB / 452.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.274, allocations: 380.8 kB / 453 MB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.274, allocations: 8 kB / 453.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.274, allocations: 4 kB / 453.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.274, allocations: 4 kB / 453.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2755, allocations: 359.5 kB / 453.4 MB, free: 5.879 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.001258/0.2767, allocations: 1.184 MB / 454.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.2775, allocations: 275.8 kB / 454.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.2778, allocations: 114.5 kB / 455 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09269/0.3705, allocations: 52.81 MB / 0.4959 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3706, allocations: 42.55 kB / 0.4959 GB, free: 8.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.3706, allocations: 0 / 0.4959 GB, free: 8.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.00678/0.3774, allocations: 1.576 MB / 0.4975 GB, free: 7.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3775, allocations: 106.8 kB / 0.4976 GB, free: 6.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.3775, allocations: 125.7 kB / 0.4977 GB, free: 6.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.3776, allocations: 29.7 kB / 0.4977 GB, free: 6.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.3777, allocations: 108.5 kB / 0.4978 GB, free: 6.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.3778, allocations: 123 kB / 0.4979 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3779, allocations: 69.69 kB / 0.498 GB, free: 6.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.378, allocations: 326.8 kB / 0.4983 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.3784, allocations: 135.7 kB / 0.4985 GB, free: 5.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.3788, allocations: 198.8 kB / 0.4986 GB, free: 5.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.3796, allocations: 346.5 kB / 0.499 GB, free: 5.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3796, allocations: 11.94 kB / 0.499 GB, free: 5.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00106/0.3807, allocations: 426 kB / 0.4994 GB, free: 4.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3807, allocations: 11.94 kB / 0.4994 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3807, allocations: 0 / 0.4994 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.381, allocations: 32.84 kB / 0.4994 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.3815, allocations: 87.88 kB / 0.4995 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003484/0.3818, allocations: 0.5486 MB / 0.5001 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.3821, allocations: 31.89 kB / 0.5001 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.3822, allocations: 15.98 kB / 0.5001 GB, free: 4.195 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.0001302/0.3823, allocations: 137.8 kB / 0.5002 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.3824, allocations: 15.91 kB / 0.5002 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.3844, allocations: 1.439 MB / 0.5016 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3845, allocations: 11.92 kB / 0.5017 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3845, allocations: 0 / 0.5017 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.3845, allocations: 124.6 kB / 0.5018 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.3846, allocations: 8 kB / 0.5018 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.385, allocations: 32 kB / 0.5018 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.3851, allocations: 35.81 kB / 0.5019 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001914/0.387, allocations: 1.204 MB / 0.503 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002106/0.3891, allocations: 1.695 MB / 0.5047 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006457/0.3898, allocations: 478.3 kB / 0.5051 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.604e-05/0.3898, allocations: 95.58 kB / 0.5052 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Backend: time 3.5e-07/0.3898, allocations: 0 / 0.5052 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005299/0.3951, allocations: 1.557 MB / 0.5068 GB, free: 13.3 MB / 446.1 MB Notification: Performance of SimCode: time 0.001196/0.3964, allocations: 1.236 MB / 0.508 GB, free: 12.02 MB / 446.1 MB Notification: Performance of Templates: time 0.1824/0.5788, allocations: 39.2 MB / 0.5462 GB, free: 131.2 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches