Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 106.9 kB / 17.74 MB, free: 5.363 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.001095/0.001095, allocations: 192.5 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 47.92 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3051, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005721/0.3108, allocations: 4.48 MB / 405.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3127, allocations: 1.81 MB / 407.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.3128, allocations: 3.938 kB / 407.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.3131, allocations: 55.67 kB / 407.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.3135, allocations: 119.2 kB / 407.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.3141, allocations: 249.2 kB / 408.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.3145, allocations: 286.9 kB / 408.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.3145, allocations: 13.12 kB / 408.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.3148, allocations: 123.7 kB / 408.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3149, allocations: 91.55 kB / 408.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.315, allocations: 8 kB / 408.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.3152, allocations: 95.88 kB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.3153, allocations: 43.88 kB / 408.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.3154, allocations: 71.67 kB / 408.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3157, allocations: 212.6 kB / 409 MB, free: 1.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3158, allocations: 4 kB / 409 MB, free: 1.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3158, allocations: 0 / 409 MB, free: 1.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3158, allocations: 0 / 409 MB, free: 1.23 MB / 318.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.0009439/0.3167, allocations: 489.9 kB / 409.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3168, allocations: 8.031 kB / 409.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.317, allocations: 24.75 kB / 409.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3173, allocations: 204.2 kB / 409.7 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3173, allocations: 16.66 kB / 409.7 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3173, allocations: 12.38 kB / 409.8 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.3177, allocations: 221.6 kB / 410 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3178, allocations: 3.906 kB / 410 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3178, allocations: 4 kB / 410 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3178, allocations: 4 kB / 410 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.3182, allocations: 155.8 kB / 410.1 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.3194, allocations: 0.9479 MB / 411.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.3198, allocations: 150.7 kB / 411.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.32, allocations: 52.83 kB / 411.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005092/0.3205, allocations: 0.5033 MB / 411.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3205, allocations: 34.55 kB / 411.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3206, allocations: 0 / 411.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002469/0.323, allocations: 0.7708 MB / 412.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.3231, allocations: 51.41 kB / 412.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3232, allocations: 162.2 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.3232, allocations: 25.7 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.3233, allocations: 143.8 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.3234, allocations: 74.97 kB / 413 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.3235, allocations: 61.61 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3236, allocations: 326.8 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3238, allocations: 79.94 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.3241, allocations: 202.4 kB / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.3247, allocations: 293.4 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3247, allocations: 0 / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006699/0.3254, allocations: 320.4 kB / 414.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3254, allocations: 12.03 kB / 414.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3254, allocations: 7.938 kB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3255, allocations: 4 kB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.3258, allocations: 83.81 kB / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.3258, allocations: 8 kB / 414.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.3261, allocations: 19.98 kB / 414.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.3261, allocations: 12 kB / 414.4 MB, free: 11.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.3262, allocations: 141.7 kB / 414.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.3263, allocations: 19.81 kB / 414.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.327, allocations: 238.7 kB / 414.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.327, allocations: 4 kB / 414.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.327, allocations: 0 / 414.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.327, allocations: 7.984 kB / 414.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.3282, allocations: 0.5954 MB / 415.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3283, allocations: 0 / 415.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.3286, allocations: 51.89 kB / 415.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3286, allocations: 4 kB / 415.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3286, allocations: 8 kB / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3286, allocations: 3.938 kB / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3286, allocations: 4 kB / 415.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.3294, allocations: 409 kB / 415.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.3295, allocations: 92.95 kB / 416 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.3296, allocations: 7.938 kB / 416 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.3298, allocations: 11.98 kB / 416 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.3298, allocations: 19.92 kB / 416 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3299, allocations: 7.984 kB / 416 MB, free: 9.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.3299, allocations: 111.3 kB / 416.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.33, allocations: 4 kB / 416.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.3303, allocations: 60 kB / 416.2 MB, free: 9.434 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002481/0.3306, allocations: 135 kB / 416.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006268/0.3312, allocations: 226.4 kB / 416.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3313, allocations: 0 / 416.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.3315, allocations: 97 kB / 416.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3319, allocations: 43.89 kB / 416.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.333, allocations: 0.4935 MB / 417.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3333, allocations: 0.7168 MB / 417.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3334, allocations: 27.42 kB / 417.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3334, allocations: 4 kB / 417.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of Templates: time 0.005391/0.3388, allocations: 2.657 MB / 420.6 MB, free: 4.961 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches