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/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_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_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.158/1.158, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008239/0.0008239, allocations: 105.3 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001986/0.0001985, allocations: 8 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1651, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08048/0.2456, allocations: 78.87 MB / 488.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.2458, allocations: 83.94 kB / 488.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.2559, allocations: 3.562 MB / 491.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.256, allocations: 4.219 kB / 491.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.256, allocations: 7.938 kB / 491.9 MB, free: 8.117 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.0008339/0.2568, allocations: 0.5798 MB / 492.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2569, allocations: 8.031 kB / 492.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.2569, allocations: 27.62 kB / 492.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.2573, allocations: 295 kB / 492.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2573, allocations: 8 kB / 492.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2574, allocations: 15.95 kB / 492.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.2576, allocations: 130.4 kB / 493 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2576, allocations: 0 / 493 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2576, allocations: 0 / 493 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2577, allocations: 4 kB / 493 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2578, allocations: 83.89 kB / 493.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.2586, allocations: 0.5313 MB / 493.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.2591, allocations: 170.8 kB / 493.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2591, allocations: 4 kB / 493.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2592, allocations: 38.55 kB / 493.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.2592, allocations: 0 / 493.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001436/0.2606, allocations: 0.6713 MB / 494.5 MB, free: 5.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.2606, allocations: 67.28 kB / 494.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.261, allocations: 295.7 kB / 494.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.261, allocations: 33.7 kB / 494.9 MB, free: 4.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.404e-05/0.2611, allocations: 148.4 kB / 495 MB, free: 4.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.2612, allocations: 63.09 kB / 495.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.2612, allocations: 4 kB / 495.1 MB, free: 4.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2613, allocations: 342.8 kB / 495.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2614, allocations: 64.28 kB / 495.5 MB, free: 4.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.2616, allocations: 71.91 kB / 495.6 MB, free: 4.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2617, allocations: 68.92 kB / 495.6 MB, free: 4.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2617, allocations: 0 / 495.6 MB, free: 4.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003504/0.2621, allocations: 218.7 kB / 495.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2621, allocations: 4 kB / 495.8 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2621, allocations: 0 / 495.8 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2621, allocations: 7.953 kB / 495.9 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2624, allocations: 63.95 kB / 495.9 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2624, allocations: 0 / 495.9 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2626, allocations: 7.938 kB / 495.9 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2626, allocations: 8 kB / 495.9 MB, free: 3.875 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.0001121/0.2627, allocations: 133.8 kB / 496.1 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.2628, allocations: 31.62 kB / 496.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.2632, allocations: 220.6 kB / 496.3 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2632, allocations: 7.953 kB / 496.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2632, allocations: 0 / 496.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2632, allocations: 3.984 kB / 496.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.2636, allocations: 321.5 kB / 496.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2636, allocations: 7.938 kB / 496.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.2639, allocations: 55.95 kB / 496.7 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.264, allocations: 4 kB / 496.7 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.264, allocations: 11.98 kB / 496.7 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.264, allocations: 0 / 496.7 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.264, allocations: 3.953 kB / 496.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.2645, allocations: 393.6 kB / 497.1 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.2646, allocations: 108.8 kB / 497.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.2647, allocations: 4 kB / 497.2 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2649, allocations: 11.98 kB / 497.2 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.2649, allocations: 7.984 kB / 497.2 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2649, allocations: 11.95 kB / 497.2 MB, free: 2.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.2652, allocations: 247 kB / 497.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2652, allocations: 0 / 497.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.2654, allocations: 48 kB / 497.5 MB, free: 2.176 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.0001238/0.2656, allocations: 115.1 kB / 497.6 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.2659, allocations: 158.7 kB / 497.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2659, allocations: 0 / 497.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.266, allocations: 87.89 kB / 497.9 MB, free: 1.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2663, allocations: 33.69 kB / 497.9 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2675, allocations: 0.8407 MB / 498.8 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2678, allocations: 0.7755 MB / 499.5 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.268, allocations: 30.28 kB / 499.6 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.2681, allocations: 23.42 kB / 499.6 MB, free: 56 kB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2681, allocations: 0 / 499.6 MB, free: 56 kB / 362.7 MB Notification: Performance of Templates: time 0.005087/0.2732, allocations: 2.399 MB / 0.4902 GB, free: 13.7 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches