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.001182/0.001182, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007591/0.0007592, allocations: 107.4 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00023/0.00023, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.219, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3245, allocations: 84.92 MB / 494.3 MB, free: 6.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3248, allocations: 72.67 kB / 494.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3349/0.6597, allocations: 55.55 MB / 0.537 GB, free: 76.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6597, allocations: 0 / 0.537 GB, free: 76.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.842e-05/0.6598, allocations: 16 kB / 0.537 GB, free: 76.8 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.002144/0.662, allocations: 1.023 MB / 0.538 GB, free: 75.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.662, allocations: 8.031 kB / 0.538 GB, free: 75.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.6625, allocations: 76.09 kB / 0.5381 GB, free: 75.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.6634, allocations: 491.4 kB / 0.5386 GB, free: 75.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.6635, allocations: 41.69 kB / 0.5386 GB, free: 75.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.6637, allocations: 56.38 kB / 0.5387 GB, free: 75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.6652, allocations: 0.8539 MB / 0.5395 GB, free: 74.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.6653, allocations: 192 / 0.5395 GB, free: 74.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.6654, allocations: 31.94 kB / 0.5395 GB, free: 74.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.6654, allocations: 12 kB / 0.5396 GB, free: 74.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6665, allocations: 0.6493 MB / 0.5402 GB, free: 73.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.6691, allocations: 1.689 MB / 0.5418 GB, free: 71.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009292/0.6701, allocations: 0.6092 MB / 0.5424 GB, free: 71.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.6706, allocations: 302.4 kB / 0.5427 GB, free: 70.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/0.6707, allocations: 8.5 kB / 0.5427 GB, free: 70.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007185/0.6714, allocations: 0.5728 MB / 0.5433 GB, free: 70.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.525e-06/0.6714, allocations: 0 / 0.5433 GB, free: 70.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.001958/0.6734, allocations: 1.311 MB / 0.5446 GB, free: 68.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.6735, allocations: 196.5 kB / 0.5448 GB, free: 68.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.6738, allocations: 409.2 kB / 0.5452 GB, free: 68.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/0.674, allocations: 45.64 kB / 0.5452 GB, free: 68.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.6741, allocations: 240.8 kB / 0.5454 GB, free: 67.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.6742, allocations: 130.5 kB / 0.5455 GB, free: 67.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.6743, allocations: 16 kB / 0.5456 GB, free: 67.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.6744, allocations: 366.7 kB / 0.5459 GB, free: 67.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.6749, allocations: 305.1 kB / 0.5462 GB, free: 67.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.6755, allocations: 388.4 kB / 0.5466 GB, free: 66.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.6766, allocations: 0.9566 MB / 0.5475 GB, free: 65.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.6766, allocations: 0 / 0.5475 GB, free: 65.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001523/0.6782, allocations: 1.145 MB / 0.5486 GB, free: 64.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.6782, allocations: 144.5 kB / 0.5488 GB, free: 64.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6783, allocations: 4.062 kB / 0.5488 GB, free: 64.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.6783, allocations: 7.938 kB / 0.5488 GB, free: 64.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.6785, allocations: 107.8 kB / 0.5489 GB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6785, allocations: 8.141 kB / 0.5489 GB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.679, allocations: 91.56 kB / 0.549 GB, free: 64.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004556/0.6795, allocations: 0.5617 MB / 0.5495 GB, free: 63.54 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.0005524/0.6801, allocations: 450.1 kB / 0.55 GB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6802, allocations: 51.42 kB / 0.55 GB, free: 63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.6803, allocations: 52.77 kB / 0.5501 GB, free: 62.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.6803, allocations: 8 kB / 0.5501 GB, free: 62.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.6803, allocations: 4 kB / 0.5501 GB, free: 62.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.6804, allocations: 7.922 kB / 0.5501 GB, free: 62.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/0.6812, allocations: 0.6578 MB / 0.5507 GB, free: 62.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6813, allocations: 0 / 0.5507 GB, free: 62.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.6814, allocations: 99.88 kB / 0.5508 GB, free: 62.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6814, allocations: 0 / 0.5508 GB, free: 62.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.6816, allocations: 91.94 kB / 0.5509 GB, free: 62.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.6816, allocations: 4 kB / 0.5509 GB, free: 62.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6816, allocations: 0 / 0.5509 GB, free: 62.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.6831, allocations: 1.079 MB / 0.552 GB, free: 60.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.6834, allocations: 252.6 kB / 0.5522 GB, free: 60.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6836, allocations: 24 kB / 0.5522 GB, free: 60.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.684, allocations: 71.75 kB / 0.5523 GB, free: 60.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.6843, allocations: 160.3 kB / 0.5524 GB, free: 60.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004586/0.6848, allocations: 0.5579 MB / 0.553 GB, free: 59.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.685, allocations: 259.1 kB / 0.5532 GB, free: 59.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.685, allocations: 4 kB / 0.5532 GB, free: 59.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006278/0.6857, allocations: 140 kB / 0.5534 GB, free: 59.44 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.0002625/0.6859, allocations: 165.8 kB / 0.5535 GB, free: 59.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.6873, allocations: 1.036 MB / 0.5545 GB, free: 58.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6873, allocations: 0 / 0.5545 GB, free: 58.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.688, allocations: 0.6992 MB / 0.5552 GB, free: 57.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.6896, allocations: 489.1 kB / 0.5557 GB, free: 56.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.6913, allocations: 1.252 MB / 0.5569 GB, free: 55.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.6918, allocations: 0.883 MB / 0.5578 GB, free: 54.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002511/0.6943, allocations: 1.5 MB / 0.5592 GB, free: 53.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/0.6956, allocations: 482.2 kB / 0.5597 GB, free: 52.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6956, allocations: 0 / 0.5597 GB, free: 52.77 MB / 378.7 MB Notification: Performance of Templates: time 0.02215/0.7178, allocations: 17.92 MB / 0.5772 GB, free: 34.46 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/jenkins1/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