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.0008985/0.0008986, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0009581/0.0009582, allocations: 92.14 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.705e-05, allocations: 7.984 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 50.41 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.4358, allocations: 77.33 MB / 464.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.436, allocations: 81.94 kB / 464.9 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01011/0.4462, allocations: 3.447 MB / 468.3 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4462, allocations: 0 / 468.3 MB, free: 14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.4462, allocations: 4 kB / 468.3 MB, free: 14 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.0005851/0.4468, allocations: 0.4924 MB / 468.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4469, allocations: 12.03 kB / 468.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.4469, allocations: 31.58 kB / 468.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.4473, allocations: 299.9 kB / 469.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4474, allocations: 0 / 469.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.4474, allocations: 8 kB / 469.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001414/0.4475, allocations: 67.98 kB / 469.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.4477, allocations: 109.5 kB / 469.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4478, allocations: 3.984 kB / 469.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4478, allocations: 3.953 kB / 469.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4478, allocations: 4 kB / 469.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.4485, allocations: 0.489 MB / 469.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.449, allocations: 162.7 kB / 470 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.4491, allocations: 52.84 kB / 470 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.4491, allocations: 8 kB / 470.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4491, allocations: 30.78 kB / 470.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.4492, allocations: 0 / 470.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001178/0.4503, allocations: 0.5694 MB / 470.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4504, allocations: 59.41 kB / 470.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4507, allocations: 281.2 kB / 471 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.4507, allocations: 25.7 kB / 471 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.4508, allocations: 152.3 kB / 471.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.4509, allocations: 63.09 kB / 471.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-06/0.4509, allocations: 0 / 471.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.451, allocations: 342.8 kB / 471.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4511, allocations: 60.36 kB / 471.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.4512, allocations: 52.5 kB / 471.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.4513, allocations: 64.91 kB / 471.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4513, allocations: 0.9375 kB / 471.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002874/0.4516, allocations: 197.3 kB / 471.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4516, allocations: 4 kB / 471.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4517, allocations: 0 / 471.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4517, allocations: 4 kB / 471.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.452, allocations: 55.91 kB / 472 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.452, allocations: 0.7031 kB / 472 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.4521, allocations: 11.98 kB / 472 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4522, allocations: 4 kB / 472 MB, free: 10.08 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.813e-05/0.4523, allocations: 112.9 kB / 472.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.4523, allocations: 31.56 kB / 472.1 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.4527, allocations: 193.7 kB / 472.3 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4527, allocations: 4 kB / 472.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4527, allocations: 0 / 472.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4527, allocations: 7.984 kB / 472.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.453, allocations: 290 kB / 472.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.453, allocations: 0 / 472.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.4534, allocations: 55.95 kB / 472.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4534, allocations: 0 / 472.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.4534, allocations: 8 kB / 472.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4534, allocations: 0 / 472.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4534, allocations: 0 / 472.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.4539, allocations: 367.2 kB / 473 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.454, allocations: 108.7 kB / 473.2 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.454, allocations: 4.188 kB / 473.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.4542, allocations: 11.98 kB / 473.2 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.4543, allocations: 7.984 kB / 473.2 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4543, allocations: 7.984 kB / 473.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00021/0.4545, allocations: 224.6 kB / 473.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4545, allocations: 0 / 473.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000266/0.4548, allocations: 44 kB / 473.4 MB, free: 8.555 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.0001392/0.4549, allocations: 115.2 kB / 473.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.4552, allocations: 131.9 kB / 473.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4552, allocations: 0 / 473.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.4553, allocations: 75.92 kB / 473.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.4556, allocations: 29.2 kB / 473.8 MB, free: 8.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.4566, allocations: 0.6049 MB / 474.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.457, allocations: 0.7677 MB / 475.2 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.4571, allocations: 30.06 kB / 475.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.4572, allocations: 31.42 kB / 475.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4572, allocations: 0 / 475.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of Templates: time 0.005145/0.4623, allocations: 2.213 MB / 477.4 MB, free: 4.539 MB / 346.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