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.001013/0.001014, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.244/1.244, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008015, allocations: 93.8 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.355e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.0903, allocations: 50.42 MB / 394.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2736/0.3639, allocations: 77.99 MB / 472.2 MB, free: 9.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3642, allocations: 83.78 kB / 472.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.3747, allocations: 3.467 MB / 475.8 MB, free: 6 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3748, allocations: 0 / 475.8 MB, free: 6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3748, allocations: 8 kB / 475.8 MB, free: 5.992 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.0006531/0.3755, allocations: 0.4905 MB / 476.3 MB, free: 5.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3755, allocations: 12.03 kB / 476.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.3756, allocations: 35.52 kB / 476.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.376, allocations: 303.9 kB / 476.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3761, allocations: 8 kB / 476.6 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3761, allocations: 12 kB / 476.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.3764, allocations: 129.5 kB / 476.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3764, allocations: 0 / 476.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3764, allocations: 0 / 476.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3764, allocations: 7.953 kB / 476.8 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3766, allocations: 64 kB / 476.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.3775, allocations: 0.5275 MB / 477.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.378, allocations: 166.7 kB / 477.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3781, allocations: 56.86 kB / 477.6 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3781, allocations: 0 / 477.6 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3782, allocations: 34.78 kB / 477.6 MB, free: 3.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.3782, allocations: 0 / 477.6 MB, free: 3.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001257/0.3794, allocations: 0.5994 MB / 478.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3795, allocations: 56.31 kB / 478.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.3798, allocations: 302.7 kB / 478.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3798, allocations: 25.7 kB / 478.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3799, allocations: 156.3 kB / 478.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.38, allocations: 63.09 kB / 478.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.38, allocations: 4 kB / 478.8 MB, free: 2.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3802, allocations: 342.8 kB / 479.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3803, allocations: 60.38 kB / 479.2 MB, free: 2.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.3804, allocations: 59.73 kB / 479.3 MB, free: 2.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3806, allocations: 60.92 kB / 479.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3806, allocations: 0 / 479.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003281/0.3809, allocations: 210.1 kB / 479.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3809, allocations: 8 kB / 479.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3809, allocations: 0 / 479.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.381, allocations: 0 / 479.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.3813, allocations: 63.89 kB / 479.6 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3813, allocations: 4 kB / 479.6 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3814, allocations: 8 kB / 479.6 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.3815, allocations: 7.953 kB / 479.6 MB, free: 1.902 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.253e-05/0.3815, allocations: 116.9 kB / 479.7 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.3816, allocations: 27.62 kB / 479.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.3819, allocations: 213.8 kB / 480 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.382, allocations: 0 / 480 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.382, allocations: 7.938 kB / 480 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.382, allocations: 0 / 480 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.3823, allocations: 329.4 kB / 480.3 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3823, allocations: 0 / 480.3 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.3827, allocations: 59.89 kB / 480.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3827, allocations: 0 / 480.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3827, allocations: 8 kB / 480.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3827, allocations: 0 / 480.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3828, allocations: 7.984 kB / 480.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.3832, allocations: 368.4 kB / 480.7 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3833, allocations: 112.8 kB / 480.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3833, allocations: 4 kB / 480.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3835, allocations: 4 kB / 480.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3836, allocations: 23.88 kB / 480.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3836, allocations: 4 kB / 480.9 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.3838, allocations: 246.1 kB / 481.1 MB, free: 312 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3838, allocations: 0 / 481.1 MB, free: 312 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.3841, allocations: 52 kB / 481.2 MB, free: 260 kB / 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.000118/0.3842, allocations: 103.2 kB / 481.3 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3845, allocations: 143.9 kB / 481.4 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3845, allocations: 0 / 481.4 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3846, allocations: 80 kB / 481.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3849, allocations: 33.97 kB / 481.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.386, allocations: 0.5938 MB / 482.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3863, allocations: 0.7755 MB / 482.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3864, allocations: 34.05 kB / 482.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.3865, allocations: 19.44 kB / 482.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3865, allocations: 4 kB / 483 MB, free: 14.42 MB / 362.7 MB Notification: Performance of Templates: time 0.005249/0.3918, allocations: 2.431 MB / 485.4 MB, free: 12.04 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/jenkins/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