Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.668/1.668, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008325/0.0008325, allocations: 92.09 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.4056, allocations: 82.4 MB / 458.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.406, allocations: 71.97 kB / 458.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04431/0.4503, allocations: 16.45 MB / 474.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4504, allocations: 4 kB / 474.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.227e-05/0.4504, allocations: 20 kB / 474.7 MB, free: 13.62 MB / 362.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.002187/0.4526, allocations: 1.197 MB / 475.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4526, allocations: 8.031 kB / 475.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.4528, allocations: 110.9 kB / 476 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/0.4537, allocations: 0.5477 MB / 476.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.4539, allocations: 150.3 kB / 476.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.454, allocations: 59.91 kB / 476.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4555, allocations: 0.8596 MB / 477.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.4555, allocations: 4 kB / 477.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.4556, allocations: 28 kB / 477.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4556, allocations: 12 kB / 477.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.4572, allocations: 0.6454 MB / 478.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.4612, allocations: 2.088 MB / 480.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.4629, allocations: 1.081 MB / 481.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-05/0.463, allocations: 16.64 kB / 481.5 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.463, allocations: 47.2 kB / 481.6 MB, free: 6.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.204e-06/0.463, allocations: 0 / 481.6 MB, free: 6.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.005603/0.4686, allocations: 1.998 MB / 483.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003965/0.4691, allocations: 0.8234 MB / 484.4 MB, free: 3.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.4699, allocations: 0.5582 MB / 485 MB, free: 2.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.47, allocations: 41.7 kB / 485 MB, free: 2.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.4703, allocations: 329.1 kB / 485.3 MB, free: 2.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.4706, allocations: 264.1 kB / 485.6 MB, free: 2.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.4706, allocations: 20 kB / 485.6 MB, free: 2.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4708, allocations: 382.8 kB / 486 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.4715, allocations: 297.8 kB / 486.3 MB, free: 1.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/0.4724, allocations: 0.5703 MB / 486.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.4732, allocations: 420.8 kB / 487.2 MB, free: 260 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4732, allocations: 0 / 487.2 MB, free: 260 kB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002804/0.476, allocations: 1.18 MB / 488.4 MB, free: 15.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.4761, allocations: 91.28 kB / 488.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4761, allocations: 0 / 488.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007573/0.4769, allocations: 259.2 kB / 488.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.4776, allocations: 143.8 kB / 488.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/0.4857, allocations: 6.582 MB / 495.5 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.4868, allocations: 115.4 kB / 495.6 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.4869, allocations: 24 kB / 495.6 MB, free: 7.266 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.0005423/0.4875, allocations: 223.2 kB / 495.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4876, allocations: 95.02 kB / 495.9 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.4878, allocations: 92.06 kB / 496 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4878, allocations: 8 kB / 496 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4878, allocations: 0 / 496 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002574/0.4904, allocations: 1.331 MB / 497.4 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.4943, allocations: 2.02 MB / 499.4 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4943, allocations: 0 / 499.4 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/0.495, allocations: 159.8 kB / 499.5 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.4956, allocations: 210.4 kB / 499.7 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.4956, allocations: 12 kB / 499.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2003/0.696, allocations: 5.121 MB / 0.493 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.696, allocations: 0 / 0.493 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.6998, allocations: 1.512 MB / 0.4945 GB, free: 103.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.7003, allocations: 244.9 kB / 0.4948 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.824e-05/0.7004, allocations: 20.23 kB / 0.4948 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.7009, allocations: 60.3 kB / 0.4948 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.7012, allocations: 58.41 kB / 0.4949 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.7012, allocations: 20.98 kB / 0.4949 GB, free: 103 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005606/0.7018, allocations: 453.5 kB / 0.4953 GB, free: 102.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7018, allocations: 0 / 0.4953 GB, free: 102.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009299/0.7027, allocations: 287.1 kB / 0.4956 GB, free: 102.8 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.0002327/0.703, allocations: 141 kB / 0.4958 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.7053, allocations: 1.394 MB / 0.4971 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7053, allocations: 6.375 kB / 0.4971 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.7067, allocations: 0.8061 MB / 0.4979 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009166/0.7076, allocations: 221.8 kB / 0.4981 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.7104, allocations: 1.916 MB / 0.5 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.7108, allocations: 0.9596 MB / 0.5009 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.7113, allocations: 95.2 kB / 0.501 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.7115, allocations: 65.42 kB / 0.5011 GB, free: 100.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7115, allocations: 0 / 0.5011 GB, free: 100.2 MB / 378.7 MB Notification: Performance of Templates: time 0.02195/0.7335, allocations: 16.08 MB / 0.5168 GB, free: 94.97 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches