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.001495/0.001495, allocations: 172.7 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007571/0.000757, allocations: 90.67 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.025e-05, allocations: 0 / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08087, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/0.3941, allocations: 83.18 MB / 453.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.3943, allocations: 63.22 kB / 453.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1073/0.5016, allocations: 55.24 MB / 0.4966 GB, free: 4.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5017, allocations: 0 / 0.4966 GB, free: 4.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.888e-05/0.5017, allocations: 12 kB / 0.4966 GB, free: 4.457 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.001954/0.5037, allocations: 0.9698 MB / 0.4975 GB, free: 3.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5038, allocations: 12.02 kB / 0.4976 GB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.5041, allocations: 83.16 kB / 0.4976 GB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000867/0.505, allocations: 468.9 kB / 0.4981 GB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.505, allocations: 49.27 kB / 0.4981 GB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.5052, allocations: 60 kB / 0.4982 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.5067, allocations: 0.8105 MB / 0.499 GB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5067, allocations: 0 / 0.499 GB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.5069, allocations: 28 kB / 0.499 GB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.5069, allocations: 16 kB / 0.499 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.508, allocations: 0.6103 MB / 0.4996 GB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.5111, allocations: 1.686 MB / 0.5013 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/0.5121, allocations: 0.5717 MB / 0.5018 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.5126, allocations: 286.5 kB / 0.5021 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.5128, allocations: 8.562 kB / 0.5021 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008462/0.5136, allocations: 0.5533 MB / 0.5026 GB, free: 14.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 3.086e-06/0.5136, allocations: 0 / 0.5026 GB, free: 14.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.001697/0.5153, allocations: 0.9909 MB / 0.5036 GB, free: 13.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.5155, allocations: 204.4 kB / 0.5038 GB, free: 12.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.5159, allocations: 359.1 kB / 0.5041 GB, free: 12.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.516, allocations: 49.7 kB / 0.5042 GB, free: 12.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.5162, allocations: 236.9 kB / 0.5044 GB, free: 12.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.5164, allocations: 126.5 kB / 0.5045 GB, free: 12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.5165, allocations: 19.98 kB / 0.5046 GB, free: 11.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5166, allocations: 354.8 kB / 0.5049 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.5172, allocations: 289.5 kB / 0.5052 GB, free: 11.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.5178, allocations: 369.6 kB / 0.5055 GB, free: 10.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.5185, allocations: 460.6 kB / 0.506 GB, free: 10.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5185, allocations: 0 / 0.506 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001761/0.5202, allocations: 1.103 MB / 0.507 GB, free: 9.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.5204, allocations: 144.5 kB / 0.5072 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5204, allocations: 4 kB / 0.5072 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.5204, allocations: 7.953 kB / 0.5072 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.5207, allocations: 107.8 kB / 0.5073 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.5207, allocations: 4 kB / 0.5073 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.5213, allocations: 91.62 kB / 0.5074 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005424/0.5219, allocations: 0.5658 MB / 0.5079 GB, free: 8.395 MB / 394.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.0004019/0.5223, allocations: 325.3 kB / 0.5082 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.5224, allocations: 51.44 kB / 0.5083 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.5225, allocations: 56.75 kB / 0.5083 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5225, allocations: 7.953 kB / 0.5084 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.5226, allocations: 0 / 0.5084 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5226, allocations: 3.938 kB / 0.5084 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.5235, allocations: 0.6618 MB / 0.509 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5235, allocations: 0 / 0.509 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.5237, allocations: 99.81 kB / 0.5091 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5237, allocations: 4 kB / 0.5091 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.5238, allocations: 87.95 kB / 0.5092 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5239, allocations: 4 kB / 0.5092 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5239, allocations: 7.938 kB / 0.5092 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.5255, allocations: 1.036 MB / 0.5102 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.526, allocations: 256.5 kB / 0.5105 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.5262, allocations: 20 kB / 0.5105 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.5266, allocations: 75.8 kB / 0.5105 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/0.5269, allocations: 160.4 kB / 0.5107 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005461/0.5275, allocations: 0.5618 MB / 0.5113 GB, free: 4.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.5277, allocations: 250.1 kB / 0.5115 GB, free: 4.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5277, allocations: 0 / 0.5115 GB, free: 4.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005858/0.5283, allocations: 140 kB / 0.5116 GB, free: 4.465 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.000286/0.5286, allocations: 172.9 kB / 0.5118 GB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.5301, allocations: 1.001 MB / 0.5128 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5301, allocations: 0 / 0.5128 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.531, allocations: 0.6758 MB / 0.5134 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.5329, allocations: 474.7 kB / 0.5139 GB, free: 2.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.5347, allocations: 0.8947 MB / 0.5148 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.5352, allocations: 0.9103 MB / 0.5156 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002674/0.5379, allocations: 1.493 MB / 0.5171 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.5393, allocations: 490.2 kB / 0.5176 GB, free: 14.18 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5393, allocations: 0 / 0.5176 GB, free: 14.18 MB / 410.7 MB Notification: Performance of Templates: time 0.2064/0.7457, allocations: 17.65 MB / 0.5348 GB, free: 120 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