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.001002/0.001002, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008088/0.0008087, allocations: 91.28 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.285e-05, allocations: 8 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.0853, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3668, allocations: 84.91 MB / 486.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.367, allocations: 69.62 kB / 487 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1012/0.4683, allocations: 55.94 MB / 0.5302 GB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4683, allocations: 0 / 0.5302 GB, free: 14.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.4684, allocations: 15.94 kB / 0.5302 GB, free: 14.51 MB / 410.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.001214/0.4696, allocations: 0.9659 MB / 0.5312 GB, free: 13.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4696, allocations: 8.031 kB / 0.5312 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.4698, allocations: 75.16 kB / 0.5313 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.4706, allocations: 468.9 kB / 0.5317 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.4707, allocations: 53.27 kB / 0.5318 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4709, allocations: 59.98 kB / 0.5318 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.4722, allocations: 0.8183 MB / 0.5326 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4722, allocations: 0 / 0.5326 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.4723, allocations: 24 kB / 0.5326 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4723, allocations: 12 kB / 0.5326 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.4734, allocations: 0.6104 MB / 0.5332 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.476, allocations: 1.686 MB / 0.5349 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009173/0.477, allocations: 0.5644 MB / 0.5354 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.4774, allocations: 294.4 kB / 0.5357 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.4776, allocations: 8.547 kB / 0.5357 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007521/0.4783, allocations: 0.5494 MB / 0.5363 GB, free: 8.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.4783, allocations: 4 kB / 0.5363 GB, free: 8.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.001563/0.4799, allocations: 0.991 MB / 0.5372 GB, free: 7.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.48, allocations: 198.2 kB / 0.5374 GB, free: 6.875 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.4804, allocations: 363.1 kB / 0.5378 GB, free: 6.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.4805, allocations: 49.7 kB / 0.5378 GB, free: 6.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4807, allocations: 240.8 kB / 0.538 GB, free: 6.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.4809, allocations: 126.5 kB / 0.5382 GB, free: 6.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.481, allocations: 16 kB / 0.5382 GB, free: 6.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4811, allocations: 362.8 kB / 0.5385 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.4817, allocations: 285.5 kB / 0.5388 GB, free: 5.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.4823, allocations: 365.7 kB / 0.5392 GB, free: 5.055 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.483, allocations: 462.6 kB / 0.5396 GB, free: 4.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.483, allocations: 7.984 kB / 0.5396 GB, free: 4.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001739/0.4847, allocations: 1.095 MB / 0.5407 GB, free: 3.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.4849, allocations: 144.5 kB / 0.5408 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4849, allocations: 0 / 0.5408 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4849, allocations: 7.953 kB / 0.5408 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.4852, allocations: 111.8 kB / 0.5409 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.4852, allocations: 10.48 kB / 0.5409 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.4858, allocations: 79.77 kB / 0.541 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005315/0.4864, allocations: 0.5619 MB / 0.5416 GB, free: 2.5 MB / 410.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.0003574/0.4867, allocations: 334.1 kB / 0.5419 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.4869, allocations: 51.44 kB / 0.5419 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.487, allocations: 52.77 kB / 0.542 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.487, allocations: 7.953 kB / 0.542 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.487, allocations: 4 kB / 0.542 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.487, allocations: 3.984 kB / 0.542 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009174/0.4879, allocations: 0.654 MB / 0.5426 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.488, allocations: 0 / 0.5426 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.4881, allocations: 104.4 kB / 0.5427 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4882, allocations: 0 / 0.5427 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.4883, allocations: 87.95 kB / 0.5428 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4883, allocations: 8 kB / 0.5428 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4883, allocations: 3.953 kB / 0.5428 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.4898, allocations: 1.036 MB / 0.5438 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.4904, allocations: 263 kB / 0.5441 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.4905, allocations: 32 kB / 0.5441 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.4909, allocations: 59.8 kB / 0.5442 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/0.4912, allocations: 160.4 kB / 0.5443 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005179/0.4918, allocations: 0.5735 MB / 0.5449 GB, free: 14.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002553/0.492, allocations: 242.2 kB / 0.5451 GB, free: 14.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.492, allocations: 0 / 0.5451 GB, free: 14.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005619/0.4926, allocations: 152 kB / 0.5453 GB, free: 14.55 MB / 426.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.0002804/0.4929, allocations: 168.8 kB / 0.5454 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.4943, allocations: 1.005 MB / 0.5464 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4943, allocations: 0 / 0.5464 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008221/0.4952, allocations: 0.6681 MB / 0.5471 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4971, allocations: 478.9 kB / 0.5475 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.4988, allocations: 0.8831 MB / 0.5484 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.4993, allocations: 0.9035 MB / 0.5493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002495/0.5018, allocations: 1.504 MB / 0.5507 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.5031, allocations: 478.2 kB / 0.5512 GB, free: 8.332 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5031, allocations: 0 / 0.5512 GB, free: 8.332 MB / 426.7 MB Notification: Performance of Templates: time 0.02322/0.5263, allocations: 17.66 MB / 0.5684 GB, free: 6.305 MB / 442.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