Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.001931, allocations: 199.5 kB / 18.11 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000832/0.0008321, allocations: 95.45 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002911, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2629, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09682/0.3598, allocations: 78.8 MB / 488.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.3601, allocations: 83.94 kB / 488.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.3707, allocations: 3.543 MB / 491.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3708, allocations: 0 / 491.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.3708, allocations: 4 kB / 491.8 MB, free: 9.074 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009773/0.3718, allocations: 0.584 MB / 492.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3718, allocations: 8.031 kB / 492.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.3719, allocations: 32.56 kB / 492.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.3724, allocations: 308.1 kB / 492.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3724, allocations: 9.125 kB / 492.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3725, allocations: 12 kB / 492.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.3727, allocations: 133.4 kB / 492.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3728, allocations: 4 kB / 492.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3728, allocations: 4 kB / 492.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3728, allocations: 4 kB / 492.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.373, allocations: 83.94 kB / 493 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.3739, allocations: 0.5352 MB / 493.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.3744, allocations: 178.7 kB / 493.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3745, allocations: 60.83 kB / 493.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3745, allocations: 0 / 493.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3746, allocations: 34.56 kB / 493.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3746, allocations: 0 / 493.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001516/0.3761, allocations: 0.6703 MB / 494.5 MB, free: 6.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3762, allocations: 59.34 kB / 494.5 MB, free: 6.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.3765, allocations: 328.6 kB / 494.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3766, allocations: 29.7 kB / 494.9 MB, free: 5.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.3767, allocations: 152.4 kB / 495 MB, free: 5.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.3767, allocations: 63.08 kB / 495.1 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-06/0.3768, allocations: 8 kB / 495.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3769, allocations: 334.8 kB / 495.4 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.377, allocations: 67.91 kB / 495.5 MB, free: 5.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3772, allocations: 67.34 kB / 495.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.3775, allocations: 156.6 kB / 495.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3775, allocations: 0 / 495.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003769/0.3779, allocations: 219.8 kB / 495.9 MB, free: 4.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3779, allocations: 4 kB / 495.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3779, allocations: 4 kB / 495.9 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3779, allocations: 0 / 495.9 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.3782, allocations: 59.91 kB / 496 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3782, allocations: 0 / 496 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.3784, allocations: 11.98 kB / 496 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3784, allocations: 4 kB / 496 MB, free: 4.637 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 21 * 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 prepare postOptimizeDAE: time 0.0001249/0.3785, allocations: 133.8 kB / 496.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.3786, allocations: 35.56 kB / 496.2 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.379, allocations: 220.7 kB / 496.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.379, allocations: 4 kB / 496.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.379, allocations: 0 / 496.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.379, allocations: 0 / 496.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.3794, allocations: 325.3 kB / 496.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3794, allocations: 8 kB / 496.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.3798, allocations: 67.89 kB / 496.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3798, allocations: 0 / 496.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3798, allocations: 8 kB / 496.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3798, allocations: 0 / 496.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3798, allocations: 3.984 kB / 496.8 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.3804, allocations: 407.1 kB / 497.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.3805, allocations: 96.81 kB / 497.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.3805, allocations: 8.062 kB / 497.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3807, allocations: 8 kB / 497.3 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3808, allocations: 11.97 kB / 497.3 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3808, allocations: 4 kB / 497.3 MB, free: 3.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.381, allocations: 247.1 kB / 497.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.381, allocations: 0 / 497.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000276/0.3813, allocations: 48 kB / 497.6 MB, free: 2.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.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 (18): * Single equations (assignments): 18 * 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.0001697/0.3815, allocations: 119.1 kB / 497.7 MB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.3818, allocations: 163.7 kB / 497.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3819, allocations: 0 / 497.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.382, allocations: 83.91 kB / 498 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3824, allocations: 43.48 kB / 498 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3838, allocations: 0.8329 MB / 498.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3841, allocations: 0.7638 MB / 499.6 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.3842, allocations: 34.28 kB / 499.6 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.3843, allocations: 27.42 kB / 499.7 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3843, allocations: 8 kB / 499.7 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of Templates: time 0.006181/0.3905, allocations: 2.414 MB / 0.4903 GB, free: 14.46 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches