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.001344/0.001344, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 205.2 kB / 18.74 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.533/1.533, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.91 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3314, allocations: 50.54 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003508/0.335, allocations: 2.104 MB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3361, allocations: 0.5691 MB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.3363, allocations: 0 / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3364, allocations: 27.67 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.3367, allocations: 75.41 kB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3369, allocations: 55.86 kB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.3372, allocations: 255.1 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.3375, allocations: 64.69 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.3378, allocations: 111.4 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.338, allocations: 131.2 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.3381, allocations: 20 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.3381, allocations: 20 kB / 412.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.3382, allocations: 63.69 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3384, allocations: 127.2 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.3387, allocations: 237.7 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3387, allocations: 0 / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3387, allocations: 0 / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3387, allocations: 0 / 412.7 MB, free: 13.62 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.001142/0.3398, allocations: 0.6071 MB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3399, allocations: 8.031 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.34, allocations: 46.73 kB / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.34, allocations: 32.75 kB / 413.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3404, allocations: 308.3 kB / 413.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.3405, allocations: 15.94 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.3405, allocations: 12 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3408, allocations: 125.6 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3409, allocations: 3.938 kB / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3409, allocations: 4 kB / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3409, allocations: 4 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.3412, allocations: 79.83 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.3421, allocations: 0.5198 MB / 414.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.3426, allocations: 186.7 kB / 414.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3428, allocations: 60.77 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.3428, allocations: 7.938 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3428, allocations: 30.56 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3428, allocations: 0 / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0016/0.3444, allocations: 0.668 MB / 415.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3445, allocations: 59.41 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.3449, allocations: 328.6 kB / 415.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.345, allocations: 29.7 kB / 415.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3451, allocations: 156.3 kB / 415.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.3452, allocations: 67.47 kB / 416 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.3452, allocations: 33.72 kB / 416 MB, free: 9.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3454, allocations: 346.7 kB / 416.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3456, allocations: 59.97 kB / 416.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3457, allocations: 63.34 kB / 416.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.346, allocations: 144.8 kB / 416.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.346, allocations: 0 / 416.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003928/0.3464, allocations: 213 kB / 416.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3465, allocations: 8 kB / 416.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3465, allocations: 0 / 416.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3465, allocations: 0 / 416.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.3468, allocations: 67.83 kB / 416.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3468, allocations: 4 kB / 416.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.347, allocations: 11.94 kB / 416.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.347, allocations: 7.984 kB / 416.9 MB, free: 9.078 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.0001277/0.3471, allocations: 129.8 kB / 417.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.3472, allocations: 27.81 kB / 417.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.3476, allocations: 224.5 kB / 417.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3476, allocations: 3.938 kB / 417.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3477, allocations: 4 kB / 417.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3477, allocations: 11.91 kB / 417.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.3481, allocations: 321.4 kB / 417.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3481, allocations: 0 / 417.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.3485, allocations: 63.95 kB / 417.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3485, allocations: 3.984 kB / 417.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3485, allocations: 4 kB / 417.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3485, allocations: 3.938 kB / 417.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.3485, allocations: 0 / 417.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.3491, allocations: 385.6 kB / 418.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.3492, allocations: 109 kB / 418.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3493, allocations: 15.98 kB / 418.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3495, allocations: 15.88 kB / 418.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3496, allocations: 7.984 kB / 418.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3496, allocations: 7.984 kB / 418.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.3499, allocations: 243.1 kB / 418.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3499, allocations: 0 / 418.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3502, allocations: 48 kB / 418.5 MB, free: 7.383 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.0009547/0.3511, allocations: 0.923 MB / 419.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.3515, allocations: 155.9 kB / 419.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3515, allocations: 0 / 419.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3517, allocations: 83.91 kB / 419.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3521, allocations: 39.89 kB / 419.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.3563, allocations: 3.052 MB / 422.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.3567, allocations: 0.7635 MB / 423.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.3569, allocations: 30.28 kB / 423.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.357, allocations: 95.39 kB / 423.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.357, allocations: 0 / 423.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.3859, allocations: 5.676 MB / 429.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.109/9.495, allocations: 8.172 kB / 429.3 MB, free: 12.64 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.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