Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001529, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.903/1.903, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001117/0.001117, allocations: 96.36 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4605, allocations: 81.66 MB / 456.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4608, allocations: 75.97 kB / 456.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04378/0.5046, allocations: 10.08 MB / 466.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.123e-05/0.5047, allocations: 0 / 466.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.093e-05/0.5047, allocations: 11.94 kB / 466.4 MB, free: 4.875 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0021/0.5068, allocations: 0.8195 MB / 467.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.5069, allocations: 12.03 kB / 467.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.5071, allocations: 63.25 kB / 467.3 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.508, allocations: 389.5 kB / 467.6 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.5081, allocations: 66.64 kB / 467.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5083, allocations: 32 kB / 467.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.5096, allocations: 489 kB / 468.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.5097, allocations: 7.984 kB / 468.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.5098, allocations: 19.94 kB / 468.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.5098, allocations: 8 kB / 468.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.5113, allocations: 370.4 kB / 468.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.5152, allocations: 1.276 MB / 469.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.5167, allocations: 466.8 kB / 470.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.225e-05/0.5168, allocations: 4 kB / 470.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.5169, allocations: 42.56 kB / 470.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.615e-06/0.5169, allocations: 0 / 470.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002864/0.5198, allocations: 0.7822 MB / 471.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002276/0.52, allocations: 448.9 kB / 471.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007809/0.5208, allocations: 397.1 kB / 472 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.259e-05/0.5209, allocations: 33.7 kB / 472 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.5211, allocations: 274.9 kB / 472.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5213, allocations: 126.8 kB / 472.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.5214, allocations: 4 kB / 472.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5215, allocations: 334.8 kB / 472.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.5223, allocations: 151.9 kB / 472.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008538/0.5231, allocations: 302 kB / 473.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.5239, allocations: 198.5 kB / 473.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5239, allocations: 3.938 kB / 473.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001783/0.5257, allocations: 496.5 kB / 473.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.5258, allocations: 33.7 kB / 473.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5258, allocations: 0 / 473.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.526, allocations: 49.64 kB / 474 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.5268, allocations: 91.94 kB / 474 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.5302, allocations: 2.764 MB / 476.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/0.531, allocations: 67.61 kB / 476.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.5311, allocations: 8 kB / 476.9 MB, free: 9.547 MB / 362.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.0003586/0.5314, allocations: 173.7 kB / 477.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.5316, allocations: 51.44 kB / 477.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.5317, allocations: 56.75 kB / 477.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5318, allocations: 4 kB / 477.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5318, allocations: 4 kB / 477.2 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001684/0.5335, allocations: 0.7634 MB / 477.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.5363, allocations: 1.068 MB / 479 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5363, allocations: 0 / 479 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.5372, allocations: 95.88 kB / 479.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.5372, allocations: 4 kB / 479.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.5372, allocations: 7.984 kB / 479.1 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.5373, allocations: 12 kB / 479.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5373, allocations: 0 / 479.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.5396, allocations: 0.7015 MB / 479.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.54, allocations: 164.5 kB / 480 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.5401, allocations: 8 kB / 480 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/0.5407, allocations: 44.03 kB / 480 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5408, allocations: 15.97 kB / 480 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.5408, allocations: 12 kB / 480.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005873/0.5414, allocations: 323.1 kB / 480.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5414, allocations: 0 / 480.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000668/0.5421, allocations: 147.7 kB / 480.5 MB, free: 5.703 MB / 362.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.0002371/0.5424, allocations: 139 kB / 480.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.5444, allocations: 0.6726 MB / 481.3 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5444, allocations: 0 / 481.3 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007581/0.5452, allocations: 199.8 kB / 481.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5462, allocations: 135.6 kB / 481.6 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.5489, allocations: 1.136 MB / 482.8 MB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.5494, allocations: 0.8394 MB / 483.6 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.5497, allocations: 43.42 kB / 483.7 MB, free: 2.441 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5497, allocations: 11.94 kB / 483.7 MB, free: 2.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01837/0.5681, allocations: 8.48 MB / 492.2 MB, free: 9.969 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches