Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001246, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 45.83 kB / 301.3 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 49.44 MB / 350.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003888/0.1186, allocations: 2.075 MB / 352.8 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1199, allocations: 0.5574 MB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.1201, allocations: 0 / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1203, allocations: 23.67 kB / 353.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1207, allocations: 75.42 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.121, allocations: 55.86 kB / 353.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.1214, allocations: 259.1 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.1215, allocations: 56.7 kB / 353.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.1218, allocations: 107.4 kB / 353.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.122, allocations: 143.3 kB / 354.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.1221, allocations: 20 kB / 354.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.1222, allocations: 20 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.1223, allocations: 55.7 kB / 354.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1225, allocations: 123.1 kB / 354.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1229, allocations: 227.4 kB / 354.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1229, allocations: 0 / 354.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1229, allocations: 0 / 354.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.1229, allocations: 0 / 354.5 MB, free: 0.5977 MB / 286.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.001409/0.1243, allocations: 0.6033 MB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1244, allocations: 12.03 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.1245, allocations: 28.56 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.1249, allocations: 312 kB / 355.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1249, allocations: 12.12 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.125, allocations: 12 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1252, allocations: 117.6 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1253, allocations: 0 / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1253, allocations: 8 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1253, allocations: 0 / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1255, allocations: 87.95 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.1264, allocations: 0.5274 MB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.1269, allocations: 178.6 kB / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1271, allocations: 60.84 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.1271, allocations: 7.938 kB / 356.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1271, allocations: 30.56 kB / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1271, allocations: 0 / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001625/0.1288, allocations: 0.6691 MB / 357.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1288, allocations: 51.41 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.1292, allocations: 332.6 kB / 357.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1293, allocations: 29.7 kB / 357.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1294, allocations: 152.3 kB / 357.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.1295, allocations: 67.08 kB / 357.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.1296, allocations: 37.7 kB / 357.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1297, allocations: 342.8 kB / 358.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1299, allocations: 59.91 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.13, allocations: 66.97 kB / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1303, allocations: 136.8 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1303, allocations: 0 / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003886/0.1307, allocations: 222.5 kB / 358.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1307, allocations: 4 kB / 358.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1307, allocations: 0 / 358.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1308, allocations: 8 kB / 358.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.1311, allocations: 51.97 kB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.1311, allocations: 3.938 kB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1313, allocations: 11.98 kB / 358.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1313, allocations: 7.984 kB / 358.7 MB, free: 12.12 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.1314, allocations: 133.8 kB / 358.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.1315, allocations: 31.56 kB / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.1319, allocations: 224.6 kB / 359.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.132, allocations: 4 kB / 359.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.132, allocations: 3.938 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.132, allocations: 3.938 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1324, allocations: 317.4 kB / 359.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1324, allocations: 0 / 359.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.1328, allocations: 59.95 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1328, allocations: 4 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1328, allocations: 4 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1328, allocations: 4 kB / 359.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1328, allocations: 7.938 kB / 359.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.1334, allocations: 386.9 kB / 359.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.1335, allocations: 104.9 kB / 360 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.1336, allocations: 7.938 kB / 360 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1338, allocations: 4 kB / 360 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.1338, allocations: 31.81 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1338, allocations: 0 / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.1341, allocations: 247.1 kB / 360.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1341, allocations: 0 / 360.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1344, allocations: 40 kB / 360.3 MB, free: 10.43 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.0001338/0.1346, allocations: 115.2 kB / 360.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.1349, allocations: 166.5 kB / 360.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.135, allocations: 4 kB / 360.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1351, allocations: 83.91 kB / 360.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1355, allocations: 37.02 kB / 360.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.1371, allocations: 0.7554 MB / 361.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1375, allocations: 0.7596 MB / 362.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1376, allocations: 27.44 kB / 362.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1376, allocations: 0 / 362.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of Templates: time 0.00603/0.1436, allocations: 3.092 MB / 365.3 MB, free: 5.352 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches