Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 109 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 8.957 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 60.44 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1068, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003778/0.1106, allocations: 2.141 MB / 359.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1119, allocations: 0.5691 MB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.112, allocations: 4 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1122, allocations: 19.8 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1125, allocations: 51.62 kB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1128, allocations: 47.94 kB / 360.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.1131, allocations: 247.1 kB / 360.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1133, allocations: 60.69 kB / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1135, allocations: 95.5 kB / 360.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1137, allocations: 131.2 kB / 360.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1138, allocations: 16 kB / 360.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.1138, allocations: 12 kB / 360.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.1139, allocations: 63.62 kB / 360.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1141, allocations: 103.2 kB / 361 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1142, allocations: 167.9 kB / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1143, allocations: 0 / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1143, allocations: 0 / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1143, allocations: 3.938 kB / 361.2 MB, free: 10.54 MB / 302.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.001197/0.1155, allocations: 0.5994 MB / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1155, allocations: 16.03 kB / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.1156, allocations: 28.56 kB / 361.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.116, allocations: 312 kB / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.116, allocations: 12.12 kB / 362.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.1161, allocations: 12 kB / 362.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.1163, allocations: 130.6 kB / 362.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1164, allocations: 0 / 362.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.1164, allocations: 4 kB / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1164, allocations: 0 / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1166, allocations: 83.91 kB / 362.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.1175, allocations: 0.5236 MB / 362.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.118, allocations: 174.7 kB / 363 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1181, allocations: 56.84 kB / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1182, allocations: 7.938 kB / 363.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1182, allocations: 42.55 kB / 363.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1182, allocations: 0 / 363.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001562/0.1198, allocations: 0.653 MB / 363.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1198, allocations: 55.41 kB / 363.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.1202, allocations: 332.6 kB / 364.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1203, allocations: 29.7 kB / 364.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1204, allocations: 160.2 kB / 364.4 MB, free: 7.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.1204, allocations: 55.2 kB / 364.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.1205, allocations: 37.7 kB / 364.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1206, allocations: 338.8 kB / 364.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1208, allocations: 67.84 kB / 364.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.121, allocations: 71.34 kB / 364.9 MB, free: 6.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1212, allocations: 136.8 kB / 365 MB, free: 6.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1212, allocations: 0 / 365 MB, free: 6.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003813/0.1216, allocations: 216 kB / 365.3 MB, free: 6.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1216, allocations: 7.938 kB / 365.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1217, allocations: 0 / 365.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1217, allocations: 4 kB / 365.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.122, allocations: 63.84 kB / 365.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.122, allocations: 7.922 kB / 365.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1222, allocations: 8 kB / 365.3 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1222, allocations: 4 kB / 365.4 MB, free: 6.07 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.0001283/0.1223, allocations: 134.4 kB / 365.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.1224, allocations: 39.53 kB / 365.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.1229, allocations: 219.1 kB / 365.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1229, allocations: 8 kB / 365.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1229, allocations: 7.938 kB / 365.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1229, allocations: 0 / 365.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1233, allocations: 321.4 kB / 366.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1233, allocations: 0 / 366.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.1237, allocations: 63.89 kB / 366.1 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1237, allocations: 4 kB / 366.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.1237, allocations: 4 kB / 366.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1237, allocations: 0 / 366.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1237, allocations: 11.94 kB / 366.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.1243, allocations: 383 kB / 366.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.1244, allocations: 104.7 kB / 366.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.1245, allocations: 4.062 kB / 366.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1247, allocations: 8 kB / 366.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.1247, allocations: 19.91 kB / 366.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1248, allocations: 0 / 366.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.125, allocations: 255.1 kB / 366.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1251, allocations: 0 / 366.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1253, allocations: 40 kB / 366.9 MB, free: 4.383 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 0.0001359/0.1255, allocations: 111.2 kB / 367.1 MB, free: 4.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.1258, allocations: 151.9 kB / 367.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1258, allocations: 0 / 367.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.126, allocations: 87.91 kB / 367.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1264, allocations: 40.47 kB / 367.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1279, allocations: 0.8208 MB / 368.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1282, allocations: 0.7716 MB / 368.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.1283, allocations: 23.44 kB / 368.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1283, allocations: 0 / 368.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of Templates: time 0.1698/0.2981, allocations: 3.073 MB / 372 MB, free: 19.72 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches