Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008973/0.0008974, allocations: 175.9 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007055/0.0007057, allocations: 91.75 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002315/0.0002315, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1978, allocations: 47.59 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003618/0.2015, allocations: 4.15 MB / 380.7 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.203, allocations: 2.161 MB / 382.9 MB, free: 40.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.203, allocations: 5.094 kB / 382.9 MB, free: 40.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2032, allocations: 29.56 kB / 382.9 MB, free: 40.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.2035, allocations: 116.3 kB / 383 MB, free: 40.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.204, allocations: 230.8 kB / 383.3 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.2043, allocations: 364.2 kB / 383.6 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.2044, allocations: 20.39 kB / 383.6 MB, free: 39.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.2046, allocations: 132.1 kB / 383.8 MB, free: 39.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.2047, allocations: 76.72 kB / 383.9 MB, free: 39.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.2048, allocations: 5.969 kB / 383.9 MB, free: 39.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.205, allocations: 96.33 kB / 384 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.2051, allocations: 44.94 kB / 384 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.2052, allocations: 103.4 kB / 384.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2054, allocations: 208.4 kB / 384.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2054, allocations: 0 / 384.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2055, allocations: 0 / 384.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2055, allocations: 1.25 kB / 384.3 MB, free: 39.38 MB / 298.7 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.0007183/0.2062, allocations: 443.5 kB / 384.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.2062, allocations: 13.75 kB / 384.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.2064, allocations: 26.39 kB / 384.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.2066, allocations: 209.1 kB / 385 MB, free: 38.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2066, allocations: 11.12 kB / 385 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.2066, allocations: 13 kB / 385 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.207, allocations: 221.8 kB / 385.2 MB, free: 38.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.207, allocations: 1.469 kB / 385.2 MB, free: 38.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.207, allocations: 5.531 kB / 385.2 MB, free: 38.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.207, allocations: 4.375 kB / 385.2 MB, free: 38.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.2073, allocations: 150.5 kB / 385.4 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.2083, allocations: 0.9427 MB / 386.3 MB, free: 37.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2087, allocations: 151.9 kB / 386.5 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.2089, allocations: 54.77 kB / 386.5 MB, free: 37.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.2092, allocations: 0.5051 MB / 387 MB, free: 36.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.2093, allocations: 39.52 kB / 387.1 MB, free: 36.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.2093, allocations: 0 / 387.1 MB, free: 36.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002204/0.2115, allocations: 0.7653 MB / 387.8 MB, free: 36.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.2115, allocations: 57.53 kB / 387.9 MB, free: 36.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2116, allocations: 156.4 kB / 388 MB, free: 36.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2117, allocations: 30.8 kB / 388.1 MB, free: 36.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.2117, allocations: 135.1 kB / 388.2 MB, free: 35.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.2118, allocations: 72.02 kB / 388.3 MB, free: 35.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.2118, allocations: 13.31 kB / 388.3 MB, free: 35.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.2118, allocations: 321.9 kB / 388.6 MB, free: 35.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.2121, allocations: 86.56 kB / 388.7 MB, free: 35.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.2123, allocations: 198.9 kB / 388.9 MB, free: 35.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.2128, allocations: 292 kB / 389.2 MB, free: 35.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2128, allocations: 0 / 389.2 MB, free: 35.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005942/0.2134, allocations: 321.6 kB / 389.5 MB, free: 34.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2134, allocations: 7.344 kB / 389.5 MB, free: 34.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2134, allocations: 3.219 kB / 389.5 MB, free: 34.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2135, allocations: 5.969 kB / 389.5 MB, free: 34.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.2138, allocations: 85.89 kB / 389.6 MB, free: 34.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2138, allocations: 11.92 kB / 389.6 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.214, allocations: 16 kB / 389.6 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2141, allocations: 19.98 kB / 389.6 MB, free: 34.84 MB / 298.7 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 8.069e-05/0.2142, allocations: 133.7 kB / 389.8 MB, free: 34.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.2142, allocations: 15.81 kB / 389.8 MB, free: 34.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.2148, allocations: 236.4 kB / 390 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2148, allocations: 8 kB / 390 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2148, allocations: 0 / 390 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2148, allocations: 0 / 390 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.2158, allocations: 0.6028 MB / 390.6 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2158, allocations: 8.125 kB / 390.6 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.2161, allocations: 43.97 kB / 390.7 MB, free: 33.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2161, allocations: 4 kB / 390.7 MB, free: 33.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2161, allocations: 7.984 kB / 390.7 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2161, allocations: 7.938 kB / 390.7 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2161, allocations: 3.938 kB / 390.7 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.2168, allocations: 406.6 kB / 391.1 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.2168, allocations: 88.92 kB / 391.2 MB, free: 33.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.2168, allocations: 11.94 kB / 391.2 MB, free: 33.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2171, allocations: 11.98 kB / 391.2 MB, free: 33.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.2171, allocations: 15.92 kB / 391.2 MB, free: 33.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.2171, allocations: 15.98 kB / 391.2 MB, free: 33.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.076e-05/0.2172, allocations: 103.3 kB / 391.3 MB, free: 33.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2172, allocations: 0 / 391.3 MB, free: 33.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.2175, allocations: 68 kB / 391.4 MB, free: 32.95 MB / 298.7 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.0002543/0.2178, allocations: 131.2 kB / 391.5 MB, free: 32.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.2183, allocations: 223.5 kB / 391.7 MB, free: 32.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2183, allocations: 0 / 391.7 MB, free: 32.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.2185, allocations: 93.06 kB / 391.8 MB, free: 32.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.2189, allocations: 40.09 kB / 391.9 MB, free: 32.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.2197, allocations: 0.5712 MB / 392.4 MB, free: 31.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2199, allocations: 0.7206 MB / 393.2 MB, free: 31.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.2201, allocations: 53.86 kB / 393.2 MB, free: 31.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.2202, allocations: 23.42 kB / 393.2 MB, free: 31.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2202, allocations: 0 / 393.2 MB, free: 31.03 MB / 298.7 MB Notification: Performance of Templates: time 0.004521/0.2247, allocations: 2.572 MB / 395.8 MB, free: 28.47 MB / 298.7 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","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches