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.001209/0.001209, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001088/0.001088, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 351.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3119, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005679/0.3176, allocations: 4.485 MB / 405.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3195, allocations: 1.814 MB / 407.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3196, allocations: 4 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.3198, allocations: 43.69 kB / 407.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.3202, allocations: 123.2 kB / 407.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.3209, allocations: 247.3 kB / 408.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.3212, allocations: 286.9 kB / 408.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.3213, allocations: 9.125 kB / 408.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.3215, allocations: 131.6 kB / 408.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3217, allocations: 83.61 kB / 408.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.3217, allocations: 8 kB / 408.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.3219, allocations: 95.88 kB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.322, allocations: 39.89 kB / 408.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.201e-05/0.3221, allocations: 79.66 kB / 408.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3225, allocations: 208.6 kB / 409 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3225, allocations: 0 / 409 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3225, allocations: 0 / 409 MB, free: 1.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3225, allocations: 0 / 409 MB, free: 1.219 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.0009967/0.3235, allocations: 495.3 kB / 409.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3235, allocations: 12.03 kB / 409.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.3237, allocations: 24.73 kB / 409.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.324, allocations: 200.2 kB / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3241, allocations: 12.66 kB / 409.7 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.3241, allocations: 12.38 kB / 409.8 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.3246, allocations: 221.6 kB / 410 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3246, allocations: 3.906 kB / 410 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.3247, allocations: 8 kB / 410 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3247, allocations: 4 kB / 410 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.3251, allocations: 159.8 kB / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.3264, allocations: 0.9362 MB / 411.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.3268, allocations: 154.7 kB / 411.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.327, allocations: 52.83 kB / 411.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005371/0.3276, allocations: 0.5032 MB / 411.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3276, allocations: 34.56 kB / 411.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.3276, allocations: 3.938 kB / 411.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002569/0.3302, allocations: 0.7669 MB / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3302, allocations: 55.41 kB / 412.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3304, allocations: 158.4 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.3304, allocations: 37.58 kB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.3305, allocations: 143.8 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.3306, allocations: 67.03 kB / 413 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.3307, allocations: 65.59 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3308, allocations: 330.8 kB / 413.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.3311, allocations: 79.94 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.3314, allocations: 202.4 kB / 413.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.3319, allocations: 289.4 kB / 414 MB, free: 11.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3319, allocations: 0 / 414 MB, free: 11.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000831/0.3328, allocations: 324 kB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.3328, allocations: 12.03 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3329, allocations: 4 kB / 414.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.3329, allocations: 7.984 kB / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.3333, allocations: 79.89 kB / 414.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3333, allocations: 8 kB / 414.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.3335, allocations: 15.98 kB / 414.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.3336, allocations: 19.97 kB / 414.4 MB, free: 11.31 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.000146/0.3337, allocations: 141.7 kB / 414.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.3338, allocations: 15.81 kB / 414.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/0.3345, allocations: 238.7 kB / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3345, allocations: 4 kB / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3345, allocations: 0 / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3345, allocations: 0 / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.3358, allocations: 0.5954 MB / 415.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3358, allocations: 0 / 415.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.3361, allocations: 55.89 kB / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3362, allocations: 0 / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.3362, allocations: 15.92 kB / 415.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3362, allocations: 7.938 kB / 415.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3362, allocations: 0 / 415.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.3371, allocations: 406 kB / 415.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.3372, allocations: 88.92 kB / 416 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.3372, allocations: 19.86 kB / 416 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.3375, allocations: 7.984 kB / 416 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.3375, allocations: 15.98 kB / 416 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3375, allocations: 8 kB / 416 MB, free: 9.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.3376, allocations: 110.2 kB / 416.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.3376, allocations: 4.062 kB / 416.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.338, allocations: 63.94 kB / 416.2 MB, free: 9.414 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.0003016/0.3383, allocations: 139.1 kB / 416.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.339, allocations: 223 kB / 416.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.339, allocations: 0 / 416.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.3392, allocations: 97 kB / 416.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3397, allocations: 35.97 kB / 416.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3409, allocations: 0.4897 MB / 417.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3412, allocations: 0.7128 MB / 417.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.3413, allocations: 31.42 kB / 417.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3413, allocations: 4 kB / 417.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of Templates: time 0.005068/0.3464, allocations: 2.653 MB / 420.6 MB, free: 4.957 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