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.001152/0.001152, allocations: 199.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007794/0.0007794, allocations: 99.84 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002127, allocations: 4 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2423, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08853/0.3309, allocations: 79.75 MB / 489.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.3312, allocations: 75.95 kB / 489.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.3419, allocations: 3.752 MB / 492.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3419, allocations: 0 / 492.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.3419, allocations: 4 kB / 492.9 MB, free: 7.926 MB / 362.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.0008588/0.3428, allocations: 0.5958 MB / 493.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3429, allocations: 8.031 kB / 493.6 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.3429, allocations: 32.56 kB / 493.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.3433, allocations: 312.3 kB / 493.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3433, allocations: 13.41 kB / 493.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.3434, allocations: 15.91 kB / 493.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.344, allocations: 373.9 kB / 494.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.344, allocations: 3.938 kB / 494.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.344, allocations: 8 kB / 494.3 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.344, allocations: 0 / 494.3 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.3442, allocations: 95.95 kB / 494.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.3449, allocations: 0.5286 MB / 494.9 MB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.3455, allocations: 308.8 kB / 495.2 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.3457, allocations: 150 kB / 495.4 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3458, allocations: 7.984 kB / 495.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3458, allocations: 38.56 kB / 495.4 MB, free: 5.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.3458, allocations: 0 / 495.4 MB, free: 5.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.002067/0.3479, allocations: 1.291 MB / 496.7 MB, free: 3.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.348, allocations: 142.8 kB / 496.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.3483, allocations: 320.6 kB / 497.2 MB, free: 3.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3484, allocations: 29.7 kB / 497.2 MB, free: 3.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.3484, allocations: 145.1 kB / 497.3 MB, free: 3.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3485, allocations: 51.47 kB / 497.4 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.3485, allocations: 12 kB / 497.4 MB, free: 3.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3486, allocations: 346.8 kB / 497.7 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3488, allocations: 72.77 kB / 497.8 MB, free: 2.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.349, allocations: 300 kB / 498.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.3494, allocations: 408.2 kB / 498.5 MB, free: 1.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3494, allocations: 4 kB / 498.5 MB, free: 1.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005728/0.35, allocations: 396.6 kB / 498.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.35, allocations: 8 kB / 498.9 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.35, allocations: 15.94 kB / 498.9 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3501, allocations: 8.781 kB / 498.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.3503, allocations: 95.83 kB / 499 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.3503, allocations: 15.94 kB / 499 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3506, allocations: 35.77 kB / 499.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.3506, allocations: 24 kB / 499.1 MB, free: 1.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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 0.0001424/0.3507, allocations: 157.7 kB / 499.2 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.3512, allocations: 273.1 kB / 499.5 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.3517, allocations: 388.3 kB / 499.9 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3518, allocations: 4 kB / 499.9 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3518, allocations: 4 kB / 499.9 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3518, allocations: 3.938 kB / 499.9 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.3521, allocations: 313.4 kB / 0.4885 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3521, allocations: 0 / 0.4885 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.3527, allocations: 123.8 kB / 0.4886 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.3527, allocations: 4 kB / 0.4886 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3527, allocations: 7.938 kB / 0.4886 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3528, allocations: 8 kB / 0.4886 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3528, allocations: 0 / 0.4886 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.3537, allocations: 0.6911 MB / 0.4893 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.3538, allocations: 124.7 kB / 0.4894 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.3538, allocations: 19.88 kB / 0.4894 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3541, allocations: 8 kB / 0.4894 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3541, allocations: 7.984 kB / 0.4894 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3542, allocations: 12 kB / 0.4894 GB, free: 14.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.3544, allocations: 239.1 kB / 0.4897 GB, free: 14.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.3544, allocations: 4 kB / 0.4897 GB, free: 14.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.3548, allocations: 63.94 kB / 0.4897 GB, free: 14.69 MB / 378.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 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0001347/0.355, allocations: 115.2 kB / 0.4898 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004812/0.3554, allocations: 293.4 kB / 0.4901 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3555, allocations: 0 / 0.4901 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.901e-05/0.3555, allocations: 27.98 kB / 0.4902 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.3562, allocations: 202.9 kB / 0.4903 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3575, allocations: 0.834 MB / 0.4912 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3578, allocations: 0.8034 MB / 0.4919 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3579, allocations: 35.27 kB / 0.492 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.358, allocations: 31.44 kB / 0.492 GB, free: 12.29 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.358, allocations: 0 / 0.492 GB, free: 12.29 MB / 378.7 MB Notification: Performance of Templates: time 0.006438/0.3645, allocations: 3.069 MB / 0.495 GB, free: 9.227 MB / 378.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/jenkins1/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