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.0009704/0.0009705, allocations: 95.55 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 199.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002486, allocations: 8 kB / 308.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002307/0.1097, allocations: 1.786 MB / 361.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1108, allocations: 0.5691 MB / 362.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.111, allocations: 0 / 362.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1111, allocations: 11.81 kB / 362.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1114, allocations: 63.55 kB / 362.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1117, allocations: 47.94 kB / 362.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.112, allocations: 243.1 kB / 362.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1122, allocations: 52.7 kB / 362.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.1124, allocations: 95.44 kB / 362.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1126, allocations: 127.2 kB / 362.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.1127, allocations: 12 kB / 362.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.1127, allocations: 12 kB / 362.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.1128, allocations: 47.7 kB / 363 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1129, allocations: 128.9 kB / 363.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1131, allocations: 163.8 kB / 363.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1131, allocations: 0 / 363.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1131, allocations: 0 / 363.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1131, allocations: 0 / 363.3 MB, free: 9.914 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.001059/0.1142, allocations: 0.5671 MB / 363.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1143, allocations: 12.03 kB / 363.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.369e-05/0.1143, allocations: 36.5 kB / 363.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1147, allocations: 312.1 kB / 364.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1148, allocations: 8.125 kB / 364.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.1148, allocations: 12 kB / 364.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.1151, allocations: 126.7 kB / 364.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1151, allocations: 3.938 kB / 364.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1151, allocations: 8 kB / 364.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1151, allocations: 0 / 364.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1153, allocations: 91.88 kB / 364.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.1162, allocations: 0.5236 MB / 364.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.1167, allocations: 178.7 kB / 365.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1168, allocations: 64.83 kB / 365.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1169, allocations: 7.938 kB / 365.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1169, allocations: 34.56 kB / 365.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1169, allocations: 0 / 365.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001531/0.1184, allocations: 0.6686 MB / 365.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1185, allocations: 59.34 kB / 365.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.1189, allocations: 332.6 kB / 366.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1189, allocations: 25.7 kB / 366.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.119, allocations: 160.2 kB / 366.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.1191, allocations: 63.19 kB / 366.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.1191, allocations: 21.72 kB / 366.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1192, allocations: 338.8 kB / 366.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1194, allocations: 71.84 kB / 366.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1195, allocations: 62.41 kB / 367 MB, free: 5.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.1198, allocations: 152.4 kB / 367.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1198, allocations: 0 / 367.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003686/0.1202, allocations: 213.2 kB / 367.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1202, allocations: 8 kB / 367.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1202, allocations: 0 / 367.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1203, allocations: 0 / 367.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.1206, allocations: 63.89 kB / 367.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1206, allocations: 7.938 kB / 367.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.1207, allocations: 8 kB / 367.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1208, allocations: 4 kB / 367.4 MB, free: 5.453 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.0001385/0.1209, allocations: 142.4 kB / 367.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.121, allocations: 27.62 kB / 367.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.1214, allocations: 227.4 kB / 367.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1214, allocations: 4 kB / 367.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1214, allocations: 3.938 kB / 367.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1215, allocations: 7.922 kB / 367.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.1218, allocations: 317.4 kB / 368.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1218, allocations: 0 / 368.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.1222, allocations: 67.89 kB / 368.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1222, allocations: 0 / 368.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1222, allocations: 3.984 kB / 368.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1222, allocations: 8 kB / 368.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1223, allocations: 3.938 kB / 368.2 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.1228, allocations: 387 kB / 368.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.1229, allocations: 104.8 kB / 368.7 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.123, allocations: 11.98 kB / 368.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.1232, allocations: 8 kB / 368.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.1233, allocations: 15.92 kB / 368.8 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1233, allocations: 7.984 kB / 368.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.1235, allocations: 247.1 kB / 369 MB, free: 3.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1235, allocations: 0 / 369 MB, free: 3.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1238, allocations: 44 kB / 369 MB, free: 3.754 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.0001253/0.124, allocations: 107.2 kB / 369.2 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1243, allocations: 163.9 kB / 369.3 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1243, allocations: 0 / 369.3 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1245, allocations: 90.39 kB / 369.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1249, allocations: 40.48 kB / 369.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1264, allocations: 0.9032 MB / 370.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1267, allocations: 0.7677 MB / 371.1 MB, free: 1.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1268, allocations: 27.42 kB / 371.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1268, allocations: 0 / 371.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of Templates: time 0.1659/0.2927, allocations: 3.037 MB / 374.2 MB, free: 18.18 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