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.001064/0.001064, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.383/1.383, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008914/0.0008915, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.54e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08559, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4377, allocations: 82.3 MB / 452.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.438, allocations: 71.31 kB / 452.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04398/0.482, allocations: 16.44 MB / 468.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.482, allocations: 0 / 468.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.4821, allocations: 20 kB / 468.8 MB, free: 11.93 MB / 346.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.001781/0.4838, allocations: 1.069 MB / 469.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4839, allocations: 11.97 kB / 469.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.4841, allocations: 114.7 kB / 470 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/0.4849, allocations: 0.5244 MB / 470.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.4851, allocations: 146.3 kB / 470.7 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.512e-05/0.4852, allocations: 60 kB / 470.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4863, allocations: 0.7808 MB / 471.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4863, allocations: 0 / 471.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.4864, allocations: 28 kB / 471.6 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4864, allocations: 12 kB / 471.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.4873, allocations: 0.4933 MB / 472.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.4906, allocations: 2.096 MB / 474.2 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4917, allocations: 0.9165 MB / 475.1 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.4921, allocations: 327 kB / 475.4 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.4922, allocations: 12.78 kB / 475.4 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.4923, allocations: 43.34 kB / 475.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 2.505e-06/0.4923, allocations: 4 kB / 475.5 MB, free: 4.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002074/0.4943, allocations: 0.9006 MB / 476.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003162/0.4947, allocations: 0.8273 MB / 477.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.4954, allocations: 0.5484 MB / 477.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.4955, allocations: 41.7 kB / 477.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.4957, allocations: 337 kB / 478.1 MB, free: 2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.4959, allocations: 256.2 kB / 478.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.4959, allocations: 16 kB / 478.4 MB, free: 1.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4961, allocations: 390.7 kB / 478.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.4965, allocations: 217.6 kB / 479 MB, free: 1.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.4971, allocations: 0.4899 MB / 479.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.4976, allocations: 345.5 kB / 479.8 MB, free: 192 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4976, allocations: 0 / 479.8 MB, free: 192 kB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002159/0.4998, allocations: 1.042 MB / 480.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.4998, allocations: 85.06 kB / 480.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4998, allocations: 7.938 kB / 480.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.5005, allocations: 211.2 kB / 481.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.5011, allocations: 147.8 kB / 481.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006179/0.5073, allocations: 6.215 MB / 487.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009644/0.5083, allocations: 131.2 kB / 487.6 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.5084, allocations: 20 kB / 487.6 MB, free: 7.738 MB / 362.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 () * 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.0002529/0.5086, allocations: 152.9 kB / 487.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.5088, allocations: 91.28 kB / 487.9 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.509, allocations: 88.06 kB / 488 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.5091, allocations: 11.98 kB / 488 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5091, allocations: 4 kB / 488 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001903/0.511, allocations: 1.174 MB / 489.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.5142, allocations: 1.867 MB / 491 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5143, allocations: 4 kB / 491 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.5149, allocations: 155.8 kB / 491.2 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.5154, allocations: 166.4 kB / 491.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.5154, allocations: 12 kB / 491.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005588/0.521, allocations: 4.794 MB / 496.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5211, allocations: 0 / 496.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.5238, allocations: 1.289 MB / 497.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.5243, allocations: 236 kB / 497.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5244, allocations: 23.98 kB / 497.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.5249, allocations: 55.97 kB / 497.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.5252, allocations: 68.64 kB / 497.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.5252, allocations: 20.11 kB / 497.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005913/0.5258, allocations: 443.2 kB / 498.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5258, allocations: 0 / 498.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009411/0.5268, allocations: 295.7 kB / 498.6 MB, free: 12.18 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 () * 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.0002312/0.527, allocations: 135.1 kB / 498.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.5287, allocations: 1.235 MB / 499.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5287, allocations: 4 kB / 499.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.5299, allocations: 0.7307 MB / 0.4889 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009676/0.5309, allocations: 218.2 kB / 0.4891 GB, free: 9.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.5331, allocations: 1.216 MB / 0.4903 GB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.5336, allocations: 0.9597 MB / 0.4913 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004228/0.5341, allocations: 94.2 kB / 0.4913 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5342, allocations: 63.42 kB / 0.4914 GB, free: 7.344 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5343, allocations: 0 / 0.4914 GB, free: 7.344 MB / 378.7 MB Notification: Performance of Templates: time 0.02722/0.5615, allocations: 16.09 MB / 0.5071 GB, free: 7.223 MB / 394.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