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: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001128, allocations: 89.8 kB / 16.65 MB, free: 6.535 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.001353/0.001354, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.64/1.64, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 4 kB / 301.5 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 50.41 MB / 352 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003046/0.1421, allocations: 1.772 MB / 353.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1437, allocations: 0.5458 MB / 354.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.1441, allocations: 8 kB / 354.3 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.1443, allocations: 15.8 kB / 354.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1448, allocations: 55.62 kB / 354.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1452, allocations: 43.94 kB / 354.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.1457, allocations: 255 kB / 354.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1459, allocations: 44.73 kB / 354.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.1462, allocations: 95.38 kB / 354.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.1465, allocations: 119.3 kB / 354.9 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.1466, allocations: 12 kB / 354.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.1467, allocations: 8 kB / 354.9 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1468, allocations: 51.69 kB / 355 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1469, allocations: 140.8 kB / 355.1 MB, free: 432 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1472, allocations: 207.3 kB / 355.3 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1472, allocations: 0 / 355.3 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1472, allocations: 0 / 355.3 MB, free: 224 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1473, allocations: 0 / 355.3 MB, free: 224 kB / 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.001202/0.1485, allocations: 0.5684 MB / 355.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.1485, allocations: 12.03 kB / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.8e-05/0.1486, allocations: 46.69 kB / 355.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.1487, allocations: 28.56 kB / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.1492, allocations: 316 kB / 356.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1492, allocations: 11.94 kB / 356.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.1493, allocations: 12 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1495, allocations: 125.6 kB / 356.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1496, allocations: 0 / 356.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1496, allocations: 4 kB / 356.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1496, allocations: 4 kB / 356.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.1498, allocations: 79.97 kB / 356.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.1507, allocations: 0.5274 MB / 357 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.1513, allocations: 186.6 kB / 357.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1515, allocations: 64.78 kB / 357.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1515, allocations: 4 kB / 357.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1515, allocations: 30.56 kB / 357.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.644e-06/0.1515, allocations: 0 / 357.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001761/0.1533, allocations: 0.6796 MB / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1534, allocations: 55.41 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.1538, allocations: 328.6 kB / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1538, allocations: 29.7 kB / 358.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.154, allocations: 164.2 kB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.154, allocations: 59.2 kB / 358.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.1541, allocations: 21.7 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1542, allocations: 342.8 kB / 359 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1544, allocations: 63.91 kB / 359 MB, free: 12.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1545, allocations: 63.16 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1548, allocations: 148.8 kB / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1549, allocations: 0 / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003825/0.1552, allocations: 218.8 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1553, allocations: 4 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1553, allocations: 0 / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1553, allocations: 3.984 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1556, allocations: 63.97 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1556, allocations: 3.938 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.1558, allocations: 11.94 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1558, allocations: 11.98 kB / 359.5 MB, free: 11.7 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.0001532/0.156, allocations: 133.8 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.1561, allocations: 27.62 kB / 359.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.1565, allocations: 216.6 kB / 359.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1565, allocations: 8 kB / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.1566, allocations: 7.922 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1566, allocations: 3.938 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.157, allocations: 321.5 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.157, allocations: 0 / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.1574, allocations: 55.95 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1574, allocations: 3.984 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.1574, allocations: 8 kB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1574, allocations: 0 / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1574, allocations: 7.938 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.1581, allocations: 393.8 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1582, allocations: 116.7 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.1583, allocations: 0 / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1585, allocations: 8 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.1585, allocations: 23.86 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1586, allocations: 11.98 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.1589, allocations: 243.1 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 0 / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.1592, allocations: 40 kB / 361.1 MB, free: 10 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.001007/0.1602, allocations: 0.9384 MB / 362.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1606, allocations: 162.4 kB / 362.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1606, allocations: 0 / 362.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.1608, allocations: 87.91 kB / 362.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.1612, allocations: 37.08 kB / 362.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.1655, allocations: 3.233 MB / 365.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1659, allocations: 0.7638 MB / 366.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.1661, allocations: 34.27 kB / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1662, allocations: 95.39 kB / 366.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1662, allocations: 0 / 366.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2464/0.4127, allocations: 5.171 MB / 371.7 MB, free: 23.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.4129, allocations: 261.4 kB / 371.9 MB, free: 23.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.529, allocations: 0.7031 kB / 371.9 MB, free: 23.41 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > 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