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.001376/0.001376, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.002075/0.002075, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.497/1.497, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 47.53 kB / 300.7 MB, free: 5.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1156, allocations: 49.45 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003818/0.1195, allocations: 2.063 MB / 352.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1207, allocations: 0.5613 MB / 352.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.1209, allocations: 7.938 kB / 352.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1211, allocations: 19.69 kB / 352.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.1215, allocations: 67.47 kB / 352.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1218, allocations: 59.86 kB / 353 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1221, allocations: 251.1 kB / 353.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1223, allocations: 60.69 kB / 353.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.1226, allocations: 107.4 kB / 353.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.1228, allocations: 135.3 kB / 353.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.1229, allocations: 23.98 kB / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.1229, allocations: 24 kB / 353.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.123, allocations: 59.64 kB / 353.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1232, allocations: 115.2 kB / 353.7 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1234, allocations: 231.4 kB / 353.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1234, allocations: 0 / 353.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1235, allocations: 0 / 353.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1235, allocations: 0 / 353.9 MB, free: 0.5117 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.001212/0.1247, allocations: 0.5955 MB / 354.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1247, allocations: 8.031 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.1248, allocations: 50.67 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.1249, allocations: 36.56 kB / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1253, allocations: 312 kB / 354.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1253, allocations: 11.94 kB / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.1253, allocations: 12 kB / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.1256, allocations: 121.6 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1256, allocations: 0 / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1257, allocations: 4 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1257, allocations: 7.938 kB / 355.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1259, allocations: 71.95 kB / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.1267, allocations: 0.5352 MB / 355.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.1272, allocations: 174.7 kB / 355.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1273, allocations: 68.7 kB / 355.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1273, allocations: 0 / 355.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1274, allocations: 42.56 kB / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1274, allocations: 0 / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.00153/0.1289, allocations: 0.6526 MB / 356.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.129, allocations: 63.39 kB / 356.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.1294, allocations: 332.6 kB / 357 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1294, allocations: 25.7 kB / 357 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1295, allocations: 156.2 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.1296, allocations: 55.2 kB / 357.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.1296, allocations: 37.7 kB / 357.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1298, allocations: 346.7 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1299, allocations: 67.97 kB / 357.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.13, allocations: 59.17 kB / 357.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.1303, allocations: 148.8 kB / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1303, allocations: 0 / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003535/0.1307, allocations: 206.7 kB / 358.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1307, allocations: 8 kB / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1307, allocations: 0 / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1308, allocations: 0 / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.131, allocations: 75.83 kB / 358.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1311, allocations: 4 kB / 358.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1312, allocations: 7.938 kB / 358.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1312, allocations: 8 kB / 358.2 MB, free: 11.98 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.0001183/0.1314, allocations: 125.8 kB / 358.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.1314, allocations: 27.62 kB / 358.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.1319, allocations: 228.5 kB / 358.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1319, allocations: 3.938 kB / 358.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1319, allocations: 0 / 358.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1319, allocations: 3.984 kB / 358.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.1322, allocations: 325.4 kB / 358.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1323, allocations: 0 / 358.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1326, allocations: 55.95 kB / 358.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1326, allocations: 0 / 358.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.1327, allocations: 11.98 kB / 359 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1327, allocations: 11.86 kB / 359 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1327, allocations: 4 kB / 359 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.1332, allocations: 382.9 kB / 359.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.1333, allocations: 108.7 kB / 359.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.1334, allocations: 8.062 kB / 359.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1336, allocations: 15.92 kB / 359.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.1336, allocations: 7.984 kB / 359.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1337, allocations: 4 kB / 359.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.1339, allocations: 255 kB / 359.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1339, allocations: 0 / 359.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1342, allocations: 44 kB / 359.8 MB, free: 10.29 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.0008286/0.135, allocations: 0.9252 MB / 360.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1354, allocations: 171.9 kB / 360.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1354, allocations: 0 / 360.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1356, allocations: 83.91 kB / 361 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.136, allocations: 31.89 kB / 361 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.1406, allocations: 3.085 MB / 364.1 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.141, allocations: 0.7634 MB / 364.8 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1411, allocations: 38.2 kB / 364.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1413, allocations: 91.39 kB / 365 MB, free: 4.98 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1413, allocations: 0 / 365 MB, free: 4.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/0.3749, allocations: 5.565 MB / 370.5 MB, free: 25.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.769, allocations: 12.95 kB / 370.5 MB, free: 25.09 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/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