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.001088/0.001088, allocations: 107.1 kB / 18.4 MB, free: 4.672 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.001026/0.001026, allocations: 188.5 kB / 19.34 MB, free: 3.742 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.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001162/0.001162, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06972/0.07089, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003284/0.07419, allocations: 2.625 MB / 378.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.07676, allocations: 1.318 MB / 379.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.07696, allocations: 11.94 kB / 379.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.0772, allocations: 79.28 kB / 379.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.07738, allocations: 63.44 kB / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.07798, allocations: 243.7 kB / 380.2 MB, free: 216 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1438/0.2218, allocations: 0.7373 MB / 380.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.2223, allocations: 278.3 kB / 381.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.2238, allocations: 1.15 MB / 382.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.2245, allocations: 451.8 kB / 382.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.2247, allocations: 69.94 kB / 382.8 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.225, allocations: 66.59 kB / 382.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.2253, allocations: 248.5 kB / 383.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.2257, allocations: 362.5 kB / 383.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2273, allocations: 1.612 MB / 385.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2273, allocations: 0.75 kB / 385.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2273, allocations: 1.719 kB / 385.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.175e-05/0.2274, allocations: 0 / 385.1 MB, free: 9.57 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.002024/0.2294, allocations: 1.304 MB / 386.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2295, allocations: 12.91 kB / 386.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.2297, allocations: 81.31 kB / 386.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.2303, allocations: 473.7 kB / 387 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.2303, allocations: 44.19 kB / 387 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.2305, allocations: 62.56 kB / 387.1 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2319, allocations: 0.8297 MB / 387.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2319, allocations: 5.828 kB / 387.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.2321, allocations: 27.22 kB / 387.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2321, allocations: 13.84 kB / 387.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.2333, allocations: 0.6378 MB / 388.6 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.2361, allocations: 1.746 MB / 390.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.2372, allocations: 0.6152 MB / 390.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.2378, allocations: 315.9 kB / 391.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.2379, allocations: 7.734 kB / 391.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009688/0.2389, allocations: 0.5739 MB / 391.8 MB, free: 6.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.154e-06/0.2389, allocations: 0 / 391.8 MB, free: 6.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=58): time 0.002364/0.2413, allocations: 1.326 MB / 393.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.2414, allocations: 199.5 kB / 393.4 MB, free: 6.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.2417, allocations: 417.6 kB / 393.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.2418, allocations: 47.98 kB / 393.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.242, allocations: 254.5 kB / 394.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2421, allocations: 140.7 kB / 394.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.2426, allocations: 322.6 kB / 394.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.2427, allocations: 356.7 kB / 394.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/0.2433, allocations: 315.8 kB / 395.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.2439, allocations: 396.2 kB / 395.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.2451, allocations: 0.961 MB / 396.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2451, allocations: 0 / 396.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001839/0.247, allocations: 1.157 MB / 397.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.247, allocations: 146.5 kB / 397.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2471, allocations: 1.125 kB / 397.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2471, allocations: 5.266 kB / 397.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.2473, allocations: 107.2 kB / 397.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.2473, allocations: 9.875 kB / 397.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.2476, allocations: 50.67 kB / 398 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/0.2482, allocations: 0.5621 MB / 398.6 MB, free: 3.895 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.0004485/0.2486, allocations: 454.3 kB / 399 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.2488, allocations: 50.52 kB / 399 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.2488, allocations: 53.17 kB / 399.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2489, allocations: 3.484 kB / 399.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2489, allocations: 2.625 kB / 399.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.2492, allocations: 268.4 kB / 399.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.2494, allocations: 22.44 kB / 399.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.2497, allocations: 31.67 kB / 399.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.25, allocations: 160.1 kB / 399.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001868/0.2519, allocations: 1.468 MB / 401 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001669/0.2536, allocations: 1.231 MB / 402.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006003/0.2542, allocations: 354.6 kB / 402.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.2544, allocations: 254.9 kB / 402.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Backend: time 5.11e-07/0.2544, allocations: 0 / 402.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.2557, allocations: 0.8594 MB / 403.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of SimCode: time 0.0033/0.2591, allocations: 1.96 MB / 405.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Templates: time 0.03017/0.2892, allocations: 24.69 MB / 430.4 MB, free: 6.695 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