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.0009796/0.0009796, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007666, allocations: 93.03 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.22, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09789/0.3179, allocations: 81.77 MB / 491.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.3182, allocations: 71.97 kB / 491.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0261/0.3443, allocations: 10.01 MB / 0.4895 GB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3444, allocations: 0 / 0.4895 GB, free: 15.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.363e-05/0.3444, allocations: 12 kB / 0.4895 GB, free: 15.57 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.001482/0.3459, allocations: 0.8078 MB / 0.4903 GB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.346, allocations: 8.031 kB / 0.4903 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3461, allocations: 68.19 kB / 0.4903 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.3468, allocations: 410.5 kB / 0.4907 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.347, allocations: 62.91 kB / 0.4908 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.3471, allocations: 32.38 kB / 0.4908 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.348, allocations: 497.4 kB / 0.4913 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.348, allocations: 7.938 kB / 0.4913 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.3481, allocations: 16 kB / 0.4913 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.3481, allocations: 8 kB / 0.4913 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.3489, allocations: 374.4 kB / 0.4917 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.3512, allocations: 1.276 MB / 0.4929 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.352, allocations: 464.3 kB / 0.4934 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.3524, allocations: 196.8 kB / 0.4936 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.3525, allocations: 4 kB / 0.4936 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3525, allocations: 42.5 kB / 0.4936 GB, free: 11.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.226e-06/0.3526, allocations: 4 kB / 0.4936 GB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001612/0.3542, allocations: 0.7716 MB / 0.4944 GB, free: 10.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002303/0.3544, allocations: 452.8 kB / 0.4948 GB, free: 9.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.3549, allocations: 453.9 kB / 0.4952 GB, free: 9.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.355, allocations: 33.7 kB / 0.4953 GB, free: 9.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3552, allocations: 240.4 kB / 0.4955 GB, free: 8.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3553, allocations: 130.1 kB / 0.4956 GB, free: 8.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.3553, allocations: 11.94 kB / 0.4956 GB, free: 8.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3555, allocations: 362.7 kB / 0.496 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.3559, allocations: 151.9 kB / 0.4961 GB, free: 8.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.3563, allocations: 298.5 kB / 0.4964 GB, free: 7.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007615/0.3571, allocations: 375.5 kB / 0.4968 GB, free: 7.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3571, allocations: 0 / 0.4968 GB, free: 7.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001016/0.3582, allocations: 0.5116 MB / 0.4973 GB, free: 7.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.3582, allocations: 29.7 kB / 0.4973 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3582, allocations: 0 / 0.4973 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.3584, allocations: 57.69 kB / 0.4973 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.3588, allocations: 95.88 kB / 0.4974 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.3612, allocations: 2.736 MB / 0.5001 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3616, allocations: 67.7 kB / 0.5002 GB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3617, allocations: 8.656 kB / 0.5002 GB, free: 3.797 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.0002873/0.362, allocations: 169.8 kB / 0.5003 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3621, allocations: 59.38 kB / 0.5004 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.3622, allocations: 56.75 kB / 0.5005 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3622, allocations: 4 kB / 0.5005 GB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3623, allocations: 0 / 0.5005 GB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009781/0.3632, allocations: 0.771 MB / 0.5012 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.365, allocations: 1.06 MB / 0.5023 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.365, allocations: 0 / 0.5023 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.3655, allocations: 95.88 kB / 0.5023 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.3655, allocations: 8 kB / 0.5023 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3655, allocations: 4 kB / 0.5024 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3655, allocations: 0 / 0.5024 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3655, allocations: 8 kB / 0.5024 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.3668, allocations: 0.7096 MB / 0.5031 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.367, allocations: 168.4 kB / 0.5032 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.3671, allocations: 8 kB / 0.5032 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.3675, allocations: 40.03 kB / 0.5033 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.3676, allocations: 19.97 kB / 0.5033 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3676, allocations: 12 kB / 0.5033 GB, free: 404 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000374/0.368, allocations: 323.1 kB / 0.5036 GB, free: 88 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.368, allocations: 0 / 0.5036 GB, free: 88 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.1898/0.5578, allocations: 139.9 kB / 0.5037 GB, free: 94.77 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.000254/0.5581, allocations: 117.5 kB / 0.5038 GB, free: 94.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.5595, allocations: 0.6647 MB / 0.5045 GB, free: 94.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5595, allocations: 3.094 kB / 0.5045 GB, free: 94.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.56, allocations: 203.2 kB / 0.5047 GB, free: 94.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.5608, allocations: 130 kB / 0.5048 GB, free: 94.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.5625, allocations: 1.126 MB / 0.5059 GB, free: 93.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.5628, allocations: 0.8321 MB / 0.5067 GB, free: 93.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.5631, allocations: 59.08 kB / 0.5068 GB, free: 93.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5632, allocations: 40.56 kB / 0.5068 GB, free: 93.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5632, allocations: 0 / 0.5068 GB, free: 93.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01259/0.5758, allocations: 7.998 MB / 0.5146 GB, free: 92.47 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/jenkins1/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