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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001374, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004238/0.3212, allocations: 2.081 MB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3226, allocations: 0.5769 MB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.3228, allocations: 0 / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.323, allocations: 23.67 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.3234, allocations: 79.42 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.3236, allocations: 51.86 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.324, allocations: 263.1 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3242, allocations: 56.7 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.3245, allocations: 119.4 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.3248, allocations: 131.3 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.3248, allocations: 20 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.514e-05/0.3249, allocations: 20 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.325, allocations: 59.7 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3251, allocations: 127.1 kB / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.3255, allocations: 233.8 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3255, allocations: 0 / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3255, allocations: 4 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3255, allocations: 0 / 412.6 MB, free: 13.7 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.001232/0.3268, allocations: 0.6148 MB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3268, allocations: 8.031 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.3269, allocations: 42.75 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.327, allocations: 32.75 kB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.3274, allocations: 308.3 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3274, allocations: 15.88 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.3274, allocations: 12 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.3277, allocations: 129.5 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3277, allocations: 0 / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3277, allocations: 7.938 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3278, allocations: 4 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.3279, allocations: 75.91 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.3287, allocations: 0.5276 MB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.3292, allocations: 174.7 kB / 414.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.3294, allocations: 60.78 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3294, allocations: 4 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3294, allocations: 38.55 kB / 414.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.3294, allocations: 0 / 414.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001582/0.331, allocations: 0.6619 MB / 415.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3311, allocations: 59.34 kB / 415.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.3315, allocations: 332.6 kB / 415.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3315, allocations: 25.7 kB / 415.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3316, allocations: 164.3 kB / 415.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3317, allocations: 55.48 kB / 415.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.3318, allocations: 37.7 kB / 416 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.332, allocations: 346.8 kB / 416.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3321, allocations: 63.97 kB / 416.4 MB, free: 9.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3322, allocations: 61.09 kB / 416.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.3325, allocations: 144 kB / 416.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3325, allocations: 0 / 416.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003785/0.3329, allocations: 209.4 kB / 416.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3329, allocations: 10.81 kB / 416.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.333, allocations: 7.938 kB / 416.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.333, allocations: 0 / 416.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.3333, allocations: 63.89 kB / 416.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3333, allocations: 4 kB / 416.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3335, allocations: 7.938 kB / 416.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3335, allocations: 12 kB / 416.9 MB, free: 9.152 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.0001278/0.3336, allocations: 133.7 kB / 417 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.3337, allocations: 27.81 kB / 417 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.3341, allocations: 224.6 kB / 417.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3342, allocations: 3.938 kB / 417.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3342, allocations: 0 / 417.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3342, allocations: 7.938 kB / 417.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.3345, allocations: 329.3 kB / 417.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3346, allocations: 3.984 kB / 417.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.3349, allocations: 59.89 kB / 417.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3349, allocations: 0 / 417.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.335, allocations: 12 kB / 417.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.335, allocations: 7.922 kB / 417.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.335, allocations: 0 / 417.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.3356, allocations: 383.2 kB / 418 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.3357, allocations: 105 kB / 418.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3358, allocations: 4 kB / 418.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.336, allocations: 15.92 kB / 418.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.336, allocations: 15.92 kB / 418.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3361, allocations: 8 kB / 418.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.3363, allocations: 247 kB / 418.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3364, allocations: 0 / 418.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3367, allocations: 44 kB / 418.5 MB, free: 7.453 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.0008636/0.3375, allocations: 0.9222 MB / 419.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3379, allocations: 155.9 kB / 419.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3379, allocations: 0 / 419.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3381, allocations: 87.89 kB / 419.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3385, allocations: 39.06 kB / 419.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.3425, allocations: 3.06 MB / 422.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3428, allocations: 0.7597 MB / 423.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.3429, allocations: 38.27 kB / 423.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.3431, allocations: 91.41 kB / 423.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3431, allocations: 0 / 423.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.3677, allocations: 5.682 MB / 429.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.729, allocations: 14.59 kB / 429.3 MB, free: 12.7 MB / 350.1 MB (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.2 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) 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.0.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) Reference file matches