Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 201 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, 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.0007775/0.0007775, allocations: 102.9 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002473, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.203, allocations: 51.28 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09941/0.3025, allocations: 81.07 MB / 490.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.3027, allocations: 74.75 kB / 490.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02511/0.3279, allocations: 9.476 MB / 500 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3279, allocations: 0 / 500 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.925e-05/0.328, allocations: 8 kB / 0.4883 GB, free: 0.8555 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00144/0.3294, allocations: 0.7456 MB / 0.489 GB, free: 48 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3295, allocations: 8.031 kB / 0.489 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.3297, allocations: 64.23 kB / 0.4891 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.3303, allocations: 386.7 kB / 0.4894 GB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3304, allocations: 62.91 kB / 0.4895 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/0.3305, allocations: 36.28 kB / 0.4895 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.3313, allocations: 461.5 kB / 0.49 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3313, allocations: 3.938 kB / 0.49 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.3313, allocations: 16 kB / 0.49 GB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3314, allocations: 8 kB / 0.49 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.332, allocations: 290.5 kB / 0.4903 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.3342, allocations: 1.252 MB / 0.4915 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3352, allocations: 435.9 kB / 0.4919 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.3355, allocations: 149.4 kB / 0.4921 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3356, allocations: 4.375 kB / 0.4921 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3356, allocations: 46.78 kB / 0.4921 GB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.3356, allocations: 0 / 0.4921 GB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001205/0.3368, allocations: 0.6295 MB / 0.4927 GB, free: 11.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/0.3371, allocations: 448.9 kB / 0.4932 GB, free: 11.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.3376, allocations: 445.9 kB / 0.4936 GB, free: 11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.3377, allocations: 37.69 kB / 0.4936 GB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3378, allocations: 228.5 kB / 0.4938 GB, free: 10.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.338, allocations: 122.2 kB / 0.494 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.338, allocations: 4 kB / 0.494 GB, free: 10.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3382, allocations: 362.7 kB / 0.4943 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.3384, allocations: 108 kB / 0.4944 GB, free: 10.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3388, allocations: 258.9 kB / 0.4947 GB, free: 9.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.3393, allocations: 285.3 kB / 0.4949 GB, free: 9.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3394, allocations: 4 kB / 0.4949 GB, free: 9.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007839/0.3401, allocations: 441.8 kB / 0.4954 GB, free: 9.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.3402, allocations: 33.7 kB / 0.4954 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3402, allocations: 0 / 0.4954 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.3404, allocations: 53.72 kB / 0.4954 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.3407, allocations: 71.89 kB / 0.4955 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.3432, allocations: 2.744 MB / 0.4982 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.3435, allocations: 51.75 kB / 0.4982 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.3436, allocations: 12 kB / 0.4982 GB, free: 5.84 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 (37): * Single equations (assignments): 34 * 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.0002509/0.3438, allocations: 170.4 kB / 0.4984 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.3439, allocations: 51.44 kB / 0.4985 GB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.344, allocations: 52.7 kB / 0.4985 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.344, allocations: 8 kB / 0.4985 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3441, allocations: 240 / 0.4985 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007164/0.3448, allocations: 0.657 MB / 0.4992 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3462, allocations: 0.9307 MB / 0.5001 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3463, allocations: 0 / 0.5001 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.3466, allocations: 71.89 kB / 0.5001 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3466, allocations: 0 / 0.5001 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.3467, allocations: 8 kB / 0.5001 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3467, allocations: 0 / 0.5001 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3467, allocations: 0 / 0.5001 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/0.3476, allocations: 0.5419 MB / 0.5007 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.3478, allocations: 164.4 kB / 0.5008 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.3479, allocations: 16.06 kB / 0.5008 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3481, allocations: 19.94 kB / 0.5009 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.3482, allocations: 23.91 kB / 0.5009 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.3482, allocations: 11.98 kB / 0.5009 GB, free: 2.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.3486, allocations: 315.1 kB / 0.5012 GB, free: 2.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3486, allocations: 3.938 kB / 0.5012 GB, free: 2.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004828/0.3491, allocations: 143.8 kB / 0.5013 GB, free: 2.461 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 (33): * Single equations (assignments): 33 * 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.0002006/0.3493, allocations: 119.2 kB / 0.5015 GB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.3503, allocations: 0.5709 MB / 0.502 GB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3503, allocations: 0 / 0.502 GB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.3506, allocations: 131.8 kB / 0.5021 GB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.3513, allocations: 130.6 kB / 0.5023 GB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.3532, allocations: 1.085 MB / 0.5033 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1704/0.5236, allocations: 0.8137 MB / 0.5041 GB, free: 94.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.524, allocations: 55.83 kB / 0.5042 GB, free: 94.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.5241, allocations: 39.5 kB / 0.5042 GB, free: 94.48 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5241, allocations: 3.062 kB / 0.5042 GB, free: 94.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01294/0.5371, allocations: 7.459 MB / 0.5115 GB, free: 94.3 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches