Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 182.9 kB / 8.133 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.4 MB / 229.9 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009122, allocations: 89.45 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.81e-06, allocations: 0 / 336.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1949, allocations: 50.4 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08101/0.2759, allocations: 77.25 MB / 464.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.2762, allocations: 87.94 kB / 464.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01012/0.2863, allocations: 3.134 MB / 467.4 MB, free: 6.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.2864, allocations: 8 kB / 467.4 MB, free: 6.344 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.0006075/0.287, allocations: 0.4937 MB / 467.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2871, allocations: 12.03 kB / 467.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.2871, allocations: 27.62 kB / 467.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.2875, allocations: 307 kB / 468.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2875, allocations: 9.5 kB / 468.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.2876, allocations: 8 kB / 468.3 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001464/0.2877, allocations: 60 kB / 468.3 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2879, allocations: 113.5 kB / 468.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2879, allocations: 0 / 468.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2879, allocations: 0 / 468.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2879, allocations: 4 kB / 468.4 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007887/0.2887, allocations: 0.4973 MB / 468.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.2889, allocations: 123.7 kB / 469 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.289, allocations: 53.03 kB / 469.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2891, allocations: 0 / 469.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2891, allocations: 38.56 kB / 469.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/0.2891, allocations: 0 / 469.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001268/0.2904, allocations: 0.5731 MB / 469.7 MB, free: 3.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2904, allocations: 59.34 kB / 469.8 MB, free: 3.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.2907, allocations: 279.6 kB / 470 MB, free: 3.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2908, allocations: 25.7 kB / 470.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.2908, allocations: 120.2 kB / 470.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.2909, allocations: 63.09 kB / 470.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.2909, allocations: 1.969 kB / 470.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.291, allocations: 346.8 kB / 470.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.2911, allocations: 56.36 kB / 470.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.2912, allocations: 52.56 kB / 470.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2914, allocations: 66.97 kB / 470.8 MB, free: 2.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.2914, allocations: 0 / 470.8 MB, free: 2.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002978/0.2917, allocations: 190.9 kB / 470.9 MB, free: 2.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2917, allocations: 4 kB / 470.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2917, allocations: 4 kB / 470.9 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2917, allocations: 3.984 kB / 471 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.292, allocations: 61.28 kB / 471 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2921, allocations: 4 kB / 471 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2922, allocations: 7.906 kB / 471 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2923, allocations: 11.98 kB / 471 MB, free: 2.477 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 7.534e-05/0.2923, allocations: 101 kB / 471.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2924, allocations: 27.62 kB / 471.2 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.2928, allocations: 200.3 kB / 471.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2928, allocations: 0 / 471.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2928, allocations: 0 / 471.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.2928, allocations: 3.984 kB / 471.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.2931, allocations: 286 kB / 471.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2931, allocations: 0.5625 kB / 471.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.2935, allocations: 64.95 kB / 471.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2935, allocations: 0 / 471.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2936, allocations: 7.984 kB / 471.7 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2936, allocations: 7.906 kB / 471.7 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2936, allocations: 0 / 471.7 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004429/0.294, allocations: 363.2 kB / 472.1 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.2941, allocations: 104.9 kB / 472.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.2942, allocations: 5.5 kB / 472.2 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.2944, allocations: 11.92 kB / 472.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.2944, allocations: 11.98 kB / 472.2 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.2944, allocations: 4 kB / 472.2 MB, free: 1.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002332/0.2947, allocations: 231.1 kB / 472.4 MB, free: 1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.295, allocations: 40 kB / 472.5 MB, free: 0.9609 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.000131/0.2951, allocations: 115.1 kB / 472.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2954, allocations: 137.6 kB / 472.7 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2954, allocations: 0 / 472.7 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.2955, allocations: 71.94 kB / 472.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2957, allocations: 33.08 kB / 472.8 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.297, allocations: 0.5792 MB / 473.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/0.2975, allocations: 0.8052 MB / 474.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2975, allocations: 0 / 474.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Templates: time 0.005214/0.3027, allocations: 2.217 MB / 476.4 MB, free: 13 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches