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: 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/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 71.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2949, allocations: 50.52 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003067/0.298, allocations: 2.085 MB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.299, allocations: 0.573 MB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2992, allocations: 7.938 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.2993, allocations: 23.67 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.2996, allocations: 67.48 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2997, allocations: 59.84 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.3001, allocations: 255.1 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3002, allocations: 60.69 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3004, allocations: 111.4 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.3006, allocations: 143.3 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.3007, allocations: 20 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.3007, allocations: 23.94 kB / 413.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.3008, allocations: 55.7 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3009, allocations: 119.2 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.3012, allocations: 242.8 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3012, allocations: 0 / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3012, allocations: 0 / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.3012, allocations: 0 / 413.8 MB, free: 13.75 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.00101/0.3022, allocations: 0.5967 MB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3022, allocations: 12.03 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.3023, allocations: 28.56 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.3027, allocations: 312 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3027, allocations: 12.12 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.3027, allocations: 12 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.303, allocations: 121.6 kB / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.303, allocations: 0 / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.303, allocations: 8 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.303, allocations: 7.938 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.3032, allocations: 83.89 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.304, allocations: 0.5197 MB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.3045, allocations: 178.6 kB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3046, allocations: 60.83 kB / 415.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3046, allocations: 7.938 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3047, allocations: 30.56 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3047, allocations: 4 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001452/0.3061, allocations: 0.6707 MB / 416.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3062, allocations: 51.41 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.3065, allocations: 340.6 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3065, allocations: 25.7 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.3066, allocations: 152.3 kB / 417 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.3067, allocations: 67.08 kB / 417 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.3068, allocations: 37.7 kB / 417.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3069, allocations: 338.8 kB / 417.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.307, allocations: 59.91 kB / 417.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3072, allocations: 71.97 kB / 417.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3074, allocations: 136.8 kB / 417.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3074, allocations: 0 / 417.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000342/0.3078, allocations: 216.7 kB / 417.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3078, allocations: 6.812 kB / 417.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3078, allocations: 3.984 kB / 417.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3079, allocations: 4 kB / 417.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3081, allocations: 51.97 kB / 417.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3082, allocations: 7.938 kB / 417.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3083, allocations: 11.98 kB / 418 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3083, allocations: 4 kB / 418 MB, free: 9.293 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.0001163/0.3085, allocations: 137.7 kB / 418.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.3085, allocations: 23.72 kB / 418.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.3089, allocations: 220.6 kB / 418.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3089, allocations: 7.984 kB / 418.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.309, allocations: 7.938 kB / 418.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.309, allocations: 0 / 418.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.3093, allocations: 325.4 kB / 418.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3093, allocations: 4 kB / 418.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.3097, allocations: 59.89 kB / 418.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3097, allocations: 0 / 418.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3097, allocations: 4 kB / 418.7 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3097, allocations: 4 kB / 418.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3097, allocations: 3.938 kB / 418.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.3103, allocations: 390.9 kB / 419.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.3104, allocations: 112.8 kB / 419.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.3104, allocations: 0 / 419.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.3106, allocations: 8 kB / 419.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.3107, allocations: 19.86 kB / 419.3 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3107, allocations: 11.98 kB / 419.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.3109, allocations: 243.1 kB / 419.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3109, allocations: 4 kB / 419.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3112, allocations: 44 kB / 419.6 MB, free: 7.594 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.0001138/0.3113, allocations: 99.25 kB / 419.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.3117, allocations: 163.8 kB / 419.8 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3117, allocations: 0 / 419.8 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3118, allocations: 83.03 kB / 419.9 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.3122, allocations: 41.08 kB / 419.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.3136, allocations: 0.7432 MB / 420.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3139, allocations: 0.7597 MB / 421.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.314, allocations: 27.42 kB / 421.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.314, allocations: 0 / 421.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of Templates: time 0.005539/0.3195, allocations: 3.109 MB / 424.6 MB, free: 2.512 MB / 334.1 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/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