Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002939/0.002938, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.367/2.367, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 86.72 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.639e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09714, allocations: 47.57 MB / 369.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.947/1.044, allocations: 272.6 MB / 0.6266 GB, free: 50.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.044, allocations: 65.97 kB / 0.6267 GB, free: 50.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03485/1.079, allocations: 9.406 MB / 0.6359 GB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.079, allocations: 0 / 0.6359 GB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/1.079, allocations: 4 kB / 0.6359 GB, free: 42.78 MB / 410.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.001119/1.081, allocations: 450.5 kB / 0.6363 GB, free: 42.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.081, allocations: 12.03 kB / 0.6363 GB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/1.081, allocations: 19.91 kB / 0.6364 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/1.081, allocations: 214.1 kB / 0.6366 GB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.081, allocations: 11.97 kB / 0.6366 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/1.081, allocations: 15.38 kB / 0.6366 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/1.082, allocations: 197.6 kB / 0.6368 GB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/1.082, allocations: 7.938 kB / 0.6368 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/1.082, allocations: 11.5 kB / 0.6368 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/1.082, allocations: 4 kB / 0.6368 GB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/1.082, allocations: 125.4 kB / 0.6369 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/1.084, allocations: 0.9254 MB / 0.6378 GB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/1.084, allocations: 129.9 kB / 0.6379 GB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/1.084, allocations: 51.34 kB / 0.638 GB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006973/1.085, allocations: 0.5085 MB / 0.6385 GB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.085, allocations: 42 kB / 0.6385 GB, free: 40.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/1.085, allocations: 3.938 kB / 0.6385 GB, free: 40.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002793/1.088, allocations: 0.6304 MB / 0.6392 GB, free: 39.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/1.088, allocations: 63.36 kB / 0.6392 GB, free: 39.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/1.088, allocations: 147.5 kB / 0.6394 GB, free: 39.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/1.088, allocations: 33.27 kB / 0.6394 GB, free: 39.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/1.088, allocations: 205.2 kB / 0.6396 GB, free: 39.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/1.088, allocations: 81.73 kB / 0.6397 GB, free: 38.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/1.088, allocations: 3.375 kB / 0.6397 GB, free: 38.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/1.089, allocations: 322.4 kB / 0.64 GB, free: 38.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.089, allocations: 68.56 kB / 0.64 GB, free: 38.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/1.089, allocations: 167.5 kB / 0.6402 GB, free: 38.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/1.089, allocations: 93.03 kB / 0.6403 GB, free: 38.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.089, allocations: 0 / 0.6403 GB, free: 38.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006432/1.09, allocations: 278.3 kB / 0.6405 GB, free: 38.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.09, allocations: 4.469 kB / 0.6406 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.09, allocations: 8 kB / 0.6406 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/1.09, allocations: 11.98 kB / 0.6406 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/1.091, allocations: 87.69 kB / 0.6407 GB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.091, allocations: 4 kB / 0.6407 GB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/1.091, allocations: 23.06 kB / 0.6407 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/1.091, allocations: 15.94 kB / 0.6407 GB, free: 38 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.091, allocations: 119.7 kB / 0.6408 GB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/1.091, allocations: 19.81 kB / 0.6408 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/1.092, allocations: 210 kB / 0.641 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.092, allocations: 4 kB / 0.641 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.092, allocations: 0 / 0.641 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.092, allocations: 0 / 0.641 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.094, allocations: 0.5638 MB / 0.6416 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.094, allocations: 4 kB / 0.6416 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/1.094, allocations: 51.89 kB / 0.6416 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/1.094, allocations: 4 kB / 0.6416 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/1.094, allocations: 11.94 kB / 0.6417 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.094, allocations: 8.125 kB / 0.6417 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.094, allocations: 0 / 0.6417 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/1.095, allocations: 405.6 kB / 0.642 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/1.095, allocations: 92.94 kB / 0.6421 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/1.095, allocations: 8 kB / 0.6421 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/1.096, allocations: 11.98 kB / 0.6422 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/1.096, allocations: 15.94 kB / 0.6422 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/1.096, allocations: 12.06 kB / 0.6422 GB, free: 36.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001054/1.096, allocations: 107.3 kB / 0.6423 GB, free: 36.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.096, allocations: 0 / 0.6423 GB, free: 36.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005721/1.097, allocations: 71.92 kB / 0.6424 GB, free: 36.24 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000309/1.097, allocations: 138.1 kB / 0.6425 GB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005636/1.097, allocations: 185 kB / 0.6427 GB, free: 35.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.098, allocations: 8.312 kB / 0.6427 GB, free: 35.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/1.098, allocations: 71.86 kB / 0.6427 GB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/1.098, allocations: 31.97 kB / 0.6428 GB, free: 35.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.099, allocations: 328.6 kB / 0.6431 GB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/1.099, allocations: 0.7126 MB / 0.6438 GB, free: 34.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/1.1, allocations: 31.42 kB / 0.6438 GB, free: 34.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/1.1, allocations: 3.938 kB / 0.6438 GB, free: 34.68 MB / 410.7 MB Notification: Performance of Templates: time 0.006886/1.107, allocations: 2.749 MB / 0.6465 GB, free: 31.93 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches