Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008957/0.000896, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007398/0.0007398, allocations: 84.12 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.299e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07348/0.0735, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/0.3586, allocations: 82.75 MB / 445.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3588, allocations: 65.22 kB / 445.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.4612, allocations: 54.85 MB / 0.489 GB, free: 12.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4613, allocations: 4 kB / 0.489 GB, free: 12.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.4613, allocations: 12 kB / 0.489 GB, free: 12.11 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.001374/0.4627, allocations: 0.962 MB / 0.49 GB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4627, allocations: 12.03 kB / 0.49 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.4629, allocations: 79.16 kB / 0.49 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.4637, allocations: 465 kB / 0.4905 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.4637, allocations: 23.95 kB / 0.4905 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.4639, allocations: 40 kB / 0.4905 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009942/0.4649, allocations: 0.5843 MB / 0.4911 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.4661, allocations: 0.7377 MB / 0.4918 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4661, allocations: 0 / 0.4918 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.4663, allocations: 4 kB / 0.4918 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.4663, allocations: 12 kB / 0.4918 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.4689, allocations: 1.59 MB / 0.4934 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.4697, allocations: 0.5389 MB / 0.4939 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.47, allocations: 270.4 kB / 0.4942 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.4702, allocations: 8.562 kB / 0.4942 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006955/0.4709, allocations: 0.521 MB / 0.4947 GB, free: 6.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 4.409e-06/0.4709, allocations: 0 / 0.4947 GB, free: 6.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.001313/0.4722, allocations: 0.8302 MB / 0.4955 GB, free: 5.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4723, allocations: 204.4 kB / 0.4957 GB, free: 4.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.4727, allocations: 349.9 kB / 0.496 GB, free: 4.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.4728, allocations: 37.7 kB / 0.4961 GB, free: 4.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.473, allocations: 236.9 kB / 0.4963 GB, free: 4.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.4732, allocations: 118.5 kB / 0.4964 GB, free: 4.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.4733, allocations: 4 kB / 0.4964 GB, free: 4.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4734, allocations: 358.8 kB / 0.4968 GB, free: 3.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.4738, allocations: 277.4 kB / 0.497 GB, free: 3.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.4743, allocations: 344.1 kB / 0.4974 GB, free: 3.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.4748, allocations: 311.5 kB / 0.4977 GB, free: 2.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4748, allocations: 0 / 0.4977 GB, free: 2.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001374/0.4762, allocations: 0.9119 MB / 0.4985 GB, free: 2.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.441e-05/0.4763, allocations: 148.5 kB / 0.4987 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4763, allocations: 3.938 kB / 0.4987 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4763, allocations: 4 kB / 0.4987 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.4766, allocations: 107.8 kB / 0.4988 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.4766, allocations: 7.953 kB / 0.4988 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.477, allocations: 75.62 kB / 0.4989 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005059/0.4776, allocations: 0.5619 MB / 0.4994 GB, free: 1.109 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 () * 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.0003628/0.4779, allocations: 313.4 kB / 0.4997 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.4781, allocations: 47.44 kB / 0.4998 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-05/0.4782, allocations: 49.08 kB / 0.4998 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4782, allocations: 8 kB / 0.4998 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4782, allocations: 0 / 0.4998 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4782, allocations: 11.88 kB / 0.4998 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/0.479, allocations: 0.5765 MB / 0.5004 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.479, allocations: 0 / 0.5004 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.4792, allocations: 95.81 kB / 0.5005 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.4792, allocations: 0 / 0.5005 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.4793, allocations: 91.95 kB / 0.5006 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4793, allocations: 3.984 kB / 0.5006 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4794, allocations: 0 / 0.5006 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4806, allocations: 0.8676 MB / 0.5014 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.481, allocations: 256.5 kB / 0.5017 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.4812, allocations: 15.98 kB / 0.5017 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.4815, allocations: 59.8 kB / 0.5017 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.4818, allocations: 152.4 kB / 0.5019 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004782/0.4823, allocations: 0.5618 MB / 0.5024 GB, free: 13.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.4825, allocations: 232.6 kB / 0.5027 GB, free: 13.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4825, allocations: 4 kB / 0.5027 GB, free: 13.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005258/0.4831, allocations: 124 kB / 0.5028 GB, free: 13.55 MB / 394.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) * 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.0002748/0.4833, allocations: 166.1 kB / 0.5029 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.4845, allocations: 0.9648 MB / 0.5039 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4845, allocations: 0 / 0.5039 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.4852, allocations: 0.6552 MB / 0.5045 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.4872, allocations: 475.7 kB / 0.505 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4885, allocations: 0.8575 MB / 0.5058 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.489, allocations: 0.9062 MB / 0.5067 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002411/0.4914, allocations: 1.496 MB / 0.5082 GB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.4927, allocations: 486.2 kB / 0.5086 GB, free: 7.387 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4927, allocations: 0 / 0.5086 GB, free: 7.387 MB / 394.7 MB Notification: Performance of Templates: time 0.02319/0.5159, allocations: 17.31 MB / 0.5255 GB, free: 5.602 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Multiplexer/Multiplexer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches