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.001103/0.001103, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002051/0.0002051, allocations: 4 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.09906, allocations: 51.53 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002334/0.1015, allocations: 1.723 MB / 360.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1026, allocations: 0.5499 MB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.1028, allocations: 0 / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.1029, allocations: 15.8 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1032, allocations: 55.62 kB / 361 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1034, allocations: 39.94 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.1037, allocations: 235.1 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1039, allocations: 48.88 kB / 361.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.1041, allocations: 95.5 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1043, allocations: 119.3 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.1043, allocations: 12 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.1043, allocations: 8 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1044, allocations: 51.75 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.1045, allocations: 61.52 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1047, allocations: 163.8 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1047, allocations: 0 / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1047, allocations: 0 / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1047, allocations: 0 / 361.8 MB, free: 10.23 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.0009755/0.1057, allocations: 0.5644 MB / 362.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1057, allocations: 8.031 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.1058, allocations: 31.62 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.1062, allocations: 303 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1062, allocations: 8 kB / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.1062, allocations: 12 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1065, allocations: 126.6 kB / 362.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1065, allocations: 0 / 362.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1065, allocations: 4 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1065, allocations: 8 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.1067, allocations: 87.89 kB / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.1076, allocations: 0.5196 MB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1081, allocations: 174.8 kB / 363.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1082, allocations: 72.81 kB / 363.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1083, allocations: 0 / 363.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1083, allocations: 34.56 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.1083, allocations: 0 / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001518/0.1098, allocations: 0.6803 MB / 364.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.1099, allocations: 51.41 kB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.1103, allocations: 332.6 kB / 364.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1104, allocations: 29.7 kB / 364.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1105, allocations: 160.2 kB / 365 MB, free: 6.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.1106, allocations: 63.19 kB / 365 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.1106, allocations: 0 / 365 MB, free: 6.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1107, allocations: 338.8 kB / 365.4 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1108, allocations: 64.34 kB / 365.4 MB, free: 6.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.111, allocations: 64.72 kB / 365.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1111, allocations: 72.92 kB / 365.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1111, allocations: 0 / 365.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003559/0.1115, allocations: 213.5 kB / 365.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1115, allocations: 4 kB / 365.8 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1115, allocations: 4 kB / 365.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1115, allocations: 3.953 kB / 365.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.1118, allocations: 63.95 kB / 365.8 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1118, allocations: 4 kB / 365.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.112, allocations: 4 kB / 365.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.112, allocations: 8 kB / 365.9 MB, free: 5.902 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.1121, allocations: 130.4 kB / 366 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.1122, allocations: 31.62 kB / 366 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.1126, allocations: 224.6 kB / 366.2 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1126, allocations: 0 / 366.2 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.1126, allocations: 7.891 kB / 366.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1126, allocations: 7.984 kB / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.113, allocations: 317.5 kB / 366.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.113, allocations: 0 / 366.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.1133, allocations: 59.89 kB / 366.6 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1133, allocations: 0 / 366.6 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1134, allocations: 11.98 kB / 366.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1134, allocations: 4 kB / 366.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1134, allocations: 0 / 366.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.1139, allocations: 397.5 kB / 367 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.114, allocations: 108.8 kB / 367.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.1141, allocations: 3.984 kB / 367.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.1143, allocations: 12.12 kB / 367.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1143, allocations: 15.98 kB / 367.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1143, allocations: 11.98 kB / 367.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003012/0.1146, allocations: 243 kB / 367.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1146, allocations: 4 kB / 367.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1149, allocations: 40 kB / 367.5 MB, free: 4.211 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 (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.0002001/0.1151, allocations: 107.2 kB / 367.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1155, allocations: 163.2 kB / 367.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1155, allocations: 0 / 367.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1157, allocations: 87.89 kB / 367.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.116, allocations: 32.55 kB / 367.8 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1174, allocations: 0.8439 MB / 368.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1178, allocations: 0.7638 MB / 369.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1179, allocations: 30.27 kB / 369.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.118, allocations: 27.42 kB / 369.5 MB, free: 2.105 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.118, allocations: 0 / 369.5 MB, free: 2.105 MB / 302.1 MB Notification: Performance of Templates: time 0.1829/0.3009, allocations: 2.392 MB / 371.9 MB, free: 18.76 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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