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.001342/0.001342, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001681/0.001681, allocations: 189 kB / 23.72 MB, free: 4.684 MB / 14.72 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 1.519/1.519, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001641/0.001641, allocations: 47.92 kB / 370.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3713, allocations: 52.17 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003749/0.3751, allocations: 2.107 MB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3763, allocations: 0.5574 MB / 425.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3765, allocations: 3.938 kB / 425.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.3766, allocations: 27.67 kB / 425.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.377, allocations: 83.41 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3772, allocations: 51.92 kB / 425.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.3776, allocations: 259.1 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3777, allocations: 48.78 kB / 425.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3779, allocations: 107.4 kB / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.3782, allocations: 139.2 kB / 426 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.3782, allocations: 20 kB / 426 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-05/0.3782, allocations: 20 kB / 426 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3783, allocations: 63.69 kB / 426.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3785, allocations: 123.2 kB / 426.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.3788, allocations: 238.4 kB / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3788, allocations: 0 / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3788, allocations: 0 / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3788, allocations: 0 / 426.5 MB, free: 10.78 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.001234/0.3801, allocations: 0.5318 MB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3801, allocations: 12.03 kB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.664e-05/0.3802, allocations: 42.75 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.3802, allocations: 32.7 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3807, allocations: 258.5 kB / 427.3 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3807, allocations: 11.94 kB / 427.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.3807, allocations: 15.95 kB / 427.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.381, allocations: 125.6 kB / 427.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.381, allocations: 3.984 kB / 427.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.381, allocations: 0 / 427.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.381, allocations: 4 kB / 427.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.3813, allocations: 75.95 kB / 427.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.3821, allocations: 0.4915 MB / 428.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.3827, allocations: 182.6 kB / 428.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3828, allocations: 65.02 kB / 428.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3828, allocations: 4 kB / 428.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3829, allocations: 34.56 kB / 428.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3829, allocations: 0 / 428.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001881/0.3847, allocations: 0.5897 MB / 428.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.3848, allocations: 55.41 kB / 429 MB, free: 8.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.3852, allocations: 332.6 kB / 429.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3853, allocations: 29.69 kB / 429.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3854, allocations: 156.3 kB / 429.5 MB, free: 7.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.3855, allocations: 71.44 kB / 429.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.3855, allocations: 33.7 kB / 429.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3857, allocations: 350.7 kB / 429.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3859, allocations: 55.98 kB / 430 MB, free: 7.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.386, allocations: 59.97 kB / 430 MB, free: 6.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.3863, allocations: 140.8 kB / 430.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3863, allocations: 0 / 430.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003962/0.3867, allocations: 223.2 kB / 430.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3867, allocations: 8 kB / 430.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3867, allocations: 0 / 430.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3867, allocations: 0 / 430.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.3871, allocations: 63.89 kB / 430.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3871, allocations: 4 kB / 430.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3872, allocations: 7.938 kB / 430.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3872, allocations: 8 kB / 430.5 MB, free: 6.535 MB / 334.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.0001549/0.3874, allocations: 137.8 kB / 430.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.3875, allocations: 27.81 kB / 430.7 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.3879, allocations: 220.5 kB / 430.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3879, allocations: 3.938 kB / 430.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3879, allocations: 0 / 430.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.3879, allocations: 0 / 430.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.3883, allocations: 300.5 kB / 431.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3883, allocations: 0 / 431.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.3887, allocations: 59.95 kB / 431.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3887, allocations: 3.938 kB / 431.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3888, allocations: 11.98 kB / 431.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3888, allocations: 3.938 kB / 431.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3888, allocations: 0 / 431.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.3894, allocations: 390 kB / 431.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.3895, allocations: 31.86 kB / 431.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3895, allocations: 8 kB / 431.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3897, allocations: 11.92 kB / 431.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3898, allocations: 15.89 kB / 431.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3898, allocations: 7.984 kB / 431.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.3901, allocations: 243.1 kB / 431.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3901, allocations: 0 / 431.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3903, allocations: 44 kB / 432 MB, free: 4.969 MB / 334.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.0009704/0.3913, allocations: 0.9231 MB / 432.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.3917, allocations: 155.8 kB / 433.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3917, allocations: 0 / 433.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3918, allocations: 79.91 kB / 433.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3922, allocations: 35.2 kB / 433.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.3967, allocations: 3.067 MB / 436.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.3971, allocations: 0.7712 MB / 437 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.3972, allocations: 30.28 kB / 437 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.3974, allocations: 95.39 kB / 437.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3974, allocations: 0 / 437.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03922/0.4366, allocations: 5.908 MB / 443 MB, free: 9.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.61, allocations: 3.75 kB / 443 MB, free: 9.973 MB / 350.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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: 15.287954822000756]