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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002439/0.002439, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2368, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.00354/0.2403, allocations: 2.646 MB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.2431, allocations: 1.31 MB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.2433, allocations: 4 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.2436, allocations: 83.3 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.2438, allocations: 59.44 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.2445, allocations: 247.6 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.2454, allocations: 0.7341 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.2458, allocations: 271.5 kB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.247, allocations: 1.162 MB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.2477, allocations: 446.3 kB / 416.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.2479, allocations: 68 kB / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.2482, allocations: 71.94 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.2485, allocations: 251.1 kB / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.249, allocations: 358 kB / 417.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.2503, allocations: 1.612 MB / 419.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2503, allocations: 4 kB / 419.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2503, allocations: 0 / 419.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.2504, allocations: 0 / 419.2 MB, free: 8.246 MB / 334.1 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.002046/0.2524, allocations: 1.282 MB / 420.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2525, allocations: 8.031 kB / 420.5 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.2527, allocations: 84.09 kB / 420.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.2535, allocations: 470 kB / 421 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.2536, allocations: 41.69 kB / 421.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2537, allocations: 60.38 kB / 421.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.2551, allocations: 0.842 MB / 422 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2551, allocations: 0 / 422 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.2552, allocations: 24 kB / 422 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.2553, allocations: 12 kB / 422 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2564, allocations: 0.6414 MB / 422.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.2595, allocations: 1.744 MB / 424.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2606, allocations: 0.6098 MB / 425 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.2612, allocations: 310.4 kB / 425.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.918e-05/0.2613, allocations: 12.5 kB / 425.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.2622, allocations: 0.5728 MB / 425.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.2622, allocations: 0 / 425.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=58): time 0.002221/0.2644, allocations: 1.323 MB / 427.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/0.2645, allocations: 192.5 kB / 427.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.2649, allocations: 409.2 kB / 427.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.265, allocations: 49.7 kB / 427.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.2652, allocations: 256.7 kB / 428.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.2654, allocations: 134.4 kB / 428.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.2658, allocations: 322.1 kB / 428.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2659, allocations: 362.7 kB / 428.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.2665, allocations: 317.1 kB / 429.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.2671, allocations: 396.4 kB / 429.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2685, allocations: 0.9603 MB / 430.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2685, allocations: 8 kB / 430.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001772/0.2703, allocations: 1.149 MB / 431.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.2704, allocations: 147.6 kB / 431.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2704, allocations: 7.984 kB / 431.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2704, allocations: 7.938 kB / 431.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.2707, allocations: 107.8 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2707, allocations: 8 kB / 432 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.271, allocations: 43.89 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004563/0.2714, allocations: 0.558 MB / 432.6 MB, free: 10.37 MB / 350.1 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,$PRE.MUX.Or1.auxiliary_n,MUX.d,$PRE.MUX.And4.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,MUX.Or1.auxiliary[3],MUX.Or1.auxiliary[2],MUX.Or1.x[4],MUX.Or1.x[3],MUX.Or1.x[2],MUX.Or1.x[1],$PRE.FF.And2.auxiliary_n,FF.RS2.TD1.x_delayed,$PRE.FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.x[2],FF.RS2.Nor2.x[1],$PRE.FF.And4.auxiliary_n,FF.RS1.TD1.x_delayed,$PRE.FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.x[2],FF.RS1.Nor2.x[1],$PRE.FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And4.x[1],FF.And3.auxiliary_n,FF.And3.x[2],$PRE.FF.And1.auxiliary_n,FF.And1.y,FF.RS2.TD1.x,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary[2],Enable.y,FF.Not1.auxiliary,$PRE.FF.And3.auxiliary_n,FF.And3.y,FF.And2.auxiliary_n,FF.And2.auxiliary[2],FF.And2.x[1],FF.And1.auxiliary_n,FF.And1.auxiliary[2],FF.And1.x[1],FF.RS1.TD1.x,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary[2],D3.y,D2.y,MUX.Not2.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And4.auxiliary[2],MUX.And3.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.x[3],MUX.And2.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.x[1],MUX.And1.auxiliary_n,MUX.And1.auxiliary[2],D1.y,D0.y,CLK.t_i,$PRE.CLK.t_i) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000498/0.2719, allocations: 461.9 kB / 433.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2721, allocations: 47.44 kB / 433.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.893e-05/0.2722, allocations: 56.75 kB / 433.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2722, allocations: 0 / 433.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2722, allocations: 0 / 433.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.2727, allocations: 260.5 kB / 433.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.2729, allocations: 27.94 kB / 433.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.2732, allocations: 27.92 kB / 433.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/0.2735, allocations: 160.4 kB / 433.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001887/0.2754, allocations: 1.473 MB / 435.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001671/0.2771, allocations: 1.229 MB / 436.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005779/0.2777, allocations: 356.2 kB / 436.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.2779, allocations: 259.2 kB / 436.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of Backend: time 5.51e-07/0.2779, allocations: 0 / 436.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.2794, allocations: 0.8506 MB / 437.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of SimCode: time 0.002794/0.2822, allocations: 1.948 MB / 439.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Templates: time 0.0294/0.3116, allocations: 24.67 MB / 464.4 MB, free: 9.363 MB / 382.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches