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.001509/0.00151, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003216/0.003216, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3162, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003431/0.3196, allocations: 2.076 MB / 410.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3209, allocations: 0.5808 MB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.321, allocations: 3.938 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.3211, allocations: 19.69 kB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.3214, allocations: 71.47 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.3216, allocations: 59.8 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.3219, allocations: 255.2 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3221, allocations: 60.69 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.3223, allocations: 111.4 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.3225, allocations: 139.3 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.3226, allocations: 20 kB / 412.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.3226, allocations: 23.94 kB / 412.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.023e-05/0.3227, allocations: 59.69 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3229, allocations: 119.2 kB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.3232, allocations: 245.7 kB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3232, allocations: 0 / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3232, allocations: 0 / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3232, allocations: 0 / 412.6 MB, free: 13.71 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.001186/0.3244, allocations: 0.6071 MB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3244, allocations: 12.03 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/0.3245, allocations: 42.73 kB / 413.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.3246, allocations: 32.75 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.325, allocations: 316.2 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.325, allocations: 11.94 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.3251, allocations: 12 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.3253, allocations: 121.6 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3253, allocations: 3.938 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3254, allocations: 8 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3254, allocations: 4 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3256, allocations: 83.89 kB / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.3264, allocations: 0.5159 MB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.3269, allocations: 178.7 kB / 414.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.3271, allocations: 64.77 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3271, allocations: 4 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3271, allocations: 30.56 kB / 414.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3271, allocations: 4 kB / 414.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001544/0.3287, allocations: 0.6691 MB / 415.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3287, allocations: 55.41 kB / 415.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.3291, allocations: 332.6 kB / 415.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3292, allocations: 29.7 kB / 415.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3293, allocations: 156.3 kB / 415.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.3294, allocations: 67.45 kB / 415.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.3295, allocations: 37.7 kB / 416 MB, free: 10.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3296, allocations: 342.8 kB / 416.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3298, allocations: 55.97 kB / 416.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3299, allocations: 71.34 kB / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3302, allocations: 140.8 kB / 416.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3302, allocations: 0 / 416.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003799/0.3306, allocations: 218.5 kB / 416.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3306, allocations: 4 kB / 416.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3306, allocations: 3.984 kB / 416.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3306, allocations: 4 kB / 416.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.3309, allocations: 55.91 kB / 416.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.331, allocations: 4 kB / 416.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3311, allocations: 15.92 kB / 416.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3311, allocations: 4 kB / 416.9 MB, free: 9.172 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.0001634/0.3313, allocations: 133.8 kB / 417 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.3314, allocations: 27.81 kB / 417 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.3318, allocations: 223.4 kB / 417.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.3318, allocations: 7.938 kB / 417.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3318, allocations: 4 kB / 417.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3319, allocations: 11.81 kB / 417.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.3323, allocations: 321.4 kB / 417.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3323, allocations: 4 kB / 417.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.3326, allocations: 63.95 kB / 417.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3326, allocations: 0 / 417.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3327, allocations: 4 kB / 417.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3327, allocations: 7.938 kB / 417.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3327, allocations: 0 / 417.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.3333, allocations: 391.1 kB / 418 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3334, allocations: 104.9 kB / 418.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.3335, allocations: 4.062 kB / 418.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3337, allocations: 11.94 kB / 418.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.3337, allocations: 15.97 kB / 418.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3337, allocations: 4 kB / 418.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002842/0.334, allocations: 251.1 kB / 418.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.334, allocations: 0 / 418.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3343, allocations: 44 kB / 418.5 MB, free: 7.473 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.0009891/0.3353, allocations: 0.9222 MB / 419.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3357, allocations: 159.9 kB / 419.5 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3357, allocations: 0 / 419.5 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.3359, allocations: 83.91 kB / 419.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3362, allocations: 36.64 kB / 419.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.3405, allocations: 3.052 MB / 422.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.341, allocations: 0.7635 MB / 423.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3411, allocations: 30.28 kB / 423.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3413, allocations: 99.39 kB / 423.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3413, allocations: 0 / 423.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.379, allocations: 5.68 MB / 429.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.71/9.089, allocations: 4.188 kB / 429.3 MB, free: 12.72 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.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) Reference file matches