Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.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.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer") translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008374/0.0008375, allocations: 92.34 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.0002379, allocations: 8 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2094, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09572/0.3052, allocations: 84.98 MB / 494.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.3054, allocations: 67.97 kB / 494.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2552/0.5607, allocations: 55.58 MB / 0.5371 GB, free: 75.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5607, allocations: 0 / 0.5371 GB, free: 75.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.5608, allocations: 19.88 kB / 0.5372 GB, free: 75.03 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001336/0.5621, allocations: 1.019 MB / 0.5382 GB, free: 73.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5621, allocations: 8.031 kB / 0.5382 GB, free: 73.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.5624, allocations: 75.16 kB / 0.5382 GB, free: 73.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.5632, allocations: 474.5 kB / 0.5387 GB, free: 73.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.5633, allocations: 45.31 kB / 0.5387 GB, free: 73.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.5634, allocations: 60 kB / 0.5388 GB, free: 73.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.5646, allocations: 0.8417 MB / 0.5396 GB, free: 72.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5646, allocations: 0 / 0.5396 GB, free: 72.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5647, allocations: 27.94 kB / 0.5396 GB, free: 72.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.5647, allocations: 12 kB / 0.5397 GB, free: 72.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.5657, allocations: 0.6532 MB / 0.5403 GB, free: 71.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.5683, allocations: 1.686 MB / 0.5419 GB, free: 69.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.5692, allocations: 0.6053 MB / 0.5425 GB, free: 69.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.418e-05/0.5693, allocations: 8.562 kB / 0.5425 GB, free: 69.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006843/0.57, allocations: 0.5689 MB / 0.5431 GB, free: 68.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 1.994e-06/0.57, allocations: 0 / 0.5431 GB, free: 68.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.001833/0.5719, allocations: 1.311 MB / 0.5444 GB, free: 67.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5719, allocations: 204.4 kB / 0.5446 GB, free: 67.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.5722, allocations: 364.3 kB / 0.5449 GB, free: 66.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/0.5723, allocations: 45.7 kB / 0.545 GB, free: 66.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5724, allocations: 240.9 kB / 0.5452 GB, free: 66.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.5726, allocations: 126.4 kB / 0.5453 GB, free: 66.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.5727, allocations: 19.98 kB / 0.5453 GB, free: 66.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.5727, allocations: 358.7 kB / 0.5457 GB, free: 66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.5732, allocations: 313.1 kB / 0.546 GB, free: 65.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.5737, allocations: 380.4 kB / 0.5463 GB, free: 65.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.5743, allocations: 477.3 kB / 0.5468 GB, free: 64.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5743, allocations: 4 kB / 0.5468 GB, free: 64.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001434/0.5757, allocations: 1.138 MB / 0.5479 GB, free: 63.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.5758, allocations: 148.5 kB / 0.548 GB, free: 63.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5758, allocations: 0 / 0.548 GB, free: 63.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5758, allocations: 4 kB / 0.548 GB, free: 63.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.576, allocations: 111.8 kB / 0.5482 GB, free: 63.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.576, allocations: 4 kB / 0.5482 GB, free: 63.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.5764, allocations: 95.69 kB / 0.5482 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.5768, allocations: 0.5617 MB / 0.5488 GB, free: 62.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 5 * 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.0004028/0.5772, allocations: 438.1 kB / 0.5492 GB, free: 62.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.5773, allocations: 55.39 kB / 0.5493 GB, free: 62.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.5774, allocations: 56.7 kB / 0.5493 GB, free: 62.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5774, allocations: 4 kB / 0.5493 GB, free: 62.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5774, allocations: 0 / 0.5493 GB, free: 62.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.5774, allocations: 11.92 kB / 0.5493 GB, free: 62.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.5781, allocations: 0.6579 MB / 0.55 GB, free: 61.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5781, allocations: 0 / 0.55 GB, free: 61.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.5783, allocations: 95.88 kB / 0.5501 GB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5783, allocations: 7.953 kB / 0.5501 GB, free: 61.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.5784, allocations: 99.94 kB / 0.5502 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5784, allocations: 4 kB / 0.5502 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5784, allocations: 3.938 kB / 0.5502 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.5798, allocations: 1.071 MB / 0.5512 GB, free: 60.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.5802, allocations: 252.5 kB / 0.5515 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.5804, allocations: 31.94 kB / 0.5515 GB, free: 59.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.5807, allocations: 63.8 kB / 0.5516 GB, free: 59.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.581, allocations: 152.4 kB / 0.5517 GB, free: 59.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003479/0.5813, allocations: 0.5618 MB / 0.5523 GB, free: 58.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.5815, allocations: 255.2 kB / 0.5525 GB, free: 58.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5815, allocations: 0 / 0.5525 GB, free: 58.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005175/0.5821, allocations: 152 kB / 0.5526 GB, free: 58.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($whenCondition1,CLK.y,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (Enable.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,D3.y,D2.y,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,D1.y,D0.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.0002129/0.5823, allocations: 170.5 kB / 0.5528 GB, free: 58.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.5835, allocations: 1.036 MB / 0.5538 GB, free: 57.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5835, allocations: 0 / 0.5538 GB, free: 57.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.5841, allocations: 0.6993 MB / 0.5545 GB, free: 56.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.5856, allocations: 484.2 kB / 0.555 GB, free: 56.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.587, allocations: 1.24 MB / 0.5562 GB, free: 54.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.5873, allocations: 0.9025 MB / 0.5571 GB, free: 53.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002019/0.5894, allocations: 1.5 MB / 0.5585 GB, free: 52.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.5906, allocations: 490.2 kB / 0.559 GB, free: 51.91 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5906, allocations: 0 / 0.559 GB, free: 51.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01742/0.608, allocations: 17.66 MB / 0.5762 GB, free: 33.86 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Multiplexer/Multiplexer.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches