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.001572/0.001572, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.318, allocations: 50.54 MB / 408.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004368/0.3225, allocations: 2.081 MB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3242, allocations: 0.5769 MB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3244, allocations: 7.938 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.3246, allocations: 23.67 kB / 411.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.3251, allocations: 71.42 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.3253, allocations: 47.92 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.3257, allocations: 263.1 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.3259, allocations: 56.7 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.3262, allocations: 119.4 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.3265, allocations: 135.2 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.3265, allocations: 23.98 kB / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.635e-05/0.3266, allocations: 20 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3267, allocations: 63.69 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3268, allocations: 115.2 kB / 412.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.3272, allocations: 240.3 kB / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.3272, allocations: 0 / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3272, allocations: 0 / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3272, allocations: 0 / 412.6 MB, free: 13.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.001517/0.3287, allocations: 0.5955 MB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.846e-05/0.3288, allocations: 12.03 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.972e-05/0.3289, allocations: 46.73 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.329, allocations: 28.56 kB / 413.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.3295, allocations: 312 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3295, allocations: 11.94 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.3295, allocations: 12 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.3298, allocations: 121.6 kB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3299, allocations: 7.938 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3299, allocations: 11.94 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3299, allocations: 0 / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.3301, allocations: 83.89 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.331, allocations: 0.5236 MB / 414.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.3315, allocations: 170.8 kB / 414.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3317, allocations: 64.77 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.3317, allocations: 4 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3318, allocations: 38.56 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3318, allocations: 0 / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001693/0.3335, allocations: 0.6612 MB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3335, allocations: 55.41 kB / 415.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.334, allocations: 332.6 kB / 415.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.334, allocations: 29.7 kB / 415.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3341, allocations: 156.3 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.3342, allocations: 63.09 kB / 415.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.3343, allocations: 33.7 kB / 415.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3344, allocations: 346.8 kB / 416.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3346, allocations: 59.97 kB / 416.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3347, allocations: 63.97 kB / 416.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.335, allocations: 140.2 kB / 416.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.335, allocations: 0 / 416.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003997/0.3354, allocations: 217.1 kB / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3354, allocations: 4 kB / 416.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3354, allocations: 0 / 416.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.3355, allocations: 4 kB / 416.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3358, allocations: 63.91 kB / 416.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.3358, allocations: 0 / 416.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.336, allocations: 7.984 kB / 416.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.336, allocations: 8 kB / 416.8 MB, free: 9.219 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.0001485/0.3361, allocations: 137.7 kB / 417 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.3362, allocations: 27.62 kB / 417 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.3367, allocations: 216.6 kB / 417.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3367, allocations: 15.92 kB / 417.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3367, allocations: 0 / 417.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3367, allocations: 0 / 417.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.3371, allocations: 333.3 kB / 417.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3372, allocations: 0 / 417.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.3375, allocations: 55.95 kB / 417.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3375, allocations: 7.938 kB / 417.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3376, allocations: 4 kB / 417.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.3376, allocations: 7.938 kB / 417.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3376, allocations: 0 / 417.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.3382, allocations: 394 kB / 418 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.3383, allocations: 104.9 kB / 418.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.3384, allocations: 4.125 kB / 418.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3386, allocations: 11.94 kB / 418.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3386, allocations: 19.97 kB / 418.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3387, allocations: 4 kB / 418.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.3389, allocations: 247.1 kB / 418.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3389, allocations: 0 / 418.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3392, allocations: 40 kB / 418.4 MB, free: 7.523 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.0008922/0.3401, allocations: 0.9229 MB / 419.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.3405, allocations: 167.8 kB / 419.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3405, allocations: 0 / 419.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3407, allocations: 83.91 kB / 419.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3411, allocations: 36.12 kB / 419.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.3453, allocations: 3.051 MB / 422.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.3457, allocations: 0.7635 MB / 423.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.3459, allocations: 34.28 kB / 423.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3461, allocations: 95.39 kB / 423.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3461, allocations: 0 / 423.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3745, allocations: 5.824 MB / 429.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/9.225, allocations: 4.5 kB / 429.4 MB, free: 12.62 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 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.mat","/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