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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002317/0.002317, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001599/0.001599, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2521, allocations: 53.38 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003295/0.2554, allocations: 1.997 MB / 433.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2566, allocations: 0.5457 MB / 433.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2567, allocations: 4 kB / 433.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.2568, allocations: 23.67 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.2571, allocations: 79.42 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.2573, allocations: 51.91 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.2576, allocations: 263 kB / 434.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2577, allocations: 50.56 kB / 434.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.2579, allocations: 111.4 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.2581, allocations: 123.3 kB / 434.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.2582, allocations: 20 kB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.2582, allocations: 20 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.2583, allocations: 67.69 kB / 434.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2584, allocations: 99.33 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.2587, allocations: 238.8 kB / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2587, allocations: 0 / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2587, allocations: 0 / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2587, allocations: 0 / 434.8 MB, free: 2.926 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.001038/0.2597, allocations: 0.5382 MB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2597, allocations: 8.031 kB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.2598, allocations: 46.67 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.2599, allocations: 36.75 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.2602, allocations: 242.5 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.2602, allocations: 15.94 kB / 435.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.2603, allocations: 12 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2605, allocations: 125.5 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2606, allocations: 0 / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2606, allocations: 4 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2606, allocations: 4 kB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.2608, allocations: 79.95 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.2616, allocations: 467.4 kB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.2621, allocations: 170.6 kB / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.2623, allocations: 64.77 kB / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2623, allocations: 0 / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2623, allocations: 34.56 kB / 436.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.955e-06/0.2623, allocations: 4 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001482/0.2638, allocations: 0.5866 MB / 437.2 MB, free: 360 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2639, allocations: 51.41 kB / 437.2 MB, free: 296 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.2642, allocations: 332.6 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2643, allocations: 29.7 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2644, allocations: 160.3 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.2645, allocations: 71.39 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.2645, allocations: 37.7 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2647, allocations: 342.8 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2649, allocations: 63.91 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.265, allocations: 59.97 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.2653, allocations: 140.8 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2653, allocations: 0 / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003743/0.2656, allocations: 219.3 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2657, allocations: 8 kB / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2657, allocations: 0 / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2657, allocations: 0 / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.266, allocations: 59.84 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.266, allocations: 4 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2661, allocations: 15.92 kB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2661, allocations: 4 kB / 438.8 MB, free: 14.73 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.0001303/0.2663, allocations: 129.8 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.2663, allocations: 31.81 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.2668, allocations: 224.5 kB / 439.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2668, allocations: 7.938 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2668, allocations: 4 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2668, allocations: 3.984 kB / 439.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.2671, allocations: 252.6 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2671, allocations: 0 / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.2675, allocations: 63.89 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2675, allocations: 3.938 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2675, allocations: 11.98 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2675, allocations: 3.938 kB / 439.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2675, allocations: 0 / 439.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.2682, allocations: 385.7 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.2682, allocations: 31.86 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.2683, allocations: 4 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2684, allocations: 15.92 kB / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.2685, allocations: 11.97 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2685, allocations: 4 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002721/0.2688, allocations: 259 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2688, allocations: 0 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.269, allocations: 40 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.0008571/0.2699, allocations: 0.9192 MB / 441.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.2702, allocations: 147.9 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2702, allocations: 3.938 kB / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.2704, allocations: 82.25 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.2707, allocations: 37.08 kB / 441.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.2747, allocations: 3.062 MB / 444.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.2749, allocations: 163.4 kB / 444.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.275, allocations: 26.28 kB / 444.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.2752, allocations: 95.39 kB / 444.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2752, allocations: 0 / 444.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.3084, allocations: 6.426 MB / 451.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.46, allocations: 4.062 kB / 451.2 MB, free: 2.316 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.038900073152035]