Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_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.001807/0.001807, allocations: 100.2 kB / 18.39 MB, free: 4.66 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.001834/0.001834, allocations: 188.3 kB / 19.33 MB, free: 3.738 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.569/1.569, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001365/0.001365, allocations: 43.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1047, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007327/0.1121, allocations: 4.484 MB / 380.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2018/0.3139, allocations: 1.808 MB / 382.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.3141, allocations: 1.312 kB / 382.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.3144, allocations: 44.06 kB / 382.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.3148, allocations: 120.2 kB / 382.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.3155, allocations: 253.8 kB / 382.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.3159, allocations: 285.8 kB / 382.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.316, allocations: 8.609 kB / 382.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.3163, allocations: 131.3 kB / 382.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3164, allocations: 87.47 kB / 383 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.3164, allocations: 8.25 kB / 383 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.3168, allocations: 99.2 kB / 383.1 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.3169, allocations: 38.58 kB / 383.1 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.317, allocations: 76.44 kB / 383.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.3174, allocations: 208.8 kB / 383.4 MB, free: 9.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3174, allocations: 0 / 383.4 MB, free: 9.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3174, allocations: 0.5312 kB / 383.4 MB, free: 9.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3175, allocations: 0.5312 kB / 383.4 MB, free: 9.484 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.0009749/0.3184, allocations: 491.9 kB / 383.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3185, allocations: 9.031 kB / 383.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.3187, allocations: 23.91 kB / 383.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.319, allocations: 207.6 kB / 384.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.319, allocations: 10.12 kB / 384.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.3191, allocations: 16.84 kB / 384.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.3196, allocations: 217.8 kB / 384.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3196, allocations: 0 / 384.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.3196, allocations: 10.75 kB / 384.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3197, allocations: 3.281 kB / 384.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.32, allocations: 151.6 kB / 384.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3213, allocations: 0.9548 MB / 385.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.3217, allocations: 148 kB / 385.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3219, allocations: 59.86 kB / 385.7 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.3223, allocations: 0.5019 MB / 386.2 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3224, allocations: 35 kB / 386.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3224, allocations: 0 / 386.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002546/0.3249, allocations: 0.7824 MB / 387 MB, free: 7.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.325, allocations: 53.92 kB / 387.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3251, allocations: 151.3 kB / 387.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3251, allocations: 31.39 kB / 387.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.3252, allocations: 135.8 kB / 387.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.3253, allocations: 76.59 kB / 387.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.3254, allocations: 59.66 kB / 387.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.3254, allocations: 330.7 kB / 387.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.3257, allocations: 80.61 kB / 387.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.326, allocations: 191 kB / 388.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.3265, allocations: 295.6 kB / 388.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3265, allocations: 5.531 kB / 388.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006739/0.3272, allocations: 318.5 kB / 388.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3272, allocations: 11.77 kB / 388.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/0.3272, allocations: 3.406 kB / 388.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3272, allocations: 5.781 kB / 388.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.3276, allocations: 89.42 kB / 388.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3277, allocations: 9.406 kB / 388.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.3279, allocations: 15.33 kB / 388.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.3279, allocations: 13.27 kB / 388.8 MB, free: 6.098 MB / 318.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 9.984e-05/0.328, allocations: 146 kB / 389 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.3281, allocations: 13.23 kB / 389 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.3287, allocations: 238.6 kB / 389.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3288, allocations: 3.609 kB / 389.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3288, allocations: 0 / 389.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3288, allocations: 6.25 kB / 389.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.33, allocations: 0.59 MB / 389.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.33, allocations: 1.5 kB / 389.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.3303, allocations: 51.52 kB / 389.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3303, allocations: 3.125 kB / 389.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3303, allocations: 8.297 kB / 389.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3304, allocations: 6.156 kB / 389.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3304, allocations: 3.25 kB / 389.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.3312, allocations: 407.7 kB / 390.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.3312, allocations: 90.31 kB / 390.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.3312, allocations: 8.781 kB / 390.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.3315, allocations: 14.91 kB / 390.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.3315, allocations: 14.41 kB / 390.4 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.3316, allocations: 13.67 kB / 390.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.3316, allocations: 111.4 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3316, allocations: 1.125 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.332, allocations: 62.95 kB / 390.6 MB, free: 5.051 MB / 318.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.0002276/0.3323, allocations: 130.4 kB / 390.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006023/0.3329, allocations: 218.2 kB / 391 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3329, allocations: 1.906 kB / 391 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.3332, allocations: 96.64 kB / 391.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3336, allocations: 44.53 kB / 391.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000987/0.3346, allocations: 0.4898 MB / 391.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3347, allocations: 0.7168 MB / 392.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3348, allocations: 31.89 kB / 392.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3348, allocations: 0 / 392.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of Templates: time 0.005442/0.3403, allocations: 2.669 MB / 395 MB, free: 3.559 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches