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: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001244/0.001244, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 60.27 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1059, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004437/0.1104, allocations: 2.095 MB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1118, allocations: 0.5652 MB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.112, allocations: 0 / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1122, allocations: 27.67 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.1126, allocations: 75.41 kB / 360.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1129, allocations: 51.92 kB / 360.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.1133, allocations: 259.1 kB / 360.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.1135, allocations: 52.72 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.1139, allocations: 123.4 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.1142, allocations: 127.3 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.1142, allocations: 20 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.496e-05/0.1143, allocations: 20 kB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1144, allocations: 63.69 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1146, allocations: 119.1 kB / 361.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1149, allocations: 235.3 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1149, allocations: 0 / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.115, allocations: 7.938 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.115, allocations: 0 / 361.4 MB, free: 10.19 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.001219/0.1162, allocations: 0.5955 MB / 362 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1163, allocations: 8.031 kB / 362 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.1163, allocations: 38.75 kB / 362 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.1164, allocations: 32.56 kB / 362.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.1168, allocations: 312 kB / 362.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1168, allocations: 15.94 kB / 362.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.1168, allocations: 12 kB / 362.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.1171, allocations: 122.7 kB / 362.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1171, allocations: 0 / 362.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1171, allocations: 4 kB / 362.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1171, allocations: 4 kB / 362.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1173, allocations: 71.91 kB / 362.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/0.1182, allocations: 0.5275 MB / 363.1 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.1187, allocations: 186.7 kB / 363.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.1189, allocations: 60.78 kB / 363.4 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1189, allocations: 4 kB / 363.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1189, allocations: 34.55 kB / 363.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1189, allocations: 0 / 363.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001541/0.1205, allocations: 0.6613 MB / 364.1 MB, free: 7.289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1206, allocations: 55.41 kB / 364.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.121, allocations: 332.6 kB / 364.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.121, allocations: 29.7 kB / 364.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1211, allocations: 164.2 kB / 364.6 MB, free: 6.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.1212, allocations: 59.2 kB / 364.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.1213, allocations: 29.7 kB / 364.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1214, allocations: 346.8 kB / 365.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1216, allocations: 59.97 kB / 365.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1217, allocations: 66.91 kB / 365.2 MB, free: 6.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.122, allocations: 144.8 kB / 365.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.122, allocations: 0 / 365.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003823/0.1224, allocations: 220.7 kB / 365.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1224, allocations: 4 kB / 365.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1224, allocations: 0 / 365.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1225, allocations: 0 / 365.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.1228, allocations: 63.91 kB / 365.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1228, allocations: 3.984 kB / 365.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.123, allocations: 8 kB / 365.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.123, allocations: 11.94 kB / 365.6 MB, free: 5.668 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.0001334/0.1231, allocations: 134.4 kB / 365.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.1232, allocations: 31.61 kB / 365.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.1236, allocations: 219.4 kB / 366 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1236, allocations: 3.938 kB / 366 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.1237, allocations: 4 kB / 366 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1237, allocations: 7.938 kB / 366 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.124, allocations: 321.4 kB / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1241, allocations: 0 / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.1244, allocations: 55.95 kB / 366.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1245, allocations: 0 / 366.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1245, allocations: 8 kB / 366.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1245, allocations: 3.938 kB / 366.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1245, allocations: 0 / 366.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.1251, allocations: 394.9 kB / 366.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.1252, allocations: 108.7 kB / 366.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1252, allocations: 4 kB / 366.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1254, allocations: 11.94 kB / 366.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1255, allocations: 11.97 kB / 366.9 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1255, allocations: 8 kB / 366.9 MB, free: 4.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.1258, allocations: 243.1 kB / 367.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1258, allocations: 0 / 367.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1261, allocations: 48 kB / 367.2 MB, free: 3.988 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.000814/0.1269, allocations: 0.9216 MB / 368.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.1273, allocations: 167.9 kB / 368.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1273, allocations: 7.938 kB / 368.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1275, allocations: 87.89 kB / 368.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1279, allocations: 39.75 kB / 368.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1618/0.2896, allocations: 3.071 MB / 371.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.29, allocations: 0.769 MB / 372.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.2902, allocations: 31.08 kB / 372.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.2904, allocations: 91.88 kB / 372.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2904, allocations: 1.844 kB / 372.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3227, allocations: 5.58 MB / 378 MB, free: 18.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.457, allocations: 9.766 kB / 378 MB, free: 18.31 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches