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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008927/0.0008926, allocations: 99.19 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.457e-05, allocations: 0 / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 51.48 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3154/0.4178, allocations: 79.08 MB / 474.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.418, allocations: 71.44 kB / 474.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01002/0.428, allocations: 3.713 MB / 478 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4281, allocations: 0 / 478 MB, free: 10.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.4281, allocations: 8 kB / 478 MB, free: 10.71 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.0006205/0.4287, allocations: 0.5017 MB / 478.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4288, allocations: 8.031 kB / 478.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.4288, allocations: 35.53 kB / 478.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.4292, allocations: 304.4 kB / 478.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4292, allocations: 8.859 kB / 478.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.4293, allocations: 8 kB / 478.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001524/0.4294, allocations: 81.39 kB / 479 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.43, allocations: 317.9 kB / 479.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.43, allocations: 3.125 kB / 479.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.43, allocations: 0 / 479.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.43, allocations: 4 kB / 479.3 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.4306, allocations: 0.4954 MB / 479.8 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.4312, allocations: 287.5 kB / 480.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4313, allocations: 125.9 kB / 480.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.4314, allocations: 5.688 kB / 480.2 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4314, allocations: 42.25 kB / 480.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.4314, allocations: 4 kB / 480.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001633/0.4331, allocations: 1.066 MB / 481.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.4331, allocations: 126.2 kB / 481.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.4334, allocations: 281.6 kB / 481.7 MB, free: 7.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4334, allocations: 25.7 kB / 481.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.4335, allocations: 143.4 kB / 481.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.4335, allocations: 46.03 kB / 481.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.4335, allocations: 4.031 kB / 481.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.4336, allocations: 350.6 kB / 482.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.4337, allocations: 56.8 kB / 482.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4338, allocations: 267.5 kB / 482.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.434, allocations: 106.9 kB / 482.7 MB, free: 6.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.434, allocations: 4 kB / 482.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003751/0.4344, allocations: 314 kB / 483 MB, free: 6.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4344, allocations: 8 kB / 483 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4344, allocations: 8 kB / 483 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.4344, allocations: 12 kB / 483 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.4347, allocations: 91.33 kB / 483.1 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.4347, allocations: 15.94 kB / 483.1 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.4349, allocations: 15.92 kB / 483.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.4349, allocations: 20.05 kB / 483.2 MB, free: 6.059 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 8.207e-05/0.435, allocations: 128.3 kB / 483.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/0.4353, allocations: 258.6 kB / 483.5 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.4358, allocations: 312.3 kB / 483.8 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4358, allocations: 4.656 kB / 483.8 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4358, allocations: 0 / 483.8 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4358, allocations: 7.984 kB / 483.8 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.4361, allocations: 268.8 kB / 484.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4361, allocations: 4 kB / 484.1 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.4366, allocations: 126.6 kB / 484.2 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4367, allocations: 3.938 kB / 484.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4367, allocations: 4.938 kB / 484.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4367, allocations: 4 kB / 484.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4367, allocations: 3.938 kB / 484.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.4373, allocations: 0.6493 MB / 484.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.4374, allocations: 112.7 kB / 485 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.4374, allocations: 4 kB / 485 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4377, allocations: 7.984 kB / 485 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.4377, allocations: 0 / 485 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.4377, allocations: 15.8 kB / 485 MB, free: 4.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.4379, allocations: 231.6 kB / 485.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4379, allocations: 1.875 kB / 485.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.4383, allocations: 52 kB / 485.3 MB, free: 4.184 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.0001241/0.4384, allocations: 103.2 kB / 485.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.4388, allocations: 239.1 kB / 485.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4388, allocations: 256 / 485.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.4388, allocations: 26.88 kB / 485.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.4393, allocations: 164.5 kB / 485.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.4403, allocations: 0.542 MB / 486.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4405, allocations: 0.8104 MB / 487.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.4406, allocations: 35.27 kB / 487.2 MB, free: 2.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.4407, allocations: 27.44 kB / 487.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4407, allocations: 0 / 487.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Templates: time 0.005319/0.446, allocations: 2.804 MB / 490.1 MB, free: 15.62 MB / 362.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