Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008877/0.0008878, allocations: 103.8 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002365/0.0002366, allocations: 4 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1905, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08813/0.2787, allocations: 82.46 MB / 491.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.2789, allocations: 71.97 kB / 491.9 MB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04148/0.3204, allocations: 16.22 MB / 0.4963 GB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3205, allocations: 0 / 0.4963 GB, free: 7.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.269e-05/0.3205, allocations: 16 kB / 0.4963 GB, free: 7.699 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002237/0.3228, allocations: 1.197 MB / 0.4974 GB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3228, allocations: 12.03 kB / 0.4975 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.323, allocations: 102.9 kB / 0.4975 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008409/0.3239, allocations: 0.5399 MB / 0.4981 GB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.3241, allocations: 146.4 kB / 0.4982 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.3242, allocations: 63.89 kB / 0.4983 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.3256, allocations: 0.8666 MB / 0.4991 GB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3256, allocations: 3.984 kB / 0.4991 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.3257, allocations: 28 kB / 0.4992 GB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3257, allocations: 16 kB / 0.4992 GB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.3271, allocations: 0.6415 MB / 0.4998 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.3304, allocations: 2.092 MB / 0.5018 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.332, allocations: 1.085 MB / 0.5029 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.214e-05/0.332, allocations: 8.656 kB / 0.5029 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3321, allocations: 47.22 kB / 0.503 GB, free: 448 kB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.034e-06/0.3321, allocations: 4 kB / 0.503 GB, free: 444 kB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.1703/0.5024, allocations: 1.992 MB / 0.5049 GB, free: 89.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.5027, allocations: 0.8232 MB / 0.5057 GB, free: 88.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/0.5036, allocations: 0.5573 MB / 0.5062 GB, free: 88.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.5038, allocations: 47.14 kB / 0.5063 GB, free: 88.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.504, allocations: 336.3 kB / 0.5066 GB, free: 88.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.5043, allocations: 257.4 kB / 0.5069 GB, free: 88.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.5043, allocations: 12.5 kB / 0.5069 GB, free: 88.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5044, allocations: 387.2 kB / 0.5072 GB, free: 88.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.5051, allocations: 301.5 kB / 0.5075 GB, free: 88.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008187/0.506, allocations: 0.5654 MB / 0.5081 GB, free: 87.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.5067, allocations: 422.8 kB / 0.5085 GB, free: 87.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5067, allocations: 3.5 kB / 0.5085 GB, free: 87.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002923/0.5096, allocations: 1.19 MB / 0.5096 GB, free: 87.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.5097, allocations: 89.5 kB / 0.5097 GB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5097, allocations: 1.375 kB / 0.5097 GB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008165/0.5106, allocations: 250.8 kB / 0.51 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.5113, allocations: 144.2 kB / 0.5101 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/0.5177, allocations: 6.58 MB / 0.5165 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.5185, allocations: 118.4 kB / 0.5167 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.5186, allocations: 19.31 kB / 0.5167 GB, free: 82.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003948/0.519, allocations: 224.5 kB / 0.5169 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.5192, allocations: 92.81 kB / 0.517 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.5194, allocations: 84.56 kB / 0.5171 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5194, allocations: 9.719 kB / 0.5171 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5194, allocations: 6.188 kB / 0.5171 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002192/0.5216, allocations: 1.33 MB / 0.5184 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.5251, allocations: 2.019 MB / 0.5203 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5251, allocations: 0 / 0.5203 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006679/0.5258, allocations: 147.8 kB / 0.5205 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.5263, allocations: 220.5 kB / 0.5207 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.5264, allocations: 19.48 kB / 0.5207 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/0.5312, allocations: 5.124 MB / 0.5257 GB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5312, allocations: 3.969 kB / 0.5257 GB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.534, allocations: 1.519 MB / 0.5272 GB, free: 75.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.5344, allocations: 233.8 kB / 0.5274 GB, free: 75.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.5346, allocations: 23.39 kB / 0.5274 GB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.5351, allocations: 62.22 kB / 0.5275 GB, free: 75.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.5353, allocations: 65.45 kB / 0.5276 GB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.5353, allocations: 15 kB / 0.5276 GB, free: 75.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004431/0.5358, allocations: 449.1 kB / 0.528 GB, free: 74.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5358, allocations: 0 / 0.528 GB, free: 74.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008219/0.5366, allocations: 295.9 kB / 0.5283 GB, free: 74.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.5368, allocations: 132.7 kB / 0.5284 GB, free: 74.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.5387, allocations: 1.398 MB / 0.5298 GB, free: 73.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.5387, allocations: 3.938 kB / 0.5298 GB, free: 73.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.5398, allocations: 0.808 MB / 0.5306 GB, free: 73.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.5406, allocations: 208.9 kB / 0.5308 GB, free: 73.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.543, allocations: 1.916 MB / 0.5326 GB, free: 72.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.5433, allocations: 0.955 MB / 0.5336 GB, free: 71.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003776/0.5437, allocations: 94.91 kB / 0.5337 GB, free: 71.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.5439, allocations: 67.23 kB / 0.5337 GB, free: 71.13 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5439, allocations: 0 / 0.5337 GB, free: 71.13 MB / 378.7 MB Notification: Performance of Templates: time 0.02146/0.5653, allocations: 16.09 MB / 0.5494 GB, free: 57.02 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches