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.001298/0.001298, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007632/0.0007633, allocations: 88.47 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.241e-05/1.243e-05, allocations: 4 kB / 343.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 51.48 MB / 395.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.4072, allocations: 78.14 MB / 473.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4074, allocations: 82.97 kB / 473.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009832/0.4173, allocations: 3.51 MB / 476.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4173, allocations: 0 / 476.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.4173, allocations: 8 kB / 476.9 MB, free: 11.57 MB / 346.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.0005443/0.4179, allocations: 497.2 kB / 477.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4179, allocations: 12.03 kB / 477.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.418, allocations: 31.62 kB / 477.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.4183, allocations: 296.2 kB / 477.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4183, allocations: 4.859 kB / 477.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4184, allocations: 8 kB / 477.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/0.4185, allocations: 65.39 kB / 477.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.4187, allocations: 99.28 kB / 477.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4187, allocations: 4 kB / 477.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4187, allocations: 0 / 477.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4187, allocations: 0 / 477.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.4194, allocations: 0.4931 MB / 478.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.4198, allocations: 165.2 kB / 478.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.4199, allocations: 59.41 kB / 478.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.42, allocations: 0 / 478.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.42, allocations: 39.14 kB / 478.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.42, allocations: 0 / 478.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001081/0.4211, allocations: 0.5729 MB / 479.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.4211, allocations: 53.91 kB / 479.3 MB, free: 9.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.4214, allocations: 281.1 kB / 479.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4214, allocations: 29.7 kB / 479.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.4215, allocations: 156.4 kB / 479.7 MB, free: 9.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.4215, allocations: 63.95 kB / 479.8 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.4215, allocations: 0 / 479.8 MB, free: 9.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.4216, allocations: 338.3 kB / 480.1 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.4217, allocations: 54.25 kB / 480.2 MB, free: 8.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.4218, allocations: 55.5 kB / 480.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.4219, allocations: 62.44 kB / 480.3 MB, free: 8.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4219, allocations: 0 / 480.3 MB, free: 8.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000241/0.4221, allocations: 197.2 kB / 480.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4221, allocations: 9.719 kB / 480.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4221, allocations: 0 / 480.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4222, allocations: 0 / 480.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.4224, allocations: 62.27 kB / 480.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4225, allocations: 3.938 kB / 480.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4226, allocations: 6.344 kB / 480.6 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.4226, allocations: 10.81 kB / 480.6 MB, free: 8.504 MB / 346.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 () * 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 5.417e-05/0.4227, allocations: 105 kB / 480.7 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.4227, allocations: 32.89 kB / 480.7 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.423, allocations: 194.7 kB / 480.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4231, allocations: 1.875 kB / 480.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4231, allocations: 3.953 kB / 480.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4231, allocations: 5.688 kB / 480.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4234, allocations: 285.8 kB / 481.2 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4234, allocations: 0 / 481.2 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.4237, allocations: 63.53 kB / 481.3 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4237, allocations: 1.578 kB / 481.3 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.4238, allocations: 4.594 kB / 481.3 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4238, allocations: 7.938 kB / 481.3 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4238, allocations: 0 / 481.3 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.4242, allocations: 358.9 kB / 481.6 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.4242, allocations: 108.6 kB / 481.7 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.4243, allocations: 0 / 481.7 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4245, allocations: 9.594 kB / 481.7 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.4245, allocations: 16.8 kB / 481.8 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4246, allocations: 5.594 kB / 481.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.4247, allocations: 228.3 kB / 482 MB, free: 7.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4247, allocations: 0 / 482 MB, free: 7.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.425, allocations: 40 kB / 482 MB, free: 7.352 MB / 346.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 () * 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.0001265/0.4252, allocations: 112.2 kB / 482.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.4254, allocations: 139.7 kB / 482.3 MB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4254, allocations: 4 kB / 482.3 MB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.4255, allocations: 70.89 kB / 482.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4258, allocations: 33.3 kB / 482.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.4268, allocations: 0.5971 MB / 483 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.427, allocations: 0.7677 MB / 483.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.4271, allocations: 34.05 kB / 483.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.4272, allocations: 23.44 kB / 483.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4272, allocations: 0 / 483.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of Templates: time 0.004761/0.432, allocations: 2.213 MB / 486 MB, free: 3.543 MB / 346.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