Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.00112, allocations: 176.5 kB / 17.39 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 241.4 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.0008663, allocations: 109 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 8 kB / 352.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 50.41 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.8059, allocations: 273.7 MB / 0.6606 GB, free: 1.293 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.8062, allocations: 71.52 kB / 0.6607 GB, free: 1.254 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02278/0.8289, allocations: 9.627 MB / 0.6701 GB, free: 9.324 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.829, allocations: 0 / 0.6701 GB, free: 9.324 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.829, allocations: 4 kB / 0.6701 GB, free: 9.32 MB / 458.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.0007636/0.8298, allocations: 462 kB / 0.6705 GB, free: 8.828 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.8298, allocations: 11.97 kB / 0.6705 GB, free: 8.816 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.83, allocations: 20.75 kB / 0.6706 GB, free: 8.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.8302, allocations: 207.4 kB / 0.6707 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.8303, allocations: 11.47 kB / 0.6708 GB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.8303, allocations: 15.81 kB / 0.6708 GB, free: 8.547 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.8307, allocations: 217.6 kB / 0.671 GB, free: 8.355 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.8307, allocations: 4.125 kB / 0.671 GB, free: 8.352 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.8307, allocations: 11.31 kB / 0.671 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.8308, allocations: 4 kB / 0.671 GB, free: 8.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.8311, allocations: 143.5 kB / 0.6711 GB, free: 8.234 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.8323, allocations: 0.9487 MB / 0.6721 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.8327, allocations: 146.1 kB / 0.6722 GB, free: 7.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.8328, allocations: 58.58 kB / 0.6723 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.8333, allocations: 0.5006 MB / 0.6727 GB, free: 6.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8333, allocations: 38.25 kB / 0.6728 GB, free: 6.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.644e-06/0.8334, allocations: 0 / 0.6728 GB, free: 6.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.002264/0.8356, allocations: 0.7472 MB / 0.6735 GB, free: 5.883 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.8357, allocations: 67.3 kB / 0.6736 GB, free: 5.805 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.8358, allocations: 148.3 kB / 0.6737 GB, free: 5.656 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.8359, allocations: 33.58 kB / 0.6738 GB, free: 5.621 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.8359, allocations: 139.1 kB / 0.6739 GB, free: 5.484 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.836, allocations: 74.06 kB / 0.674 GB, free: 5.422 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.836, allocations: 3.75 kB / 0.674 GB, free: 5.422 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8361, allocations: 325.6 kB / 0.6743 GB, free: 5.102 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.8363, allocations: 81.12 kB / 0.6743 GB, free: 5.043 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.8366, allocations: 191 kB / 0.6745 GB, free: 4.836 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.8371, allocations: 296.2 kB / 0.6748 GB, free: 4.566 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8371, allocations: 0 / 0.6748 GB, free: 4.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005953/0.8377, allocations: 312.2 kB / 0.6751 GB, free: 4.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8377, allocations: 8 kB / 0.6751 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8378, allocations: 4 kB / 0.6751 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8378, allocations: 4.469 kB / 0.6751 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.8381, allocations: 87.75 kB / 0.6752 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.8382, allocations: 11.94 kB / 0.6752 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.8384, allocations: 15.23 kB / 0.6752 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.8384, allocations: 15.94 kB / 0.6752 GB, free: 4.188 MB / 458.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.000116/0.8385, allocations: 132.5 kB / 0.6754 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.8386, allocations: 23.75 kB / 0.6754 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.8392, allocations: 249.2 kB / 0.6756 GB, free: 3.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.8392, allocations: 4 kB / 0.6756 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8392, allocations: 0 / 0.6756 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8392, allocations: 3.984 kB / 0.6756 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.8404, allocations: 0.5998 MB / 0.6762 GB, free: 3.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8404, allocations: 4 kB / 0.6762 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.8407, allocations: 55.39 kB / 0.6763 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8407, allocations: 4 kB / 0.6763 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.8407, allocations: 0 / 0.6763 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8407, allocations: 4 kB / 0.6763 GB, free: 3.188 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.8407, allocations: 3.938 kB / 0.6763 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.8414, allocations: 407.3 kB / 0.6767 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.8415, allocations: 89.05 kB / 0.6768 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.8415, allocations: 3.438 kB / 0.6768 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.8417, allocations: 23.52 kB / 0.6768 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.8418, allocations: 11.98 kB / 0.6768 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.8418, allocations: 19.48 kB / 0.6768 GB, free: 2.676 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.8419, allocations: 109.5 kB / 0.6769 GB, free: 2.578 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8419, allocations: 4.062 kB / 0.6769 GB, free: 2.574 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.8423, allocations: 62.5 kB / 0.677 GB, free: 2.523 MB / 458.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.0002344/0.8425, allocations: 146.4 kB / 0.6771 GB, free: 2.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000515/0.843, allocations: 213.8 kB / 0.6773 GB, free: 2.211 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8431, allocations: 0 / 0.6773 GB, free: 2.211 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.8433, allocations: 89.25 kB / 0.6774 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.8437, allocations: 39.42 kB / 0.6775 GB, free: 2.113 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.8447, allocations: 0.5597 MB / 0.678 GB, free: 1.543 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.845, allocations: 0.7128 MB / 0.6787 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.8453, allocations: 45.94 kB / 0.6787 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.8454, allocations: 31.05 kB / 0.6788 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8454, allocations: 0 / 0.6788 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of Templates: time 0.2176/1.063, allocations: 2.753 MB / 0.6815 GB, free: 179.7 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches