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.0009255/0.0009252, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.3 MB / 235.5 MB, free: 2.922 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.001069/0.001069, allocations: 105.8 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.038e-05, allocations: 4 kB / 343.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.08231, allocations: 50.42 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.351, allocations: 78.93 MB / 473.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.3512, allocations: 71.95 kB / 473.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.3618, allocations: 3.671 MB / 476.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3619, allocations: 2.625 kB / 476.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.3619, allocations: 4 kB / 476.9 MB, free: 4.867 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.0006346/0.3625, allocations: 0.4986 MB / 477.4 MB, free: 4.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3626, allocations: 8.031 kB / 477.4 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.3626, allocations: 35.58 kB / 477.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.363, allocations: 316 kB / 477.8 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3631, allocations: 8.281 kB / 477.8 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.3631, allocations: 19.94 kB / 477.8 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.3637, allocations: 361 kB / 478.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3637, allocations: 0 / 478.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3637, allocations: 7.953 kB / 478.2 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3638, allocations: 8 kB / 478.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3639, allocations: 72 kB / 478.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.3646, allocations: 0.5209 MB / 478.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.3652, allocations: 309.9 kB / 479.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3654, allocations: 146.5 kB / 479.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.3654, allocations: 3.984 kB / 479.2 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3655, allocations: 46.48 kB / 479.2 MB, free: 2.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.3655, allocations: 0 / 479.2 MB, free: 2.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001893/0.3674, allocations: 1.151 MB / 480.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.3675, allocations: 134.7 kB / 480.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.3678, allocations: 290.8 kB / 480.8 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3678, allocations: 29.7 kB / 480.8 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.3679, allocations: 152.8 kB / 481 MB, free: 464 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.368, allocations: 47.53 kB / 481 MB, free: 416 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.368, allocations: 8 kB / 481 MB, free: 408 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3681, allocations: 350.8 kB / 481.4 MB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3682, allocations: 56.92 kB / 481.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.3685, allocations: 278.3 kB / 481.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3686, allocations: 115.8 kB / 481.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3686, allocations: 0 / 481.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000491/0.3691, allocations: 377.4 kB / 482.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3692, allocations: 8 kB / 482.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3692, allocations: 8 kB / 482.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3692, allocations: 16.03 kB / 482.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3695, allocations: 87.84 kB / 482.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.3695, allocations: 15.92 kB / 482.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.3697, allocations: 19.94 kB / 482.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3697, allocations: 24 kB / 482.4 MB, free: 14.95 MB / 362.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.661e-05/0.3698, allocations: 136.8 kB / 482.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/0.3702, allocations: 265.1 kB / 482.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.3708, allocations: 356.5 kB / 483.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3709, allocations: 4 kB / 483.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3709, allocations: 4 kB / 483.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3709, allocations: 0 / 483.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.3712, allocations: 317.4 kB / 483.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3712, allocations: 0 / 483.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.3718, allocations: 115.8 kB / 483.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.3718, allocations: 7.984 kB / 483.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.3718, allocations: 19.98 kB / 483.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3719, allocations: 0 / 483.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3719, allocations: 3.938 kB / 483.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.3727, allocations: 0.6853 MB / 484.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.3728, allocations: 120.8 kB / 484.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.3728, allocations: 8 kB / 484.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3731, allocations: 15.98 kB / 484.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.3731, allocations: 4 kB / 484.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3731, allocations: 12 kB / 484.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.3734, allocations: 242.2 kB / 484.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3734, allocations: 0 / 484.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.3738, allocations: 56 kB / 484.7 MB, free: 12.49 MB / 362.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.00013/0.3739, allocations: 119.2 kB / 484.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.3743, allocations: 261.6 kB / 485.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3744, allocations: 0.6875 kB / 485.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.3744, allocations: 27.94 kB / 485.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.3749, allocations: 176.5 kB / 485.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.3759, allocations: 0.5578 MB / 485.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3762, allocations: 0.8112 MB / 486.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.3764, allocations: 35.27 kB / 486.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.3764, allocations: 31.44 kB / 486.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3765, allocations: 0 / 486.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Templates: time 0.006054/0.3825, allocations: 3.018 MB / 489.7 MB, free: 7.414 MB / 362.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