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.001135/0.001135, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001273/0.001273, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8711/0.8711, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.282e-06/1.282e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.444e-05, allocations: 2.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002061/0.002075, allocations: 1.994 MB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.002774, allocations: 0.5573 MB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.002862, allocations: 0 / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.002957, allocations: 23.67 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.003184, allocations: 79.41 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.003342, allocations: 59.78 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.003569, allocations: 279 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003673, allocations: 32.92 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.003884, allocations: 147.6 kB / 327.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.004, allocations: 103.5 kB / 327.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.004027, allocations: 20 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.159e-05/0.004048, allocations: 24 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.004114, allocations: 67.67 kB / 328 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.00417, allocations: 71.7 kB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.004366, allocations: 235 kB / 328.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004369, allocations: 0 / 328.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00437, allocations: 4 kB / 328.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.004374, allocations: 0 / 328.3 MB, free: 12.22 MB / 298.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.0006816/0.005056, allocations: 0.5279 MB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.005093, allocations: 12.03 kB / 328.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.005129, allocations: 46.73 kB / 328.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.005167, allocations: 28.75 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.005427, allocations: 253.7 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005438, allocations: 8.375 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.005465, allocations: 16.36 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.005637, allocations: 121.6 kB / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005644, allocations: 8 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.005659, allocations: 4 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.005664, allocations: 0 / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.005782, allocations: 83.89 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.006312, allocations: 463.4 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.006624, allocations: 174.8 kB / 330 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.006703, allocations: 52.84 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.00672, allocations: 7.938 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.006735, allocations: 34.56 kB / 330.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.006736, allocations: 0 / 330.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009766/0.007713, allocations: 0.5974 MB / 330.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.007741, allocations: 59.34 kB / 330.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.007992, allocations: 332.6 kB / 331.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.008005, allocations: 29.64 kB / 331.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.008081, allocations: 160.4 kB / 331.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.008125, allocations: 59.48 kB / 331.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.00817, allocations: 33.7 kB / 331.3 MB, free: 8.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.008257, allocations: 350.8 kB / 331.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.008343, allocations: 59.97 kB / 331.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.008423, allocations: 63.91 kB / 331.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.008604, allocations: 151.7 kB / 331.9 MB, free: 8.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008605, allocations: 0 / 331.9 MB, free: 8.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002281/0.008833, allocations: 213.4 kB / 332.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.008845, allocations: 4 kB / 332.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00885, allocations: 0 / 332.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.008861, allocations: 0 / 332.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.009013, allocations: 67.91 kB / 332.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.009018, allocations: 0 / 332.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.009086, allocations: 11.92 kB / 332.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.009098, allocations: 8 kB / 332.2 MB, free: 8.016 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.159e-05/0.00918, allocations: 125.8 kB / 332.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.009212, allocations: 31.81 kB / 332.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.009477, allocations: 220.5 kB / 332.6 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.00948, allocations: 4 kB / 332.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.009484, allocations: 4 kB / 332.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.00949, allocations: 4 kB / 332.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.009709, allocations: 264.5 kB / 332.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009711, allocations: 4 kB / 332.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.009894, allocations: 55.95 kB / 332.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.009896, allocations: 0 / 332.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.009911, allocations: 7.984 kB / 332.9 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.009913, allocations: 4 kB / 333 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009915, allocations: 0 / 333 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.01028, allocations: 396.5 kB / 333.3 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.01033, allocations: 31.86 kB / 333.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.01035, allocations: 7.984 kB / 333.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.01044, allocations: 8 kB / 333.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.01047, allocations: 11.97 kB / 333.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.01048, allocations: 11.94 kB / 333.4 MB, free: 6.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.01065, allocations: 247 kB / 333.7 MB, free: 6.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01065, allocations: 0 / 333.7 MB, free: 6.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.01084, allocations: 44 kB / 333.7 MB, free: 6.496 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.0005694/0.01141, allocations: 0.9269 MB / 334.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.01164, allocations: 146.6 kB / 334.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01164, allocations: 0 / 334.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.01174, allocations: 79.91 kB / 334.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01202, allocations: 51.81 kB / 334.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.01458, allocations: 2.998 MB / 337.9 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.01469, allocations: 155.5 kB / 338 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.824e-05/0.01477, allocations: 34.27 kB / 338.1 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.01489, allocations: 88.47 kB / 338.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01489, allocations: 0 / 338.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.03465, allocations: 6.579 MB / 344.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/6.953, allocations: 3.859 kB / 344.7 MB, free: 11.54 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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: 8.75435881037265]