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.002193/0.002193, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002306/0.002306, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.682/1.682, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.00185/0.00185, allocations: 63.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2839, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004167/0.2881, allocations: 2.112 MB / 433.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2894, allocations: 0.5768 MB / 433.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.2896, allocations: 3.938 kB / 433.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2897, allocations: 27.67 kB / 433.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.2901, allocations: 75.42 kB / 434 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2903, allocations: 55.86 kB / 434.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.2908, allocations: 255.2 kB / 434.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2909, allocations: 44.89 kB / 434.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2912, allocations: 115.4 kB / 434.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.2915, allocations: 139.3 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.2915, allocations: 20 kB / 434.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.004e-05/0.2915, allocations: 24 kB / 434.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2917, allocations: 59.7 kB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.2918, allocations: 123.1 kB / 434.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.2922, allocations: 239.2 kB / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.2922, allocations: 0 / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2922, allocations: 0 / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2922, allocations: 0 / 435.1 MB, free: 2.832 MB / 334.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.001197/0.2934, allocations: 0.5356 MB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2935, allocations: 12.02 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.2935, allocations: 46.75 kB / 435.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.2936, allocations: 28.75 kB / 435.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.294, allocations: 254.5 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.294, allocations: 11.94 kB / 435.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.2941, allocations: 12 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.2943, allocations: 126.2 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2944, allocations: 0 / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2944, allocations: 0 / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2944, allocations: 4 kB / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2946, allocations: 79.95 kB / 436.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.2956, allocations: 0.4915 MB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.2962, allocations: 182.7 kB / 436.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2964, allocations: 60.78 kB / 436.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.2964, allocations: 3.938 kB / 436.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.2964, allocations: 34.55 kB / 436.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.2964, allocations: 0 / 436.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001633/0.2981, allocations: 0.6 MB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.2981, allocations: 55.41 kB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.2986, allocations: 332.6 kB / 437.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2986, allocations: 33.64 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.2987, allocations: 164.3 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.2988, allocations: 59.48 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.2989, allocations: 33.7 kB / 438.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.299, allocations: 342.8 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2992, allocations: 63.97 kB / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2993, allocations: 63.34 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.2996, allocations: 144.8 kB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.2996, allocations: 0 / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003788/0.3, allocations: 216.4 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3, allocations: 4 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3, allocations: 0 / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3, allocations: 0 / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.3003, allocations: 67.83 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3003, allocations: 4 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.3005, allocations: 11.94 kB / 439.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3005, allocations: 8 kB / 439.1 MB, free: 14.59 MB / 350.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.0001413/0.3006, allocations: 133.7 kB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.3007, allocations: 39.8 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.3011, allocations: 219 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3011, allocations: 3.938 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3011, allocations: 0 / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3012, allocations: 4 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.3015, allocations: 296.5 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3015, allocations: 0 / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.3019, allocations: 59.89 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3019, allocations: 0 / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3019, allocations: 8 kB / 439.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.3019, allocations: 7.922 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3019, allocations: 3.984 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006771/0.3026, allocations: 394.2 kB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.3027, allocations: 31.86 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.3027, allocations: 4 kB / 440.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3029, allocations: 7.938 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.303, allocations: 15.97 kB / 440.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.303, allocations: 11.92 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.3033, allocations: 247 kB / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3033, allocations: 0 / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.3037, allocations: 44 kB / 440.6 MB, free: 13.02 MB / 350.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.0009755/0.3046, allocations: 0.9256 MB / 441.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.305, allocations: 147.9 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.305, allocations: 0 / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3052, allocations: 83.91 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3056, allocations: 29.08 kB / 441.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.3102, allocations: 3.069 MB / 444.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.3108, allocations: 0.7675 MB / 445.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.3109, allocations: 30.28 kB / 445.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.3111, allocations: 95.39 kB / 445.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of SimCode: time 1.974e-06/0.3111, allocations: 0 / 445.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.3476, allocations: 5.892 MB / 451.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.14, allocations: 19.91 kB / 451.6 MB, free: 1.992 MB / 350.1 MB " [Timeout remaining time 648] (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: 15.016291015999741]