Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 179.7 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 241.4 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007549/0.0007549, allocations: 91.89 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004411, allocations: 11.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2773, allocations: 50.41 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3791, allocations: 78.1 MB / 480.9 MB, free: 2.262 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.3794, allocations: 79.95 kB / 480.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.3897, allocations: 3.494 MB / 484.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3897, allocations: 0 / 484.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.3897, allocations: 4 kB / 484.4 MB, free: 14.68 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.0009617/0.3907, allocations: 0.5799 MB / 485 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.3908, allocations: 8.25 kB / 485 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.3909, allocations: 32.56 kB / 485 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.3913, allocations: 312.1 kB / 485.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3913, allocations: 9.125 kB / 485.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.3914, allocations: 12 kB / 485.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.3917, allocations: 133.4 kB / 485.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3917, allocations: 4 kB / 485.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3917, allocations: 4 kB / 485.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3917, allocations: 4 kB / 485.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3919, allocations: 79.97 kB / 485.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.3927, allocations: 0.5275 MB / 486.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.3932, allocations: 178.6 kB / 486.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3933, allocations: 60.84 kB / 486.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3934, allocations: 0 / 486.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3934, allocations: 42.55 kB / 486.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.3934, allocations: 0 / 486.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001476/0.3949, allocations: 0.6724 MB / 487.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3949, allocations: 55.41 kB / 487.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.3953, allocations: 332.6 kB / 487.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.3953, allocations: 25.7 kB / 487.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3955, allocations: 160.2 kB / 487.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.3955, allocations: 63.11 kB / 487.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.3955, allocations: 4 kB / 487.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3957, allocations: 342.8 kB / 488 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3958, allocations: 55.98 kB / 488.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.396, allocations: 70.97 kB / 488.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3962, allocations: 148.8 kB / 488.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3963, allocations: 0 / 488.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003548/0.3966, allocations: 215.3 kB / 488.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3966, allocations: 8 kB / 488.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3967, allocations: 0 / 488.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3967, allocations: 0 / 488.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.397, allocations: 63.89 kB / 488.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.397, allocations: 4 kB / 488.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3971, allocations: 8 kB / 488.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.3971, allocations: 11.94 kB / 488.6 MB, free: 10.24 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.0001274/0.3973, allocations: 133.7 kB / 488.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.3973, allocations: 35.62 kB / 488.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.3978, allocations: 215.5 kB / 489 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3978, allocations: 7.984 kB / 489 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3978, allocations: 4 kB / 489 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3978, allocations: 0 / 489 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.3982, allocations: 341.2 kB / 489.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3982, allocations: 0 / 489.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.3986, allocations: 59.89 kB / 489.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3986, allocations: 4 kB / 489.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.3986, allocations: 7.984 kB / 489.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3986, allocations: 0 / 489.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3986, allocations: 0 / 489.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.3992, allocations: 394.9 kB / 489.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.3993, allocations: 104.9 kB / 489.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3993, allocations: 0 / 489.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3995, allocations: 19.92 kB / 489.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.3996, allocations: 11.98 kB / 489.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3996, allocations: 8 kB / 489.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.3998, allocations: 251 kB / 490.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3998, allocations: 0 / 490.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.4001, allocations: 44 kB / 490.2 MB, free: 8.539 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.0001418/0.4003, allocations: 107.2 kB / 490.3 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.4006, allocations: 163.8 kB / 490.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4006, allocations: 0 / 490.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4007, allocations: 87.89 kB / 490.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.4011, allocations: 34.91 kB / 490.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.4025, allocations: 0.8566 MB / 491.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.4029, allocations: 0.7716 MB / 492.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.403, allocations: 26.28 kB / 492.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.4031, allocations: 27.42 kB / 492.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4031, allocations: 0 / 492.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of Templates: time 0.00561/0.4087, allocations: 2.417 MB / 494.7 MB, free: 4.043 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches