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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009045/0.0009045, allocations: 91.47 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 181.3 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.0002219, allocations: 7.938 kB / 302.1 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07361/0.07385, allocations: 50.42 MB / 352.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001872/0.07574, allocations: 1.765 MB / 354.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.0766, allocations: 0.5458 MB / 354.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.955e-05/0.07672, allocations: 8 kB / 354.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.713e-05/0.07681, allocations: 15.8 kB / 354.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.07705, allocations: 55.62 kB / 354.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.07722, allocations: 47.94 kB / 354.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.07749, allocations: 247 kB / 355.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.07762, allocations: 56.67 kB / 355.2 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.07776, allocations: 91.44 kB / 355.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.07792, allocations: 127.2 kB / 355.5 MB, free: 480 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.07797, allocations: 8 kB / 355.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.571e-05/0.078, allocations: 12 kB / 355.5 MB, free: 460 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.07807, allocations: 51.69 kB / 355.5 MB, free: 408 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.07818, allocations: 132.9 kB / 355.7 MB, free: 268 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.07834, allocations: 163.8 kB / 355.8 MB, free: 104 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.07835, allocations: 0 / 355.8 MB, free: 104 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.07836, allocations: 0 / 355.8 MB, free: 104 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.07837, allocations: 0 / 355.8 MB, free: 104 kB / 286.1 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.000906/0.07928, allocations: 0.5645 MB / 356.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.07932, allocations: 8.031 kB / 356.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.07938, allocations: 32.56 kB / 356.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.07975, allocations: 312.1 kB / 356.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.07978, allocations: 12.12 kB / 356.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.07982, allocations: 15.98 kB / 356.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.08008, allocations: 121.6 kB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.0801, allocations: 0 / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.08012, allocations: 8 kB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.08013, allocations: 0 / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.08033, allocations: 87.95 kB / 357 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.0811, allocations: 0.5118 MB / 357.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.08159, allocations: 186.7 kB / 357.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.08173, allocations: 60.83 kB / 357.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.08176, allocations: 12.17 kB / 357.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.08179, allocations: 38.5 kB / 357.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.08179, allocations: 0 / 357.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001431/0.08323, allocations: 0.6682 MB / 358.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.08327, allocations: 55.41 kB / 358.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.08363, allocations: 336.5 kB / 358.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.08366, allocations: 25.7 kB / 358.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.08376, allocations: 164.3 kB / 359 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.08382, allocations: 55.11 kB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.08387, allocations: 33.64 kB / 359.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.08397, allocations: 334.8 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.08412, allocations: 67.91 kB / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.08425, allocations: 63.97 kB / 359.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.08454, allocations: 147.5 kB / 359.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.08455, allocations: 4 kB / 359.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003687/0.08492, allocations: 218.7 kB / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.08495, allocations: 4 kB / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.08496, allocations: 0 / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.08497, allocations: 0 / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.08526, allocations: 59.91 kB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.08528, allocations: 3.938 kB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.08545, allocations: 15.98 kB / 360 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.08547, allocations: 4 kB / 360 MB, free: 11.65 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.08558, allocations: 133.8 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.08565, allocations: 27.62 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.08607, allocations: 224.6 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.08609, allocations: 8 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.0861, allocations: 7.922 kB / 360.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.08611, allocations: 0 / 360.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.08644, allocations: 317.4 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.08645, allocations: 0 / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.08683, allocations: 67.89 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.08684, allocations: 0 / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.08687, allocations: 4 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.08688, allocations: 4 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.08688, allocations: 7.875 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.08744, allocations: 397.6 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.08753, allocations: 100.7 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.08758, allocations: 8.062 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.08779, allocations: 8 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.08785, allocations: 19.91 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.08787, allocations: 4 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.08812, allocations: 251.1 kB / 361.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.08812, allocations: 3.938 kB / 361.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.08841, allocations: 40 kB / 361.6 MB, free: 9.949 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.758e-05/0.0885, allocations: 111.1 kB / 361.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.08884, allocations: 163.9 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.08885, allocations: 0 / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.08901, allocations: 87.91 kB / 362 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.08938, allocations: 37.02 kB / 362 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.09071, allocations: 0.9063 MB / 362.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.09099, allocations: 0.7677 MB / 363.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.09109, allocations: 27.44 kB / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.0911, allocations: 0 / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of Templates: time 0.004706/0.09581, allocations: 3.053 MB / 366.7 MB, free: 4.746 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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