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.001626/0.001626, allocations: 117 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.00211/0.00211, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.78 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.111, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003409/0.1145, allocations: 2.086 MB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1155, allocations: 0.5691 MB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1157, allocations: 3.938 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1158, allocations: 23.67 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.1161, allocations: 67.48 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1163, allocations: 59.84 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.1166, allocations: 259.1 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1167, allocations: 64.67 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1169, allocations: 111.4 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1171, allocations: 135.3 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1172, allocations: 20 kB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.111e-05/0.1172, allocations: 23.94 kB / 362.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.1173, allocations: 63.69 kB / 362.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1174, allocations: 115.2 kB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1176, allocations: 235 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1177, allocations: 0 / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1177, allocations: 0 / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1177, allocations: 3.938 kB / 362.7 MB, free: 9.512 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.001028/0.1187, allocations: 0.5994 MB / 363.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1188, allocations: 8.031 kB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.1188, allocations: 36.56 kB / 363.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.1192, allocations: 312 kB / 363.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1192, allocations: 12.12 kB / 363.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.1193, allocations: 12 kB / 363.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.1195, allocations: 118.7 kB / 363.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1196, allocations: 0 / 363.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1196, allocations: 4 kB / 363.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1196, allocations: 8 kB / 363.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1198, allocations: 79.89 kB / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.1206, allocations: 0.5236 MB / 364.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.1211, allocations: 182.6 kB / 364.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1212, allocations: 56.84 kB / 364.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1212, allocations: 4.188 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1213, allocations: 34.56 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1213, allocations: 4 kB / 364.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001438/0.1227, allocations: 0.6603 MB / 365.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1228, allocations: 55.41 kB / 365.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.1231, allocations: 336.6 kB / 365.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1231, allocations: 25.7 kB / 365.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.1232, allocations: 168.2 kB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.1233, allocations: 51.2 kB / 366 MB, free: 6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.1234, allocations: 37.7 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1235, allocations: 338.8 kB / 366.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1237, allocations: 67.91 kB / 366.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1238, allocations: 67.53 kB / 366.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.124, allocations: 140.8 kB / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.124, allocations: 0 / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003336/0.1244, allocations: 220.7 kB / 366.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1244, allocations: 7.938 kB / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1244, allocations: 0 / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1244, allocations: 0 / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1247, allocations: 55.95 kB / 366.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1247, allocations: 11.94 kB / 366.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1249, allocations: 11.98 kB / 366.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1249, allocations: 8 kB / 366.9 MB, free: 5.035 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.0001243/0.125, allocations: 130.4 kB / 367.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.1251, allocations: 27.62 kB / 367.1 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.1255, allocations: 224.6 kB / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1255, allocations: 0 / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1255, allocations: 7.938 kB / 367.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1255, allocations: 4 kB / 367.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.1259, allocations: 321.4 kB / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1259, allocations: 0 / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.1262, allocations: 63.89 kB / 367.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1262, allocations: 0 / 367.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1263, allocations: 8 kB / 367.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1263, allocations: 0 / 367.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1263, allocations: 3.938 kB / 367.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.1268, allocations: 397.6 kB / 368.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.1269, allocations: 104.8 kB / 368.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.127, allocations: 4 kB / 368.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.1271, allocations: 8 kB / 368.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1272, allocations: 19.84 kB / 368.2 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1272, allocations: 8 kB / 368.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.1275, allocations: 243.1 kB / 368.5 MB, free: 3.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1275, allocations: 4 kB / 368.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1277, allocations: 44 kB / 368.5 MB, free: 3.352 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.0001195/0.1279, allocations: 107.2 kB / 368.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1282, allocations: 155.9 kB / 368.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1282, allocations: 0 / 368.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1284, allocations: 83.91 kB / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1287, allocations: 43.42 kB / 368.9 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.13, allocations: 0.7141 MB / 369.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1304, allocations: 0.7597 MB / 370.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.95e-05/0.1305, allocations: 34.27 kB / 370.4 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.1306, allocations: 23.44 kB / 370.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1306, allocations: 0 / 370.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of Templates: time 0.164/0.2946, allocations: 2.704 MB / 373.1 MB, free: 19.69 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 cvode -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