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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001758/0.001758, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1089, allocations: 53.37 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003527/0.1124, allocations: 2.108 MB / 428.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1136, allocations: 0.573 MB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1137, allocations: 4 kB / 429.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1138, allocations: 27.67 kB / 429.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.1141, allocations: 83.34 kB / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1143, allocations: 47.92 kB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1147, allocations: 263 kB / 429.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1148, allocations: 48.7 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.1151, allocations: 115.4 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1153, allocations: 135.3 kB / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.1153, allocations: 20 kB / 429.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-05/0.1154, allocations: 20 kB / 429.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.1155, allocations: 59.69 kB / 429.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1156, allocations: 127.1 kB / 430 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1159, allocations: 230.8 kB / 430.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1159, allocations: 4 kB / 430.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1159, allocations: 0 / 430.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1159, allocations: 4 kB / 430.2 MB, free: 0.75 MB / 350.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.001144/0.117, allocations: 0.6071 MB / 430.8 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1171, allocations: 15.97 kB / 430.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.1171, allocations: 38.73 kB / 430.9 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.1172, allocations: 32.75 kB / 430.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1176, allocations: 308.4 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1176, allocations: 15.92 kB / 431.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.1176, allocations: 12 kB / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.1179, allocations: 125.6 kB / 431.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1179, allocations: 0 / 431.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1179, allocations: 4 kB / 431.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1179, allocations: 4 kB / 431.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.1181, allocations: 83.89 kB / 431.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.119, allocations: 0.5159 MB / 432 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.1194, allocations: 178.7 kB / 432.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1196, allocations: 64.77 kB / 432.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1196, allocations: 4 kB / 432.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1196, allocations: 38.5 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1196, allocations: 0 / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001525/0.1211, allocations: 0.6644 MB / 432.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1212, allocations: 55.39 kB / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1216, allocations: 328.6 kB / 433.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1216, allocations: 33.7 kB / 433.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1217, allocations: 160.3 kB / 433.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.1218, allocations: 59.48 kB / 433.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.1218, allocations: 41.64 kB / 433.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.122, allocations: 346.7 kB / 433.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1221, allocations: 59.97 kB / 434 MB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1222, allocations: 55.98 kB / 434 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.1225, allocations: 151.8 kB / 434.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1225, allocations: 0 / 434.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003883/0.1229, allocations: 217.4 kB / 434.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1229, allocations: 4 kB / 434.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1229, allocations: 0 / 434.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.123, allocations: 8 kB / 434.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.1233, allocations: 63.83 kB / 434.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1233, allocations: 0 / 434.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1234, allocations: 8 kB / 434.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1234, allocations: 4 kB / 434.5 MB, free: 12.22 MB / 366.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.0001462/0.1236, allocations: 137.8 kB / 434.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.1236, allocations: 27.81 kB / 434.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.1241, allocations: 222.5 kB / 434.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1241, allocations: 7.938 kB / 434.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1241, allocations: 0 / 434.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1241, allocations: 3.984 kB / 434.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.1245, allocations: 313.5 kB / 435.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1245, allocations: 0 / 435.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.1248, allocations: 63.89 kB / 435.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1248, allocations: 4 kB / 435.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.1249, allocations: 3.984 kB / 435.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1249, allocations: 7.938 kB / 435.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1249, allocations: 7.938 kB / 435.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.1255, allocations: 383.2 kB / 435.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.1256, allocations: 108.9 kB / 435.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1256, allocations: 7.984 kB / 435.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1258, allocations: 11.94 kB / 435.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1258, allocations: 11.98 kB / 435.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1259, allocations: 7.984 kB / 435.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.1261, allocations: 255 kB / 436 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1261, allocations: 0 / 436 MB, free: 10.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1264, allocations: 40 kB / 436.1 MB, free: 10.53 MB / 366.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.0009057/0.1273, allocations: 0.9368 MB / 437 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.1276, allocations: 139.9 kB / 437.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1276, allocations: 0 / 437.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1278, allocations: 83.91 kB / 437.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1282, allocations: 33.33 kB / 437.2 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.1323, allocations: 3.063 MB / 440.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1326, allocations: 0.7635 MB / 441.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1328, allocations: 38.27 kB / 441.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.1329, allocations: 95.39 kB / 441.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1329, allocations: 0 / 441.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2055/0.3385, allocations: 5.689 MB / 446.9 MB, free: 24.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.224, allocations: 5.031 kB / 446.9 MB, free: 24.56 MB / 366.1 MB " [Timeout remaining time 652] (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.09996 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] 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.1.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) [Timeout 660] "Error: Could not read variable filter.x[2] in file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.73902827501297]