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.001325/0.001325, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001353/0.001353, allocations: 190.8 kB / 23.71 MB, free: 4.406 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.397/1.397, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.001554/0.001554, allocations: 51.92 kB / 370.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2541, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003525/0.2576, allocations: 1.993 MB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2586, allocations: 0.5224 MB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2587, allocations: 4 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2588, allocations: 23.67 kB / 425.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.2591, allocations: 79.42 kB / 425.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.2593, allocations: 55.84 kB / 425.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.2596, allocations: 255.1 kB / 425.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2598, allocations: 50.52 kB / 425.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2599, allocations: 103.5 kB / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.2601, allocations: 127.3 kB / 425.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.2602, allocations: 20 kB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.2602, allocations: 20 kB / 425.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.2603, allocations: 59.7 kB / 425.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2604, allocations: 103.2 kB / 426 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.2607, allocations: 242.8 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2607, allocations: 0 / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2607, allocations: 0 / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2607, allocations: 0 / 426.2 MB, free: 10.73 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.001081/0.2618, allocations: 0.5318 MB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2618, allocations: 12.03 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.2619, allocations: 46.69 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.2619, allocations: 40.62 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2623, allocations: 246.6 kB / 427.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2623, allocations: 11.94 kB / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.2624, allocations: 15.95 kB / 427.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.2626, allocations: 125.5 kB / 427.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2627, allocations: 0 / 427.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2627, allocations: 4 kB / 427.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2627, allocations: 8 kB / 427.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.2629, allocations: 67.97 kB / 427.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.2637, allocations: 463.5 kB / 427.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.2642, allocations: 178.7 kB / 428 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.2643, allocations: 64.77 kB / 428 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2643, allocations: 3.984 kB / 428 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.2644, allocations: 34.56 kB / 428.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2644, allocations: 4 kB / 428.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001536/0.2659, allocations: 0.5826 MB / 428.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.266, allocations: 55.41 kB / 428.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.2664, allocations: 336.5 kB / 429 MB, free: 7.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2664, allocations: 25.7 kB / 429 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2665, allocations: 160.4 kB / 429.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.2666, allocations: 75.34 kB / 429.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.2666, allocations: 33.7 kB / 429.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2668, allocations: 342.8 kB / 429.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2669, allocations: 59.97 kB / 429.7 MB, free: 7.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.2671, allocations: 71.16 kB / 429.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.2673, allocations: 136.8 kB / 429.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2673, allocations: 0 / 429.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003804/0.2677, allocations: 211.1 kB / 430.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2677, allocations: 7.984 kB / 430.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2677, allocations: 0 / 430.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2678, allocations: 4 kB / 430.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.268, allocations: 63.84 kB / 430.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2681, allocations: 4 kB / 430.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.2682, allocations: 11.92 kB / 430.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.2682, allocations: 8 kB / 430.2 MB, free: 6.531 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.0001392/0.2684, allocations: 133.8 kB / 430.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.2684, allocations: 27.81 kB / 430.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.2689, allocations: 224.5 kB / 430.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2689, allocations: 7.938 kB / 430.6 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2689, allocations: 3.938 kB / 430.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2689, allocations: 8 kB / 430.6 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.2693, allocations: 252.6 kB / 430.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2693, allocations: 0 / 430.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.2696, allocations: 59.89 kB / 430.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2696, allocations: 0 / 430.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.2696, allocations: 11.98 kB / 430.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2697, allocations: 3.938 kB / 430.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2697, allocations: 0 / 430.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.2703, allocations: 386.4 kB / 431.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.2703, allocations: 31.86 kB / 431.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.2704, allocations: 8 kB / 431.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2705, allocations: 11.92 kB / 431.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.2706, allocations: 23.81 kB / 431.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2706, allocations: 4 kB / 431.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.2709, allocations: 247 kB / 431.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2709, allocations: 0 / 431.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.2712, allocations: 44 kB / 431.7 MB, free: 4.996 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.0009722/0.2721, allocations: 0.9154 MB / 432.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.2725, allocations: 155.8 kB / 432.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2725, allocations: 0 / 432.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2726, allocations: 82.88 kB / 432.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.273, allocations: 33.08 kB / 432.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.2773, allocations: 3.063 MB / 435.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2775, allocations: 171.3 kB / 436.1 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.2777, allocations: 34.28 kB / 436.1 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.2779, allocations: 91.39 kB / 436.2 MB, free: 348 kB / 334.1 MB Notification: Performance of SimCode: time 1.333e-06/0.2779, allocations: 0 / 436.2 MB, free: 348 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.3127, allocations: 6.422 MB / 442.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.45, allocations: 3.938 kB / 442.6 MB, free: 10.12 MB / 350.1 MB " [Timeout remaining time 648] (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: 13.91146162385121]