Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009592/0.0009592, allocations: 200.2 kB / 18.06 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007607/0.0007605, allocations: 107.4 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002474, allocations: 4 kB / 357.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.22, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08813/0.3082, allocations: 78.8 MB / 487.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.3085, allocations: 93.75 kB / 487.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01041/0.3189, allocations: 3.541 MB / 491.1 MB, free: 9.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.319, allocations: 0 / 491.1 MB, free: 9.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.319, allocations: 4 kB / 491.1 MB, free: 9.184 MB / 362.7 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.0008234/0.3198, allocations: 0.5762 MB / 491.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.3199, allocations: 16.03 kB / 491.7 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.3199, allocations: 32.5 kB / 491.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3203, allocations: 304.1 kB / 492 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3203, allocations: 13.12 kB / 492 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.3204, allocations: 8 kB / 492.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3206, allocations: 137.4 kB / 492.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3206, allocations: 0 / 492.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3207, allocations: 4 kB / 492.2 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3207, allocations: 7.938 kB / 492.2 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.3209, allocations: 79.97 kB / 492.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007636/0.3216, allocations: 0.5313 MB / 492.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.3221, allocations: 178.7 kB / 493 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3222, allocations: 64.84 kB / 493 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3223, allocations: 0 / 493 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3223, allocations: 42.56 kB / 493.1 MB, free: 7.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.3223, allocations: 0 / 493.1 MB, free: 7.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001472/0.3238, allocations: 0.6676 MB / 493.8 MB, free: 6.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3238, allocations: 55.34 kB / 493.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.3242, allocations: 332.6 kB / 494.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3242, allocations: 29.7 kB / 494.2 MB, free: 5.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.3243, allocations: 152.4 kB / 494.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.3244, allocations: 59.11 kB / 494.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.3244, allocations: 4 kB / 494.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3245, allocations: 342.8 kB / 494.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3246, allocations: 59.92 kB / 494.8 MB, free: 5.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3248, allocations: 70.97 kB / 494.8 MB, free: 5.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.325, allocations: 156.6 kB / 495 MB, free: 5.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.325, allocations: 0 / 495 MB, free: 5.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003539/0.3254, allocations: 220.4 kB / 495.2 MB, free: 4.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3254, allocations: 4 kB / 495.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3254, allocations: 0 / 495.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3254, allocations: 0 / 495.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.3257, allocations: 71.89 kB / 495.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3258, allocations: 0 / 495.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3259, allocations: 4 kB / 495.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3259, allocations: 8 kB / 495.3 MB, free: 4.746 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.3261, allocations: 137.7 kB / 495.4 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.3261, allocations: 31.62 kB / 495.5 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.3265, allocations: 216.7 kB / 495.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3266, allocations: 4 kB / 495.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3266, allocations: 0 / 495.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3266, allocations: 0 / 495.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.3269, allocations: 333.3 kB / 496 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.327, allocations: 0 / 496 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.3273, allocations: 63.89 kB / 496.1 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3273, allocations: 0 / 496.1 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3274, allocations: 11.98 kB / 496.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3274, allocations: 7.938 kB / 496.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3274, allocations: 0 / 496.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.3279, allocations: 389.9 kB / 496.5 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.328, allocations: 104.9 kB / 496.6 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3281, allocations: 4 kB / 496.6 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.3283, allocations: 15.98 kB / 496.6 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3283, allocations: 7.984 kB / 496.6 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3283, allocations: 8 kB / 496.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002483/0.3286, allocations: 247 kB / 496.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3286, allocations: 0 / 496.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.3289, allocations: 48 kB / 496.9 MB, free: 3.059 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.3291, allocations: 115.1 kB / 497 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.3294, allocations: 163.7 kB / 497.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3294, allocations: 0 / 497.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3296, allocations: 87.89 kB / 497.2 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.33, allocations: 33.08 kB / 497.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3313, allocations: 0.8736 MB / 498.1 MB, free: 1.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3316, allocations: 0.7638 MB / 498.9 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.3317, allocations: 27.42 kB / 498.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3317, allocations: 0 / 498.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of Templates: time 0.004659/0.3364, allocations: 3.061 MB / 0.4902 GB, free: 13.88 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches