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.001571/0.00157, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.328/1.328, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0009659/0.0009657, allocations: 93.52 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2363, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0935/0.3299, allocations: 78.06 MB / 479.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.3301, allocations: 83.94 kB / 479.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.3402, allocations: 3.478 MB / 483.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3402, allocations: 4 kB / 483.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3402, allocations: 4 kB / 483.1 MB, free: 14.81 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.0008897/0.3411, allocations: 0.5837 MB / 483.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3412, allocations: 12.19 kB / 483.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3413, allocations: 35.58 kB / 483.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.3417, allocations: 295 kB / 484.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3417, allocations: 12 kB / 484.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.3417, allocations: 12 kB / 484.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.342, allocations: 121.6 kB / 484.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.342, allocations: 0 / 484.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.342, allocations: 4 kB / 484.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3421, allocations: 7.953 kB / 484.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.3422, allocations: 79.95 kB / 484.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.3431, allocations: 0.5275 MB / 484.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.3436, allocations: 182.7 kB / 485 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3436, allocations: 0 / 485 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3436, allocations: 34.56 kB / 485 MB, free: 12.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.3436, allocations: 4 kB / 485 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001465/0.3451, allocations: 0.6756 MB / 485.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.3452, allocations: 55.41 kB / 485.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.3455, allocations: 299.7 kB / 486.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3455, allocations: 29.7 kB / 486.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3456, allocations: 152.3 kB / 486.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.3457, allocations: 63.09 kB / 486.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.3457, allocations: 4 kB / 486.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3458, allocations: 346.8 kB / 486.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.346, allocations: 64.34 kB / 486.7 MB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3461, allocations: 68.72 kB / 486.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.3463, allocations: 64.94 kB / 486.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-06/0.3463, allocations: 0 / 486.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003589/0.3466, allocations: 216.8 kB / 487 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3467, allocations: 8 kB / 487 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3467, allocations: 3.938 kB / 487.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3467, allocations: 4 kB / 487.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.347, allocations: 59.95 kB / 487.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.347, allocations: 0 / 487.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.3472, allocations: 8 kB / 487.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3472, allocations: 8 kB / 487.1 MB, free: 10.56 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.0001345/0.3473, allocations: 141.7 kB / 487.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.3474, allocations: 31.62 kB / 487.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.3478, allocations: 227.4 kB / 487.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3479, allocations: 0 / 487.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3479, allocations: 3.938 kB / 487.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3479, allocations: 0 / 487.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.3483, allocations: 329.4 kB / 487.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3483, allocations: 4 kB / 487.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.3486, allocations: 59.89 kB / 487.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3486, allocations: 0 / 487.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3487, allocations: 11.98 kB / 487.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3487, allocations: 0 / 487.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3487, allocations: 0 / 487.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.3493, allocations: 395 kB / 488.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.3494, allocations: 104.9 kB / 488.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.3494, allocations: 0 / 488.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3496, allocations: 11.98 kB / 488.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.3497, allocations: 15.92 kB / 488.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3497, allocations: 8 kB / 488.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.3499, allocations: 243 kB / 488.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.35, allocations: 0 / 488.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.3502, allocations: 51.94 kB / 488.7 MB, free: 8.859 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.0001478/0.3504, allocations: 107.2 kB / 488.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.3507, allocations: 159.8 kB / 489 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3508, allocations: 0 / 489 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.3509, allocations: 90.23 kB / 489.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3512, allocations: 46.11 kB / 489.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3527, allocations: 0.8464 MB / 490 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.3532, allocations: 0.7716 MB / 490.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.3534, allocations: 30.28 kB / 490.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.3535, allocations: 31.42 kB / 490.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3535, allocations: 0 / 490.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of Templates: time 0.005856/0.3593, allocations: 2.395 MB / 493.2 MB, free: 4.375 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