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.001904/0.001904, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.002401/0.002401, allocations: 215 kB / 23.74 MB, free: 4.535 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001548/0.001548, allocations: 55.91 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2989, allocations: 53.36 MB / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004158/0.303, allocations: 2.11 MB / 433.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3047, allocations: 0.5884 MB / 433.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.3049, allocations: 4 kB / 433.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.3051, allocations: 23.67 kB / 433.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.3055, allocations: 75.42 kB / 434 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3058, allocations: 55.91 kB / 434 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.3062, allocations: 255.1 kB / 434.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.3065, allocations: 52.81 kB / 434.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.3068, allocations: 107.5 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.3071, allocations: 143.3 kB / 434.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.3072, allocations: 20 kB / 434.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-05/0.3072, allocations: 20 kB / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3073, allocations: 59.69 kB / 434.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3075, allocations: 119.1 kB / 434.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.3079, allocations: 239.2 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3079, allocations: 0 / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.3079, allocations: 4 kB / 435 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.3079, allocations: 0 / 435 MB, free: 2.988 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.001392/0.3093, allocations: 0.5395 MB / 435.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3094, allocations: 12.03 kB / 435.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.3094, allocations: 46.67 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.3095, allocations: 32.75 kB / 435.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.3099, allocations: 246.5 kB / 435.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3099, allocations: 11.94 kB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.31, allocations: 12 kB / 435.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3102, allocations: 129.5 kB / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3102, allocations: 0 / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.3103, allocations: 12 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3103, allocations: 0 / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.3105, allocations: 79.95 kB / 436.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.3114, allocations: 499.3 kB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.312, allocations: 182.7 kB / 436.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3121, allocations: 60.77 kB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3121, allocations: 4 kB / 436.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3122, allocations: 30.56 kB / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3122, allocations: 4 kB / 436.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001806/0.314, allocations: 0.5904 MB / 437.5 MB, free: 372 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.314, allocations: 59.39 kB / 437.5 MB, free: 300 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.3145, allocations: 332.6 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3146, allocations: 33.64 kB / 437.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3147, allocations: 156.3 kB / 438 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.3148, allocations: 59.48 kB / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.3149, allocations: 41.64 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3151, allocations: 346.7 kB / 438.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3152, allocations: 55.97 kB / 438.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3153, allocations: 63.98 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.3156, allocations: 146.5 kB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.3156, allocations: 0 / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000404/0.316, allocations: 211.1 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.316, allocations: 4 kB / 438.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3161, allocations: 7.938 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3161, allocations: 0 / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.3164, allocations: 63.83 kB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3164, allocations: 4 kB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3166, allocations: 11.94 kB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3166, allocations: 4 kB / 439 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.0001563/0.3167, allocations: 137.8 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.3168, allocations: 27.81 kB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.3172, allocations: 216.5 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3173, allocations: 7.938 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3173, allocations: 4 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3173, allocations: 3.984 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3177, allocations: 288.5 kB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3177, allocations: 4 kB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.3181, allocations: 63.89 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3181, allocations: 0 / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.3181, allocations: 11.98 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3181, allocations: 3.938 kB / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3181, allocations: 0 / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.3188, allocations: 391.3 kB / 440.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.3189, allocations: 31.86 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.3189, allocations: 4 kB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3191, allocations: 15.92 kB / 440.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.3192, allocations: 11.97 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3192, allocations: 8 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002951/0.3195, allocations: 247.1 kB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3195, allocations: 3.938 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.3198, allocations: 40 kB / 440.5 MB, free: 13.18 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.001025/0.3208, allocations: 0.923 MB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.3212, allocations: 150.8 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3212, allocations: 4 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3214, allocations: 79.91 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.3219, allocations: 35.52 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/0.3271, allocations: 3.069 MB / 444.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.3275, allocations: 0.7635 MB / 445.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.3277, allocations: 34.22 kB / 445.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.3279, allocations: 99.39 kB / 445.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.204e-06/0.3279, allocations: 0 / 445.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.3779, allocations: 5.891 MB / 451.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.95, allocations: 7.641 kB / 451.6 MB, free: 2.191 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.726712532999954]