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.001278/0.001278, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2031, allocations: 50.55 MB / 409.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01421/0.2173, allocations: 13 MB / 422.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.2294, allocations: 11.55 MB / 434.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.2295, allocations: 4 kB / 434.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.2297, allocations: 67.56 kB / 434.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.23, allocations: 83.42 kB / 434.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009948/0.24, allocations: 5.082 MB / 439.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.2402, allocations: 231 kB / 439.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.2403, allocations: 13.44 kB / 439.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.2407, allocations: 191.3 kB / 440.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2408, allocations: 83.61 kB / 440.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.2408, allocations: 12 kB / 440.2 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.251, allocations: 6.978 MB / 447.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.2511, allocations: 39.83 kB / 447.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.2511, allocations: 67.73 kB / 447.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.2558, allocations: 3.868 MB / 451.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2558, allocations: 0 / 451.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2558, allocations: 0 / 451.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2558, allocations: 4 kB / 451.2 MB, free: 8.395 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.004174/0.26, allocations: 1.151 MB / 452.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2601, allocations: 8.031 kB / 452.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/0.2605, allocations: 56.7 kB / 452.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.2608, allocations: 220.1 kB / 452.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2609, allocations: 12.66 kB / 452.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.2609, allocations: 20.28 kB / 452.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.2622, allocations: 388.8 kB / 453 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2622, allocations: 3.938 kB / 453 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.2622, allocations: 8 kB / 453 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2622, allocations: 4 kB / 453 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2637, allocations: 355.6 kB / 453.4 MB, free: 6.074 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.00129/0.265, allocations: 1.195 MB / 454.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.2658, allocations: 279.8 kB / 454.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.2661, allocations: 114.9 kB / 455 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09608/0.3622, allocations: 52.79 MB / 0.4958 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3623, allocations: 38.5 kB / 0.4959 GB, free: 8.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 2.304e-06/0.3623, allocations: 4 kB / 0.4959 GB, free: 8.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.006965/0.3692, allocations: 1.579 MB / 0.4974 GB, free: 7.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3693, allocations: 110.9 kB / 0.4975 GB, free: 7.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.3694, allocations: 121.8 kB / 0.4976 GB, free: 6.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.3694, allocations: 29.7 kB / 0.4977 GB, free: 6.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.3695, allocations: 104.5 kB / 0.4978 GB, free: 6.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.3696, allocations: 118.4 kB / 0.4979 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3697, allocations: 69.59 kB / 0.498 GB, free: 6.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3698, allocations: 326.8 kB / 0.4983 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.3702, allocations: 139.7 kB / 0.4984 GB, free: 6.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.3707, allocations: 198.7 kB / 0.4986 GB, free: 5.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/0.3715, allocations: 346.5 kB / 0.4989 GB, free: 5.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3715, allocations: 3.938 kB / 0.4989 GB, free: 5.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001068/0.3726, allocations: 422 kB / 0.4993 GB, free: 5.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3726, allocations: 8 kB / 0.4993 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3726, allocations: 384 / 0.4993 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.3728, allocations: 48.92 kB / 0.4994 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.3734, allocations: 87.88 kB / 0.4995 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003506/0.3737, allocations: 0.5484 MB / 0.5 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.374, allocations: 32 kB / 0.5 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.3741, allocations: 16 kB / 0.5 GB, free: 4.398 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.0001387/0.3742, allocations: 145.6 kB / 0.5002 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.3743, allocations: 11.91 kB / 0.5002 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3764, allocations: 1.443 MB / 0.5016 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3764, allocations: 3.938 kB / 0.5016 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3764, allocations: 0 / 0.5016 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.3765, allocations: 128.4 kB / 0.5017 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.3765, allocations: 12 kB / 0.5017 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.377, allocations: 23.97 kB / 0.5018 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.377, allocations: 27.83 kB / 0.5018 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001953/0.379, allocations: 1.212 MB / 0.503 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002144/0.3811, allocations: 1.691 MB / 0.5046 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006414/0.3818, allocations: 470.3 kB / 0.5051 GB, free: 15.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.303e-05/0.3819, allocations: 91.27 kB / 0.5052 GB, free: 15.08 MB / 446.1 MB Notification: Performance of Backend: time 5.01e-07/0.3819, allocations: 0 / 0.5052 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005478/0.3874, allocations: 1.562 MB / 0.5067 GB, free: 13.52 MB / 446.1 MB Notification: Performance of SimCode: time 0.001221/0.3886, allocations: 1.208 MB / 0.5079 GB, free: 12.26 MB / 446.1 MB Notification: Performance of Templates: time 0.1949/0.5835, allocations: 39.19 MB / 0.5461 GB, free: 131.8 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