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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.00167, allocations: 178.3 kB / 18.04 MB, free: 3.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.000774/0.0007741, allocations: 79.92 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 16 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5965, allocations: 272.8 MB / 0.6345 GB, free: 116 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5968, allocations: 67.59 kB / 0.6346 GB, free: 80 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02269/0.6194, allocations: 9.411 MB / 0.6438 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6195, allocations: 4 kB / 0.6438 GB, free: 8.344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.6195, allocations: 7.125 kB / 0.6438 GB, free: 8.34 MB / 426.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.0007775/0.6203, allocations: 458.5 kB / 0.6442 GB, free: 7.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.6203, allocations: 8.031 kB / 0.6442 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.6205, allocations: 20.75 kB / 0.6443 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.6208, allocations: 210.6 kB / 0.6445 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.6208, allocations: 12.28 kB / 0.6445 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.6208, allocations: 12.25 kB / 0.6445 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.6212, allocations: 213.3 kB / 0.6447 GB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6213, allocations: 8.094 kB / 0.6447 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.6213, allocations: 11.12 kB / 0.6447 GB, free: 7.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6213, allocations: 8 kB / 0.6447 GB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.6217, allocations: 140.3 kB / 0.6449 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.6228, allocations: 0.9332 MB / 0.6458 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.6232, allocations: 150.9 kB / 0.6459 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.6234, allocations: 55.64 kB / 0.646 GB, free: 6.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/0.6239, allocations: 0.5038 MB / 0.6465 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.6239, allocations: 30.56 kB / 0.6465 GB, free: 5.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.996e-06/0.6239, allocations: 4 kB / 0.6465 GB, free: 5.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002385/0.6263, allocations: 0.7683 MB / 0.6472 GB, free: 4.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6264, allocations: 59.39 kB / 0.6473 GB, free: 4.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.6265, allocations: 156.3 kB / 0.6474 GB, free: 4.684 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6266, allocations: 29.33 kB / 0.6475 GB, free: 4.652 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.6266, allocations: 139.1 kB / 0.6476 GB, free: 4.516 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.6267, allocations: 73.75 kB / 0.6477 GB, free: 4.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.6267, allocations: 7.625 kB / 0.6477 GB, free: 4.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6268, allocations: 326.5 kB / 0.648 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.6271, allocations: 84.69 kB / 0.6481 GB, free: 4.066 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.6274, allocations: 196.1 kB / 0.6483 GB, free: 3.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.6279, allocations: 284.8 kB / 0.6485 GB, free: 3.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6279, allocations: 4 kB / 0.6485 GB, free: 3.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006207/0.6285, allocations: 318.7 kB / 0.6488 GB, free: 3.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6285, allocations: 8 kB / 0.6488 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6286, allocations: 7.938 kB / 0.6489 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6286, allocations: 4 kB / 0.6489 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.629, allocations: 79.83 kB / 0.6489 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.629, allocations: 7.984 kB / 0.6489 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.6292, allocations: 19.81 kB / 0.649 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.6293, allocations: 20.05 kB / 0.649 GB, free: 3.203 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.6294, allocations: 135.8 kB / 0.6491 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.6295, allocations: 23.69 kB / 0.6491 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005908/0.63, allocations: 232.4 kB / 0.6494 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6301, allocations: 0 / 0.6494 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6301, allocations: 8 kB / 0.6494 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6301, allocations: 3.984 kB / 0.6494 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6313, allocations: 0.5896 MB / 0.6499 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6313, allocations: 3.984 kB / 0.6499 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.6316, allocations: 55.91 kB / 0.65 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.6316, allocations: 0 / 0.65 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.6316, allocations: 11.73 kB / 0.65 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6317, allocations: 4.125 kB / 0.65 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6317, allocations: 7.938 kB / 0.65 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.6324, allocations: 402.1 kB / 0.6504 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.6325, allocations: 92.89 kB / 0.6505 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.6325, allocations: 7.375 kB / 0.6505 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.6328, allocations: 19.42 kB / 0.6505 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.6328, allocations: 19.98 kB / 0.6505 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.6328, allocations: 7.984 kB / 0.6505 GB, free: 1.703 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.523e-05/0.6329, allocations: 106.5 kB / 0.6506 GB, free: 1.605 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6329, allocations: 0 / 0.6506 GB, free: 1.605 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.6333, allocations: 78.67 kB / 0.6507 GB, free: 1.539 MB / 426.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 (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.0002292/0.6336, allocations: 142.9 kB / 0.6509 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.6341, allocations: 213.8 kB / 0.6511 GB, free: 1.227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6341, allocations: 0 / 0.6511 GB, free: 1.227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.6343, allocations: 93.5 kB / 0.6511 GB, free: 1.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.6348, allocations: 46.34 kB / 0.6512 GB, free: 1.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.6358, allocations: 0.5504 MB / 0.6517 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1417/0.7775, allocations: 0.7128 MB / 0.6524 GB, free: 161.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.7778, allocations: 44.67 kB / 0.6525 GB, free: 161.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.778, allocations: 24.61 kB / 0.6525 GB, free: 161.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.778, allocations: 0 / 0.6525 GB, free: 161.2 MB / 426.7 MB Notification: Performance of Templates: time 0.006126/0.7841, allocations: 2.756 MB / 0.6552 GB, free: 161.2 MB / 426.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/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_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches