Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.ControlledMixingUnit,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.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,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.ControlledMixingUnit") [: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 trunk/package.mo): time 0.001075/0.001075, allocations: 208.6 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 94.81 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.133e-06, allocations: 0 / 343.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.369, allocations: 79.01 MB / 473.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.3692, allocations: 69.56 kB / 473.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009915/0.3791, allocations: 3.419 MB / 477.1 MB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3792, allocations: 4 kB / 477.1 MB, free: 11 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004802/0.3797, allocations: 0.5045 MB / 477.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.3797, allocations: 8.031 kB / 477.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.3798, allocations: 35.53 kB / 477.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3801, allocations: 307.2 kB / 477.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.3801, allocations: 4 kB / 478 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.3801, allocations: 11.91 kB / 478 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001508/0.3803, allocations: 79.31 kB / 478 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.3807, allocations: 322.7 kB / 478.4 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3807, allocations: 0.75 kB / 478.4 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3808, allocations: 3.984 kB / 478.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3808, allocations: 4 kB / 478.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.3814, allocations: 0.4889 MB / 478.9 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3819, allocations: 288.7 kB / 479.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3821, allocations: 123.5 kB / 479.3 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3821, allocations: 8.891 kB / 479.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.3821, allocations: 41.78 kB / 479.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.3822, allocations: 0 / 479.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001563/0.3837, allocations: 1.07 MB / 480.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3838, allocations: 122.3 kB / 480.5 MB, free: 7.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.384, allocations: 280.4 kB / 480.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.384, allocations: 25.7 kB / 480.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.3841, allocations: 107.1 kB / 480.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3841, allocations: 47.12 kB / 480.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.3841, allocations: 0 / 480.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.3842, allocations: 351.4 kB / 481.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3843, allocations: 47.25 kB / 481.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3844, allocations: 274.2 kB / 481.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3845, allocations: 102.5 kB / 481.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3845, allocations: 7.906 kB / 481.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003782/0.3849, allocations: 311.7 kB / 482 MB, free: 6.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.3849, allocations: 7.906 kB / 482 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.385, allocations: 8 kB / 482 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.385, allocations: 12 kB / 482 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.3852, allocations: 86.91 kB / 482.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3852, allocations: 15.92 kB / 482.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3855, allocations: 16.22 kB / 482.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.3855, allocations: 27.56 kB / 482.2 MB, free: 6.379 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 6.27e-05/0.3856, allocations: 124.4 kB / 482.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.3859, allocations: 248.5 kB / 482.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.3864, allocations: 335.3 kB / 482.9 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3864, allocations: 8 kB / 482.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3864, allocations: 4 kB / 482.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3864, allocations: 3.984 kB / 482.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3867, allocations: 268 kB / 483.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3867, allocations: 0 / 483.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/0.3872, allocations: 122 kB / 483.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3872, allocations: 7.984 kB / 483.3 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3873, allocations: 5.312 kB / 483.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3873, allocations: 0 / 483.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3873, allocations: 3.375 kB / 483.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005837/0.3879, allocations: 0.6336 MB / 483.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3879, allocations: 120 kB / 484 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.388, allocations: 7.5 kB / 484 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.3883, allocations: 12 kB / 484.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.3883, allocations: 7.984 kB / 484.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3883, allocations: 11.25 kB / 484.1 MB, free: 4.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001604/0.3885, allocations: 223.6 kB / 484.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.3889, allocations: 52 kB / 484.3 MB, free: 4.504 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001037/0.389, allocations: 103.1 kB / 484.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.3893, allocations: 247.3 kB / 484.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3894, allocations: 0 / 484.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.3894, allocations: 21.31 kB / 484.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.3899, allocations: 179.4 kB / 484.9 MB, free: 4.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.3908, allocations: 0.5294 MB / 485.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.3911, allocations: 0.8493 MB / 486.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3911, allocations: 0 / 486.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of Templates: time 0.005183/0.3963, allocations: 2.726 MB / 489 MB, free: 48 kB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches