Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00162/0.001621, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001825/0.001825, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 56.06 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2249, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003233/0.2282, allocations: 2.636 MB / 404.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2305, allocations: 1.275 MB / 405.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.2306, allocations: 7.938 kB / 405.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.2308, allocations: 75.3 kB / 405.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.231, allocations: 63.44 kB / 405.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.2316, allocations: 251.6 kB / 405.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.2322, allocations: 0.7458 MB / 406.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.2326, allocations: 271.5 kB / 406.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.2337, allocations: 1.154 MB / 407.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.2342, allocations: 454.3 kB / 408.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.2344, allocations: 68 kB / 408.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.2346, allocations: 64 kB / 408.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.2349, allocations: 251.1 kB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.2353, allocations: 354 kB / 409 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2365, allocations: 1.617 MB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2365, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2365, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2365, allocations: 0 / 410.7 MB, free: 15.6 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.001581/0.2381, allocations: 1.289 MB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2381, allocations: 8.031 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.2383, allocations: 76.09 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.2391, allocations: 473.9 kB / 412.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.2392, allocations: 41.69 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2393, allocations: 60.38 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.2408, allocations: 0.8381 MB / 413.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2408, allocations: 0 / 413.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.2409, allocations: 27.94 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.2409, allocations: 16 kB / 413.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.2421, allocations: 0.6375 MB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.2452, allocations: 1.747 MB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2463, allocations: 0.6075 MB / 416.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.2469, allocations: 314.3 kB / 416.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.039e-05/0.247, allocations: 8.562 kB / 416.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009193/0.2479, allocations: 0.5767 MB / 417.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.594e-06/0.248, allocations: 0 / 417.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=58): time 0.002254/0.2502, allocations: 1.315 MB / 418.7 MB, free: 7.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.2503, allocations: 200.5 kB / 418.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.2507, allocations: 409.3 kB / 419.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.2508, allocations: 53.62 kB / 419.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.251, allocations: 248.9 kB / 419.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.2512, allocations: 138.3 kB / 419.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/0.2516, allocations: 322.1 kB / 420 MB, free: 5.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2518, allocations: 358.7 kB / 420.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.2524, allocations: 313.1 kB / 420.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.253, allocations: 396.4 kB / 421.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2544, allocations: 0.971 MB / 422 MB, free: 3.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2544, allocations: 0 / 422 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001817/0.2562, allocations: 1.153 MB / 423.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.2563, allocations: 144.5 kB / 423.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2563, allocations: 0 / 423.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2563, allocations: 8 kB / 423.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.2566, allocations: 107.8 kB / 423.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2566, allocations: 8.062 kB / 423.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.2569, allocations: 43.73 kB / 423.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004573/0.2574, allocations: 0.5619 MB / 424.1 MB, free: 1.723 MB / 334.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.0005079/0.2579, allocations: 454 kB / 424.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.258, allocations: 47.53 kB / 424.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.2581, allocations: 52.77 kB / 424.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2581, allocations: 3.984 kB / 424.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2581, allocations: 3.938 kB / 424.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.2587, allocations: 256.4 kB / 424.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.2589, allocations: 31.98 kB / 424.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.2591, allocations: 35.92 kB / 424.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.2595, allocations: 152.4 kB / 425.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001955/0.2614, allocations: 1.469 MB / 426.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001832/0.2633, allocations: 1.241 MB / 427.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006082/0.2639, allocations: 348.3 kB / 428.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.2641, allocations: 255.2 kB / 428.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Backend: time 2.094e-06/0.2641, allocations: 0 / 428.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.2657, allocations: 0.8505 MB / 429.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 0.0032/0.2689, allocations: 1.954 MB / 431.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.03071/0.2996, allocations: 24.67 MB / 455.8 MB, free: 0.7344 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches