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.001391/0.001391, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008288/0.0008288, allocations: 88.73 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.206e-05, allocations: 0 / 350.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09223, allocations: 51.48 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.4745, allocations: 78.8 MB / 480.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.4748, allocations: 88.34 kB / 480.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.489, allocations: 3.53 MB / 484.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.489, allocations: 0 / 484.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.4891, allocations: 4 kB / 484.5 MB, free: 7.625 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000727/0.4898, allocations: 0.492 MB / 484.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.4899, allocations: 8.031 kB / 485 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.49, allocations: 27.62 kB / 485 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.4905, allocations: 303.1 kB / 485.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.4905, allocations: 9.359 kB / 485.3 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.4906, allocations: 11.31 kB / 485.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.4909, allocations: 123.9 kB / 485.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.491, allocations: 4 kB / 485.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.491, allocations: 5.641 kB / 485.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.491, allocations: 4 kB / 485.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.4912, allocations: 68.48 kB / 485.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.4923, allocations: 0.5235 MB / 486 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.4929, allocations: 161.7 kB / 486.2 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.493, allocations: 54.42 kB / 486.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.4931, allocations: 9.078 kB / 486.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.4931, allocations: 40.64 kB / 486.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.4931, allocations: 0 / 486.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001688/0.4948, allocations: 0.5979 MB / 486.9 MB, free: 5.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4949, allocations: 51.41 kB / 486.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.4954, allocations: 301 kB / 487.2 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4954, allocations: 29.39 kB / 487.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4955, allocations: 151.7 kB / 487.4 MB, free: 4.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.4956, allocations: 65.91 kB / 487.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.4956, allocations: 0 / 487.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.4957, allocations: 341.1 kB / 487.8 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.4959, allocations: 56.86 kB / 487.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.4961, allocations: 61.75 kB / 487.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.4963, allocations: 66.66 kB / 488 MB, free: 4.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4963, allocations: 0 / 488 MB, free: 4.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004711/0.4967, allocations: 209.2 kB / 488.2 MB, free: 4.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4968, allocations: 8 kB / 488.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4968, allocations: 3.953 kB / 488.2 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4968, allocations: 3.984 kB / 488.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.4972, allocations: 55.97 kB / 488.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.4973, allocations: 0.5 kB / 488.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.4975, allocations: 17.14 kB / 488.3 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.4976, allocations: 4 kB / 488.3 MB, free: 4.176 MB / 346.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 () * 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 7.036e-05/0.4976, allocations: 116.1 kB / 488.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.4977, allocations: 27.62 kB / 488.4 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.4981, allocations: 206 kB / 488.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4981, allocations: 9.688 kB / 488.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4981, allocations: 0 / 488.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4981, allocations: 11.98 kB / 488.6 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.4984, allocations: 319.9 kB / 488.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4984, allocations: 0 / 488.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.4987, allocations: 59.89 kB / 489 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4988, allocations: 0 / 489 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.4988, allocations: 11.89 kB / 489 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4988, allocations: 0 / 489 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4988, allocations: 7.891 kB / 489 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.4992, allocations: 376 kB / 489.4 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.4992, allocations: 108.2 kB / 489.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.4993, allocations: 3.656 kB / 489.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.4995, allocations: 15.61 kB / 489.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.4995, allocations: 11.94 kB / 489.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4995, allocations: 7.312 kB / 489.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.4997, allocations: 243.9 kB / 489.8 MB, free: 2.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4997, allocations: 0 / 489.8 MB, free: 2.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.5, allocations: 51.69 kB / 489.8 MB, free: 2.801 MB / 346.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 () * 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.0001046/0.5001, allocations: 110.7 kB / 489.9 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.5003, allocations: 147.2 kB / 490.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5004, allocations: 0 / 490.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.5005, allocations: 76.06 kB / 490.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.5007, allocations: 31.67 kB / 490.2 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.5016, allocations: 0.5996 MB / 490.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.5018, allocations: 0.7716 MB / 491.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.794e-05/0.5019, allocations: 30.06 kB / 491.6 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.502, allocations: 26.17 kB / 491.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.502, allocations: 0 / 491.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of Templates: time 0.005039/0.5071, allocations: 2.423 MB / 494 MB, free: 14.76 MB / 362.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/jenkins/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