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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008466, allocations: 88.05 kB / 20.67 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007789/0.0007789, allocations: 145.1 kB / 23.93 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8682/0.8682, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 318.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.501e-05, allocations: 2.281 kB / 318.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002128/0.002143, allocations: 1.988 MB / 320.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006815/0.002825, allocations: 0.5262 MB / 321 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.002925, allocations: 0 / 321 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.003027, allocations: 23.67 kB / 321 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.003256, allocations: 79.36 kB / 321.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.00342, allocations: 59.84 kB / 321.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.003636, allocations: 279 kB / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003744, allocations: 36.84 kB / 321.4 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.003888, allocations: 147.5 kB / 321.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004002, allocations: 99.61 kB / 321.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.004037, allocations: 23.98 kB / 321.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.004057, allocations: 20 kB / 321.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.00412, allocations: 55.7 kB / 321.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.004178, allocations: 79.62 kB / 321.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.004371, allocations: 235 kB / 322.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004373, allocations: 0 / 322.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004374, allocations: 4 kB / 322.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.004378, allocations: 0 / 322.1 MB, free: 2.582 MB / 282.7 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.0006717/0.00505, allocations: 0.5318 MB / 322.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005084, allocations: 8.031 kB / 322.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.005121, allocations: 42.75 kB / 322.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.005162, allocations: 36.75 kB / 322.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.005424, allocations: 245.8 kB / 322.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.005435, allocations: 12.31 kB / 322.9 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.005462, allocations: 20.31 kB / 323 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.005637, allocations: 126.2 kB / 323.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.005644, allocations: 4 kB / 323.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.005657, allocations: 3.984 kB / 323.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005661, allocations: 4 kB / 323.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.005789, allocations: 79.91 kB / 323.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.006571, allocations: 467.5 kB / 323.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.006879, allocations: 166.8 kB / 323.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/0.006955, allocations: 64.77 kB / 323.9 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.006971, allocations: 0 / 323.9 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.006986, allocations: 34.56 kB / 323.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.006986, allocations: 0 / 323.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009599/0.007946, allocations: 0.5982 MB / 324.5 MB, free: 0 / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.007983, allocations: 51.41 kB / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.008221, allocations: 336.6 kB / 324.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.008238, allocations: 25.7 kB / 324.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.008307, allocations: 152.4 kB / 325 MB, free: 15.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.008353, allocations: 71.41 kB / 325.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.008398, allocations: 33.72 kB / 325.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.008479, allocations: 346.8 kB / 325.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.008593, allocations: 59.97 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.008718, allocations: 67.11 kB / 325.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.008908, allocations: 152.7 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.008909, allocations: 0 / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002308/0.009139, allocations: 205.4 kB / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.009153, allocations: 8 kB / 326 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.009158, allocations: 0 / 326 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.009168, allocations: 0 / 326 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.009326, allocations: 63.89 kB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.009331, allocations: 4 kB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.0094, allocations: 11.94 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.00941, allocations: 4 kB / 326.1 MB, free: 14.38 MB / 298.7 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 8.486e-05/0.009494, allocations: 133.8 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.009525, allocations: 27.81 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.0098, allocations: 235.2 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.009802, allocations: 0 / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.009807, allocations: 8 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.009812, allocations: 3.984 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.01003, allocations: 252.6 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01003, allocations: 0 / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.01022, allocations: 63.95 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01022, allocations: 0 / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01024, allocations: 8 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01024, allocations: 0 / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01024, allocations: 3.984 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.01062, allocations: 399 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.01066, allocations: 35.84 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01069, allocations: 4 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.01077, allocations: 11.98 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.01081, allocations: 7.984 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01082, allocations: 7.984 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.01099, allocations: 255 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01099, allocations: 0 / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.01117, allocations: 40 kB / 327.5 MB, free: 12.84 MB / 298.7 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.0005314/0.0117, allocations: 0.9231 MB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.01192, allocations: 153.2 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01192, allocations: 0 / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.064e-05/0.01201, allocations: 79.91 kB / 328.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01226, allocations: 37.02 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.01505, allocations: 2.987 MB / 331.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.736e-05/0.01514, allocations: 163.5 kB / 331.9 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.01521, allocations: 30.28 kB / 331.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.01533, allocations: 92.45 kB / 332 MB, free: 8.266 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01533, allocations: 0 / 332 MB, free: 8.266 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.03637, allocations: 6.582 MB / 338.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.055, allocations: 16.94 kB / 338.6 MB, free: 1.902 MB / 298.7 MB " [Timeout remaining time 653] (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.09996 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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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) [Timeout 660] "Error: Could not read variable filter.x[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.844820570200682]