Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.2 MB / 245 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008428/0.0008427, allocations: 95.48 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002128/0.000213, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1948, allocations: 51.47 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0945/0.2894, allocations: 81.83 MB / 491.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.2897, allocations: 75.97 kB / 491.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02485/0.3145, allocations: 10.01 MB / 0.4896 GB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3146, allocations: 3.984 kB / 0.4896 GB, free: 14.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.3146, allocations: 16 kB / 0.4896 GB, free: 14.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001262/0.3159, allocations: 0.8076 MB / 0.4904 GB, free: 13.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3159, allocations: 12.03 kB / 0.4904 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.316, allocations: 67.25 kB / 0.4905 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.3166, allocations: 389.9 kB / 0.4908 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.201e-05/0.3167, allocations: 66.3 kB / 0.4909 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.3167, allocations: 28 kB / 0.4909 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.3175, allocations: 496.8 kB / 0.4914 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3175, allocations: 0 / 0.4914 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.3176, allocations: 19.98 kB / 0.4914 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3176, allocations: 8 kB / 0.4914 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.3184, allocations: 382.3 kB / 0.4918 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.3204, allocations: 1.272 MB / 0.493 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.3211, allocations: 460.5 kB / 0.4935 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3212, allocations: 8 kB / 0.4935 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3212, allocations: 38.56 kB / 0.4935 GB, free: 10.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.453e-06/0.3212, allocations: 0 / 0.4935 GB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001581/0.3228, allocations: 0.7723 MB / 0.4943 GB, free: 9.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.323, allocations: 448.9 kB / 0.4947 GB, free: 8.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.3234, allocations: 405.1 kB / 0.4951 GB, free: 8.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3235, allocations: 33.7 kB / 0.4951 GB, free: 8.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3236, allocations: 244.4 kB / 0.4953 GB, free: 8.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.3237, allocations: 122.2 kB / 0.4955 GB, free: 8.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.3238, allocations: 8 kB / 0.4955 GB, free: 8.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3239, allocations: 354.8 kB / 0.4958 GB, free: 7.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.3243, allocations: 163.8 kB / 0.496 GB, free: 7.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.3247, allocations: 290.4 kB / 0.4962 GB, free: 7.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.3251, allocations: 220.9 kB / 0.4964 GB, free: 7.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3251, allocations: 0 / 0.4964 GB, free: 7.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009638/0.3261, allocations: 0.5078 MB / 0.4969 GB, free: 6.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.3262, allocations: 29.7 kB / 0.497 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3262, allocations: 32 / 0.497 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.3264, allocations: 57.69 kB / 0.497 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.3268, allocations: 87.88 kB / 0.4971 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.329, allocations: 2.768 MB / 0.4998 GB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.3294, allocations: 59.66 kB / 0.4999 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.3294, allocations: 12 kB / 0.4999 GB, free: 3.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.3296, allocations: 173.7 kB / 0.5 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.3297, allocations: 55.34 kB / 0.5001 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.3298, allocations: 56.75 kB / 0.5002 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3298, allocations: 7.938 kB / 0.5002 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3298, allocations: 0 / 0.5002 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009997/0.3308, allocations: 0.7661 MB / 0.5009 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.3324, allocations: 1.057 MB / 0.5019 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3325, allocations: 0 / 0.5019 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.3329, allocations: 99.88 kB / 0.502 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3329, allocations: 0 / 0.502 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.333, allocations: 8 kB / 0.502 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.333, allocations: 80 / 0.502 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.333, allocations: 3.984 kB / 0.5021 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3342, allocations: 0.7095 MB / 0.5027 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1615/0.4957, allocations: 168.4 kB / 0.5029 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.4959, allocations: 9.25 kB / 0.5029 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.4963, allocations: 34.23 kB / 0.5029 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.4964, allocations: 24.5 kB / 0.503 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4964, allocations: 9.328 kB / 0.503 GB, free: 93.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004297/0.4969, allocations: 321 kB / 0.5033 GB, free: 93.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4969, allocations: 3.062 kB / 0.5033 GB, free: 93.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000535/0.4974, allocations: 148.8 kB / 0.5034 GB, free: 93.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (36): * Single equations (assignments): 36 * 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.0001714/0.4976, allocations: 119.6 kB / 0.5035 GB, free: 93.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.4988, allocations: 0.6703 MB / 0.5042 GB, free: 93.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4988, allocations: 1.406 kB / 0.5042 GB, free: 93.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.4992, allocations: 195.1 kB / 0.5044 GB, free: 93.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.4999, allocations: 130.5 kB / 0.5045 GB, free: 93.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.5012, allocations: 1.129 MB / 0.5056 GB, free: 92.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5015, allocations: 0.845 MB / 0.5064 GB, free: 92.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.5017, allocations: 58.73 kB / 0.5065 GB, free: 92.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5018, allocations: 40.25 kB / 0.5065 GB, free: 92.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5018, allocations: 0 / 0.5065 GB, free: 92.27 MB / 378.7 MB Notification: Performance of Templates: time 0.01102/0.5129, allocations: 7.82 MB / 0.5142 GB, free: 91.59 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches