Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.401/1.401, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.001049/0.001049, allocations: 76.42 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.623e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09886, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2996/0.3985, allocations: 78.26 MB / 465.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.3988, allocations: 75.95 kB / 465.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.4094, allocations: 3.643 MB / 469.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4094, allocations: 2.625 kB / 469.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.4094, allocations: 4 kB / 469.4 MB, free: 12.85 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.000668/0.4101, allocations: 0.5063 MB / 469.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4102, allocations: 8.031 kB / 470 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.4102, allocations: 36.45 kB / 470 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.4107, allocations: 304.1 kB / 470.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4107, allocations: 4 kB / 470.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.4108, allocations: 16 kB / 470.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001632/0.4109, allocations: 76.55 kB / 470.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.4115, allocations: 320.6 kB / 470.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4115, allocations: 11.94 kB / 470.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4115, allocations: 0 / 470.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4115, allocations: 4 kB / 470.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/0.4122, allocations: 0.4942 MB / 471.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.4128, allocations: 284.3 kB / 471.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.413, allocations: 127.5 kB / 471.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.413, allocations: 7.984 kB / 471.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.413, allocations: 46.8 kB / 471.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.413, allocations: 0 / 471.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001793/0.4148, allocations: 1.079 MB / 472.7 MB, free: 9.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.4149, allocations: 122.8 kB / 472.9 MB, free: 9.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.4152, allocations: 281.2 kB / 473.1 MB, free: 8.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4153, allocations: 25.7 kB / 473.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.4154, allocations: 152.8 kB / 473.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.4154, allocations: 47.53 kB / 473.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.4154, allocations: 0 / 473.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4156, allocations: 346.8 kB / 473.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.4157, allocations: 48.88 kB / 473.7 MB, free: 8.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.4159, allocations: 269.5 kB / 474 MB, free: 7.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.416, allocations: 105.5 kB / 474.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4161, allocations: 0 / 474.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004361/0.4165, allocations: 325.2 kB / 474.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4165, allocations: 8 kB / 474.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.4165, allocations: 8 kB / 474.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4166, allocations: 12 kB / 474.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.4168, allocations: 87.84 kB / 474.5 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.4168, allocations: 19.86 kB / 474.6 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.4171, allocations: 16.34 kB / 474.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4171, allocations: 24 kB / 474.6 MB, free: 7.254 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 9.657e-05/0.4172, allocations: 122.5 kB / 474.7 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.4176, allocations: 253 kB / 475 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.4181, allocations: 320.8 kB / 475.3 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4181, allocations: 8.031 kB / 475.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4181, allocations: 0 / 475.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4181, allocations: 0 / 475.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.4185, allocations: 270 kB / 475.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4185, allocations: 7.984 kB / 475.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.419, allocations: 115.9 kB / 475.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4191, allocations: 0 / 475.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.4191, allocations: 11.94 kB / 475.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4191, allocations: 3.938 kB / 475.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4191, allocations: 7.938 kB / 475.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/0.4199, allocations: 0.6504 MB / 476.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.42, allocations: 120.7 kB / 476.5 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.42, allocations: 4.062 kB / 476.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4203, allocations: 8 kB / 476.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4203, allocations: 12.05 kB / 476.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4203, allocations: 8 kB / 476.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.4206, allocations: 228.6 kB / 476.7 MB, free: 5.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4206, allocations: 0 / 476.7 MB, free: 5.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003912/0.421, allocations: 48 kB / 476.8 MB, free: 4.977 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.0001453/0.4211, allocations: 107.5 kB / 476.9 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.4215, allocations: 244.9 kB / 477.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4215, allocations: 0 / 477.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.4215, allocations: 19.94 kB / 477.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.422, allocations: 164.5 kB / 477.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.423, allocations: 0.5318 MB / 477.8 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.4233, allocations: 0.8151 MB / 478.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.103e-05/0.4234, allocations: 31.28 kB / 478.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.4235, allocations: 31.42 kB / 478.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4236, allocations: 4 kB / 478.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of Templates: time 0.005826/0.4294, allocations: 2.804 MB / 481.5 MB, free: 188 kB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches