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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 105.7 kB / 18.4 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 187 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 59.91 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.004742/0.1153, allocations: 2.629 MB / 378.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1183, allocations: 1.318 MB / 379.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.1187, allocations: 11.94 kB / 379.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.1191, allocations: 71.36 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1194, allocations: 55.45 kB / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.1202, allocations: 251.6 kB / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1853/0.3055, allocations: 0.7293 MB / 380.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.306, allocations: 276.4 kB / 381.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.3076, allocations: 1.152 MB / 382.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005672/0.3082, allocations: 452.4 kB / 382.8 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.3084, allocations: 66.44 kB / 382.8 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.3086, allocations: 70.84 kB / 382.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.3089, allocations: 247.7 kB / 383.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.3092, allocations: 360 kB / 383.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.3109, allocations: 1.611 MB / 385.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3109, allocations: 1.156 kB / 385.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3109, allocations: 0.7031 kB / 385.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.3109, allocations: 0.9375 kB / 385.1 MB, free: 9.582 MB / 318.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.001715/0.3126, allocations: 1.286 MB / 386.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3127, allocations: 14.11 kB / 386.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.3129, allocations: 76 kB / 386.5 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.3135, allocations: 472.5 kB / 386.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.3136, allocations: 45.19 kB / 387 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.3137, allocations: 58.59 kB / 387 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.3152, allocations: 0.8312 MB / 387.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3152, allocations: 5.891 kB / 387.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3154, allocations: 23.88 kB / 387.9 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.3154, allocations: 14.89 kB / 387.9 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3166, allocations: 0.6381 MB / 388.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.3195, allocations: 1.751 MB / 390.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3207, allocations: 0.6122 MB / 390.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.3212, allocations: 310.8 kB / 391.2 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.3214, allocations: 6.156 kB / 391.2 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.3224, allocations: 0.579 MB / 391.8 MB, free: 7.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.705e-06/0.3224, allocations: 0 / 391.8 MB, free: 7.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=58): time 0.002427/0.3248, allocations: 1.321 MB / 393.1 MB, free: 6.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.3249, allocations: 196.9 kB / 393.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.3253, allocations: 410.8 kB / 393.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.3254, allocations: 54.05 kB / 393.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3255, allocations: 258.5 kB / 394 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3257, allocations: 134.1 kB / 394.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/0.3262, allocations: 313.5 kB / 394.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.3263, allocations: 360.7 kB / 394.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.3269, allocations: 310.6 kB / 395.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.3275, allocations: 401.9 kB / 395.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3288, allocations: 0.9643 MB / 396.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3288, allocations: 1.469 kB / 396.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001858/0.3307, allocations: 1.154 MB / 397.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.3307, allocations: 147.3 kB / 397.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3308, allocations: 1.344 kB / 397.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3308, allocations: 4.5 kB / 397.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3311, allocations: 110.1 kB / 397.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3311, allocations: 7.469 kB / 397.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.3314, allocations: 43.33 kB / 397.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006548/0.3321, allocations: 0.5618 MB / 398.5 MB, free: 3.969 MB / 318.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.0005231/0.3326, allocations: 452.4 kB / 398.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3328, allocations: 48.97 kB / 399 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.942e-05/0.3329, allocations: 57.25 kB / 399 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3329, allocations: 3.188 kB / 399 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3329, allocations: 0.9375 kB / 399 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.3333, allocations: 260.6 kB / 399.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.3334, allocations: 25.84 kB / 399.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3337, allocations: 31.98 kB / 399.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.334, allocations: 163.2 kB / 399.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001872/0.3359, allocations: 1.467 MB / 401 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001712/0.3376, allocations: 1.235 MB / 402.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005638/0.3382, allocations: 354.7 kB / 402.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3384, allocations: 254.1 kB / 402.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of Backend: time 7.31e-07/0.3385, allocations: 1.5 kB / 402.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3398, allocations: 0.8551 MB / 403.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of SimCode: time 0.003572/0.3434, allocations: 1.95 MB / 405.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Templates: time 0.03369/0.3771, allocations: 24.89 MB / 430.5 MB, free: 6.574 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Multiplexer/Multiplexer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches