Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003157/0.2581, allocations: 2.006 MB / 433.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.2591, allocations: 0.5418 MB / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2592, allocations: 4 kB / 433.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2593, allocations: 23.67 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.2596, allocations: 75.42 kB / 433.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.2597, allocations: 63.84 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.26, allocations: 255.1 kB / 434.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2602, allocations: 50.58 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.2604, allocations: 115.4 kB / 434.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.2606, allocations: 135.3 kB / 434.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.2606, allocations: 20 kB / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.706e-05/0.2606, allocations: 20 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.2607, allocations: 59.69 kB / 434.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.2608, allocations: 103.3 kB / 434.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.2611, allocations: 238.8 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2611, allocations: 3.984 kB / 434.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2611, allocations: 0 / 434.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2611, allocations: 4 kB / 434.8 MB, free: 2.938 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.001025/0.2621, allocations: 0.5317 MB / 435.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2622, allocations: 12.03 kB / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2622, allocations: 42.73 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.2623, allocations: 28.75 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.2626, allocations: 250.5 kB / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2626, allocations: 15.88 kB / 435.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.2627, allocations: 19.94 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2629, allocations: 117.6 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2629, allocations: 0 / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2629, allocations: 8 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2629, allocations: 0 / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.2631, allocations: 79.95 kB / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.2639, allocations: 463.4 kB / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.2644, allocations: 182.6 kB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.2645, allocations: 52.78 kB / 436.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2645, allocations: 8 kB / 436.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2646, allocations: 34.55 kB / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2646, allocations: 0 / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001448/0.266, allocations: 0.5895 MB / 437.2 MB, free: 376 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2661, allocations: 55.41 kB / 437.3 MB, free: 308 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.2664, allocations: 332.5 kB / 437.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2665, allocations: 29.7 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2666, allocations: 164.3 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.2666, allocations: 63.47 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.2667, allocations: 37.7 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2669, allocations: 342.8 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.267, allocations: 59.97 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2672, allocations: 59.97 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2674, allocations: 144 kB / 438.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2674, allocations: 0 / 438.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003805/0.2678, allocations: 217.4 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2678, allocations: 4 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2678, allocations: 11.98 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2679, allocations: 3.938 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.2681, allocations: 63.89 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2681, allocations: 3.984 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.2683, allocations: 11.94 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.2683, allocations: 4 kB / 438.8 MB, free: 14.74 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.0001358/0.2684, allocations: 133.8 kB / 438.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.2685, allocations: 31.81 kB / 438.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.2689, allocations: 224.5 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.2689, allocations: 7.938 kB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2689, allocations: 0 / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2689, allocations: 0 / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.2693, allocations: 256.6 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2693, allocations: 0 / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.2696, allocations: 63.89 kB / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2696, allocations: 4 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2697, allocations: 0 / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.2697, allocations: 7.938 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2697, allocations: 4 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.2702, allocations: 381.8 kB / 439.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.2703, allocations: 35.84 kB / 439.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.2703, allocations: 8 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2705, allocations: 11.94 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.2706, allocations: 19.84 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.2706, allocations: 4 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.2709, allocations: 247 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2709, allocations: 0 / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.2711, allocations: 52 kB / 440.2 MB, free: 13.2 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.0008603/0.272, allocations: 0.9152 MB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.2723, allocations: 143.9 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2723, allocations: 0 / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2725, allocations: 87.02 kB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.2728, allocations: 38.95 kB / 441.4 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.2769, allocations: 3.066 MB / 444.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.277, allocations: 155.5 kB / 444.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.2771, allocations: 34.25 kB / 444.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.2773, allocations: 91.41 kB / 444.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2773, allocations: 0 / 444.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3119, allocations: 6.485 MB / 451.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.13, allocations: 2.75 kB / 451.2 MB, free: 2.27 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.691999895992922]