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.001658/0.001658, allocations: 110.4 kB / 17.73 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.002036/0.002036, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.501/1.501, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001153/0.001153, allocations: 51.91 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09454, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006392/0.101, allocations: 4.471 MB / 379.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2256/0.3266, allocations: 1.816 MB / 381.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3268, allocations: 0.9375 kB / 381.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.3272, allocations: 39.47 kB / 381.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.3276, allocations: 124.1 kB / 381.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006964/0.3283, allocations: 248 kB / 381.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.3287, allocations: 285.2 kB / 382.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.05e-05/0.3287, allocations: 9.781 kB / 382.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.329, allocations: 132.3 kB / 382.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3292, allocations: 84.58 kB / 382.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.3293, allocations: 12.84 kB / 382.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.3296, allocations: 97.58 kB / 382.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.3297, allocations: 38.33 kB / 382.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3298, allocations: 76.84 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.3302, allocations: 210.5 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3302, allocations: 0.5625 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3302, allocations: 0 / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3303, allocations: 0.5 kB / 382.7 MB, free: 10.06 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.001043/0.3313, allocations: 494 kB / 383.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3314, allocations: 9.312 kB / 383.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.3316, allocations: 23.88 kB / 383.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.3319, allocations: 205.5 kB / 383.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3319, allocations: 13.84 kB / 383.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.3319, allocations: 14.2 kB / 383.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.3324, allocations: 219.4 kB / 383.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3324, allocations: 1.094 kB / 383.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.3324, allocations: 7.469 kB / 383.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3325, allocations: 4.75 kB / 383.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.3329, allocations: 156.9 kB / 383.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3341, allocations: 0.9531 MB / 384.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.3345, allocations: 142.9 kB / 385 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3347, allocations: 61.98 kB / 385 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/0.3352, allocations: 0.4993 MB / 385.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3352, allocations: 34.02 kB / 385.6 MB, free: 8.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3352, allocations: 0 / 385.6 MB, free: 8.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002572/0.3378, allocations: 0.7724 MB / 386.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.3378, allocations: 53.44 kB / 386.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.338, allocations: 153.7 kB / 386.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.338, allocations: 30.61 kB / 386.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.3381, allocations: 139.7 kB / 386.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.3381, allocations: 75.77 kB / 386.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.3382, allocations: 63.23 kB / 386.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.3383, allocations: 328.9 kB / 387.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.3385, allocations: 82.97 kB / 387.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.3388, allocations: 186.3 kB / 387.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.3394, allocations: 297.1 kB / 387.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3394, allocations: 1.062 kB / 387.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006848/0.3401, allocations: 317.7 kB / 388 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3401, allocations: 11.19 kB / 388 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.3401, allocations: 3.5 kB / 388 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3402, allocations: 6.281 kB / 388 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.3405, allocations: 87.78 kB / 388.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3406, allocations: 10.23 kB / 388.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.3408, allocations: 17.09 kB / 388.2 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.3408, allocations: 16.95 kB / 388.2 MB, free: 6.488 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 0.0001017/0.3409, allocations: 142.9 kB / 388.3 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.341, allocations: 11.45 kB / 388.3 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/0.3417, allocations: 239.9 kB / 388.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3417, allocations: 2.938 kB / 388.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3417, allocations: 0 / 388.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3417, allocations: 5.359 kB / 388.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3429, allocations: 0.6013 MB / 389.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.343, allocations: 3 kB / 389.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.3433, allocations: 50.44 kB / 389.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3433, allocations: 2.219 kB / 389.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.3433, allocations: 9.25 kB / 389.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3433, allocations: 10.16 kB / 389.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3433, allocations: 1.5 kB / 389.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.3441, allocations: 404.9 kB / 389.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.3442, allocations: 90.61 kB / 389.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.3442, allocations: 12.23 kB / 389.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3445, allocations: 16.42 kB / 389.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3445, allocations: 11.61 kB / 389.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.3446, allocations: 13.98 kB / 389.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.871e-05/0.3446, allocations: 110.4 kB / 389.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3446, allocations: 1.156 kB / 389.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.3451, allocations: 63.8 kB / 389.9 MB, free: 5.316 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.0002403/0.3453, allocations: 134.5 kB / 390.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006487/0.346, allocations: 214.6 kB / 390.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.346, allocations: 0.9375 kB / 390.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.3462, allocations: 99.73 kB / 390.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3467, allocations: 43.06 kB / 390.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3477, allocations: 456.9 kB / 390.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.3479, allocations: 0.7199 MB / 391.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.3482, allocations: 59.52 kB / 391.7 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.3483, allocations: 24.05 kB / 391.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3483, allocations: 0 / 391.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of Templates: time 0.00721/0.3555, allocations: 2.724 MB / 394.4 MB, free: 3.863 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/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