Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005389, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 44.52 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002625/0.127, allocations: 1.227 MB / 310.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.131, allocations: 0.8513 MB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.1311, allocations: 4 kB / 311.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.924e-05/0.1312, allocations: 7.922 kB / 311.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1314, allocations: 15.97 kB / 311.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1318, allocations: 51.83 kB / 311.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1321, allocations: 79.84 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1323, allocations: 17.39 kB / 311.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1335, allocations: 479.2 kB / 311.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.1338, allocations: 99.8 kB / 311.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-05/0.1339, allocations: 4 kB / 311.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.134, allocations: 4 kB / 311.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1342, allocations: 79.75 kB / 312 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1343, allocations: 81.45 kB / 312 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.1351, allocations: 359.1 kB / 312.4 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1351, allocations: 4 kB / 312.4 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1352, allocations: 0 / 312.4 MB, free: 13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1352, allocations: 0 / 312.4 MB, free: 13 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001349/0.1365, allocations: 0.7362 MB / 313.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.1366, allocations: 8.031 kB / 313.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1368, allocations: 47.47 kB / 313.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.1374, allocations: 273.3 kB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.1375, allocations: 8 kB / 313.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.1376, allocations: 11.94 kB / 313.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.1384, allocations: 173.5 kB / 313.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1384, allocations: 0 / 313.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.1385, allocations: 4 kB / 313.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.1385, allocations: 0 / 313.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.139, allocations: 83.95 kB / 313.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1406, allocations: 0.5042 MB / 314.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.1411, allocations: 126.5 kB / 314.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1412, allocations: 4 kB / 314.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007753/0.142, allocations: 238.7 kB / 314.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 6.342e-06/0.142, allocations: 4 kB / 314.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.002528/0.1446, allocations: 0.7731 MB / 315.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.1447, allocations: 195.9 kB / 315.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.1459, allocations: 0.5678 MB / 316.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.146, allocations: 33.7 kB / 316.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1461, allocations: 113.1 kB / 316.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.1462, allocations: 35.55 kB / 316.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.1463, allocations: 8 kB / 316.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1465, allocations: 330.8 kB / 316.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.1469, allocations: 79.97 kB / 316.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.1473, allocations: 97.66 kB / 316.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.1479, allocations: 216.4 kB / 317 MB, free: 7.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.1479, allocations: 0 / 317 MB, free: 7.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001767/0.1497, allocations: 0.5018 MB / 317.5 MB, free: 7.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.1499, allocations: 148.5 kB / 317.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.15, allocations: 3.984 kB / 317.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.15, allocations: 8.031 kB / 317.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.065e-05/0.1501, allocations: 7.953 kB / 317.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1501, allocations: 0 / 317.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.1506, allocations: 12 kB / 317.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.1508, allocations: 101.3 kB / 317.8 MB, free: 7.137 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * 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.0009805/0.1519, allocations: 404.1 kB / 318.2 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.1521, allocations: 39.53 kB / 318.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.1524, allocations: 67.48 kB / 318.3 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1524, allocations: 4 kB / 318.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1524, allocations: 0 / 318.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008079/0.1532, allocations: 268.2 kB / 318.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.1534, allocations: 12 kB / 318.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.1538, allocations: 19.92 kB / 318.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.1541, allocations: 55.88 kB / 318.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002125/0.1563, allocations: 0.8773 MB / 319.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002083/0.1584, allocations: 0.7374 MB / 320.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006202/0.159, allocations: 183.9 kB / 320.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001229/0.1603, allocations: 418.8 kB / 320.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of Backend: time 1.392e-06/0.1603, allocations: 0 / 320.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.1618, allocations: 0.5228 MB / 321.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of SimCode: time 0.003579/0.1654, allocations: 1.551 MB / 322.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of Templates: time 0.02166/0.1871, allocations: 5.997 MB / 328.9 MB, free: 11.48 MB / 282.7 MB "" Variables in the reference:time,Mux2x1.out Variables in the result:Input0.n,Input0.t[1],Input0.t[2],Input0.t[3],Input0.t[4],Input0.t[5],Input0.t[6],Input0.x[1],Input0.x[2],Input0.x[3],Input0.x[4],Input0.x[5],Input0.x[6],Input0.y0,Input1.n,Input1.t[1],Input1.t[2],Input1.t[3],Input1.t[4],Input1.t[5],Input1.t[6],Input1.x[1],Input1.x[2],Input1.x[3],Input1.x[4],Input1.x[5],Input1.x[6],Input1.y0,Mux2x1.inertialDelaySensitive.tHL,Mux2x1.inertialDelaySensitive.tLH,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y0,Mux2x1.out,Mux2x1.strength,Mux2x1.tHL,Mux2x1.tLH,Select.after,Select.before,Select.stepTime,time