Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 205.8 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.91 kB / 377.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2885, allocations: 53.4 MB / 431.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004571/0.2931, allocations: 2.002 MB / 433.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2944, allocations: 0.5379 MB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.2945, allocations: 4 kB / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2947, allocations: 23.67 kB / 433.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.2951, allocations: 79.42 kB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.2953, allocations: 55.91 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.2957, allocations: 255 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2959, allocations: 50.56 kB / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.2962, allocations: 115.4 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.2964, allocations: 127.3 kB / 434.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.2964, allocations: 20 kB / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.2965, allocations: 20 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/0.2966, allocations: 55.77 kB / 434.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2967, allocations: 107.2 kB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.297, allocations: 234.8 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.297, allocations: 0 / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.297, allocations: 0 / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.297, allocations: 4 kB / 434.8 MB, free: 2.738 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.001132/0.2982, allocations: 0.5345 MB / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.2982, allocations: 15.98 kB / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.2983, allocations: 46.75 kB / 435.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.2983, allocations: 32.73 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.2987, allocations: 250.5 kB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2987, allocations: 11.94 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2988, allocations: 15.94 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.2991, allocations: 130.1 kB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2991, allocations: 0 / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2991, allocations: 8 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2991, allocations: 0 / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.2993, allocations: 75.97 kB / 435.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.3001, allocations: 471.4 kB / 436.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.3006, allocations: 170.7 kB / 436.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3007, allocations: 68.69 kB / 436.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3007, allocations: 4 kB / 436.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3008, allocations: 30.56 kB / 436.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3008, allocations: 4 kB / 436.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001448/0.3022, allocations: 0.5896 MB / 437.3 MB, free: 152 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3023, allocations: 55.41 kB / 437.3 MB, free: 84 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.3027, allocations: 332.6 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3027, allocations: 29.7 kB / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3028, allocations: 160.3 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.3029, allocations: 63.45 kB / 437.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.303, allocations: 37.7 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3031, allocations: 342.8 kB / 438.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3033, allocations: 63.91 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3034, allocations: 67.34 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.3037, allocations: 140.8 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3037, allocations: 0 / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003707/0.304, allocations: 216.8 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.304, allocations: 4 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.304, allocations: 3.984 kB / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3041, allocations: 0 / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.3043, allocations: 63.84 kB / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3044, allocations: 0 / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3045, allocations: 15.92 kB / 438.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3045, allocations: 4 kB / 438.8 MB, free: 14.53 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.0001381/0.3046, allocations: 129.8 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.3047, allocations: 35.75 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/0.3051, allocations: 220.5 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3052, allocations: 7.938 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3052, allocations: 0 / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3052, allocations: 0 / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.3055, allocations: 252.6 kB / 439.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3055, allocations: 7.938 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.3059, allocations: 63.89 kB / 439.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3059, allocations: 8 kB / 439.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3059, allocations: 11.92 kB / 439.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3059, allocations: 7.938 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3059, allocations: 3.984 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.3066, allocations: 381.8 kB / 439.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.3066, allocations: 31.86 kB / 440 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.3067, allocations: 4 kB / 440 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3069, allocations: 15.92 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.3069, allocations: 7.984 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3069, allocations: 11.98 kB / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002786/0.3072, allocations: 247.1 kB / 440.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3072, allocations: 0 / 440.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3075, allocations: 44 kB / 440.3 MB, free: 12.99 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.000926/0.3084, allocations: 0.9191 MB / 441.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.3087, allocations: 147.9 kB / 441.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3087, allocations: 0 / 441.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3089, allocations: 83.91 kB / 441.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3093, allocations: 35.42 kB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.3133, allocations: 3.065 MB / 444.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.3135, allocations: 159.5 kB / 444.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.3136, allocations: 26.28 kB / 444.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.3138, allocations: 95.39 kB / 444.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3138, allocations: 0 / 444.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.3491, allocations: 6.421 MB / 451.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.33, allocations: 4.062 kB / 451.2 MB, free: 2.086 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.078608089126647]