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") [: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.001501/0.001501, allocations: 204.8 kB / 8.544 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009139/0.0009142, allocations: 91.08 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.186e-05/1.232e-05, allocations: 0 / 343.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09377, allocations: 51.48 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.3233, allocations: 78.07 MB / 472.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.3236, allocations: 84.16 kB / 472.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009478/0.3331, allocations: 3.2 MB / 476 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3331, allocations: 4 kB / 476 MB, free: 11.89 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.0004984/0.3337, allocations: 0.4952 MB / 476.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3337, allocations: 12.03 kB / 476.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.3338, allocations: 27.62 kB / 476.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.3341, allocations: 302.3 kB / 476.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3341, allocations: 4 kB / 476.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.3342, allocations: 12 kB / 476.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001331/0.3343, allocations: 66.2 kB / 476.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3345, allocations: 104.5 kB / 477 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3345, allocations: 3.188 kB / 477 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3345, allocations: 0 / 477 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3345, allocations: 4 kB / 477 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.3352, allocations: 0.4964 MB / 477.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3354, allocations: 132.2 kB / 477.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.3355, allocations: 49.38 kB / 477.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3355, allocations: 0 / 477.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.3355, allocations: 38.12 kB / 477.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.3355, allocations: 0 / 477.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001154/0.3367, allocations: 0.568 MB / 478.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.3367, allocations: 55.41 kB / 478.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.337, allocations: 284.8 kB / 478.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.337, allocations: 25.7 kB / 478.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.3371, allocations: 122.1 kB / 478.8 MB, free: 9.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.3371, allocations: 65.52 kB / 478.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.3371, allocations: 0 / 478.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.3372, allocations: 337 kB / 479.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.3373, allocations: 54.31 kB / 479.2 MB, free: 9.098 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.3374, allocations: 55.5 kB / 479.3 MB, free: 9.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3375, allocations: 58.77 kB / 479.3 MB, free: 9.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3375, allocations: 0 / 479.3 MB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002576/0.3378, allocations: 199.4 kB / 479.5 MB, free: 8.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3378, allocations: 4 kB / 479.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3378, allocations: 4 kB / 479.5 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3378, allocations: 4 kB / 479.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.3381, allocations: 58.11 kB / 479.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3381, allocations: 4 kB / 479.6 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3383, allocations: 7.906 kB / 479.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3383, allocations: 7.812 kB / 479.6 MB, free: 8.824 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 6.677e-05/0.3384, allocations: 112.2 kB / 479.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.3384, allocations: 27.62 kB / 479.7 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.3388, allocations: 194.2 kB / 479.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3388, allocations: 0 / 479.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3388, allocations: 0 / 479.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3388, allocations: 3.469 kB / 479.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.3391, allocations: 285 kB / 480.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3391, allocations: 0 / 480.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.3394, allocations: 69.47 kB / 480.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3395, allocations: 0 / 480.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3395, allocations: 11.84 kB / 480.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3395, allocations: 4 kB / 480.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3395, allocations: 0 / 480.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003953/0.3399, allocations: 354.1 kB / 480.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.34, allocations: 106.7 kB / 480.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.34, allocations: 3.125 kB / 480.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3402, allocations: 11.61 kB / 480.8 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3403, allocations: 7.703 kB / 480.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3403, allocations: 8.531 kB / 480.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000184/0.3405, allocations: 227.6 kB / 481 MB, free: 7.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.3408, allocations: 40.75 kB / 481 MB, free: 7.68 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.0001406/0.341, allocations: 109.1 kB / 481.1 MB, free: 7.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3412, allocations: 142.3 kB / 481.3 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3412, allocations: 4 kB / 481.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3413, allocations: 80.39 kB / 481.4 MB, free: 7.422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3416, allocations: 29.03 kB / 481.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3428, allocations: 0.5825 MB / 482 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.3431, allocations: 0.7964 MB / 482.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3431, allocations: 0 / 482.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of Templates: time 0.005019/0.3481, allocations: 2.227 MB / 485 MB, free: 4.027 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