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.001353/0.001354, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 62.2 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09087, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002987/0.09389, allocations: 2.082 MB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.09483, allocations: 0.5807 MB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.09493, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.09504, allocations: 23.67 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.09528, allocations: 71.42 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.09545, allocations: 51.92 kB / 361.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.09572, allocations: 263 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.09586, allocations: 56.72 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.09604, allocations: 115.4 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.09621, allocations: 135.3 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.09625, allocations: 20 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.002e-05/0.09629, allocations: 24 kB / 362.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.09637, allocations: 55.7 kB / 362.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.09647, allocations: 115.2 kB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.0967, allocations: 242.6 kB / 362.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.09671, allocations: 0 / 362.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09672, allocations: 3.938 kB / 362.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09673, allocations: 0 / 362.7 MB, free: 9.484 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.0009495/0.09768, allocations: 0.5916 MB / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.09772, allocations: 8.031 kB / 363.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.09778, allocations: 36.56 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.09812, allocations: 316 kB / 363.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.09815, allocations: 12.12 kB / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.09819, allocations: 15.98 kB / 363.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.09842, allocations: 118.7 kB / 363.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.09844, allocations: 0 / 363.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.09846, allocations: 4 kB / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.09847, allocations: 7.938 kB / 363.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.09864, allocations: 79.89 kB / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.09938, allocations: 0.5197 MB / 364.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.09985, allocations: 186.7 kB / 364.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.09998, allocations: 64.77 kB / 364.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1, allocations: 4.188 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1, allocations: 30.56 kB / 364.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1, allocations: 0 / 364.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001343/0.1014, allocations: 0.6611 MB / 365.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1014, allocations: 55.41 kB / 365.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1018, allocations: 336.5 kB / 365.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1018, allocations: 25.7 kB / 365.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.1019, allocations: 160.2 kB / 365.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.1019, allocations: 59.19 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.102, allocations: 37.7 kB / 366 MB, free: 5.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1021, allocations: 342.8 kB / 366.4 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1023, allocations: 59.92 kB / 366.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1024, allocations: 67.53 kB / 366.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.1026, allocations: 144.8 kB / 366.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1027, allocations: 7.984 kB / 366.6 MB, free: 5.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003337/0.103, allocations: 212.7 kB / 366.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.103, allocations: 8 kB / 366.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.103, allocations: 0 / 366.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.103, allocations: 0 / 366.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.1033, allocations: 59.89 kB / 366.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1033, allocations: 7.938 kB / 366.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.1035, allocations: 8 kB / 366.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1035, allocations: 8 kB / 366.9 MB, free: 5.008 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.0001069/0.1036, allocations: 134.4 kB / 367.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.1037, allocations: 27.62 kB / 367.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.1041, allocations: 224.5 kB / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1041, allocations: 0 / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1041, allocations: 3.938 kB / 367.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1041, allocations: 3.984 kB / 367.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.1044, allocations: 321.5 kB / 367.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1044, allocations: 4 kB / 367.6 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.1048, allocations: 55.95 kB / 367.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1048, allocations: 0 / 367.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.1048, allocations: 11.98 kB / 367.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1048, allocations: 3.938 kB / 367.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1049, allocations: 3.938 kB / 367.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.1054, allocations: 385.7 kB / 368.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1055, allocations: 108.8 kB / 368.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.1055, allocations: 4 kB / 368.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.1057, allocations: 15.92 kB / 368.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.1058, allocations: 11.92 kB / 368.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1058, allocations: 12.12 kB / 368.2 MB, free: 3.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.106, allocations: 247 kB / 368.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.106, allocations: 0 / 368.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1063, allocations: 44 kB / 368.5 MB, free: 3.324 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.0001055/0.1064, allocations: 111.2 kB / 368.6 MB, free: 3.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.1068, allocations: 155.9 kB / 368.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1068, allocations: 0 / 368.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1069, allocations: 87.89 kB / 368.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1073, allocations: 33.03 kB / 368.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1085, allocations: 0.7179 MB / 369.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.109, allocations: 0.7635 MB / 370.4 MB, free: 1.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.355e-05/0.1091, allocations: 34.28 kB / 370.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.1092, allocations: 23.42 kB / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1092, allocations: 4 kB / 370.4 MB, free: 1.336 MB / 302.1 MB Notification: Performance of Templates: time 0.1497/0.2589, allocations: 2.696 MB / 373.1 MB, free: 19.75 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 -s gbode -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