Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer") translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2292, allocations: 53.35 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.00381/0.233, allocations: 2.382 MB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2358, allocations: 1.263 MB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2359, allocations: 7.938 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.2361, allocations: 79.28 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.2363, allocations: 63.38 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.237, allocations: 267.6 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008263/0.2378, allocations: 0.7457 MB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.2381, allocations: 199.5 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.2395, allocations: 1.162 MB / 438.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.2401, allocations: 482.2 kB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.2403, allocations: 68.05 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.2405, allocations: 68 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.2408, allocations: 255 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.2412, allocations: 290.4 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.2427, allocations: 1.618 MB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2427, allocations: 0 / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2427, allocations: 0 / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.2428, allocations: 0 / 441.2 MB, free: 13.76 MB / 350.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.00196/0.2447, allocations: 1.234 MB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2448, allocations: 8.031 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.245, allocations: 84.47 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.2458, allocations: 404.5 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.2459, allocations: 49.69 kB / 443 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2461, allocations: 60.38 kB / 443.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.2478, allocations: 0.9713 MB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2478, allocations: 0 / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.2479, allocations: 24 kB / 444.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.2479, allocations: 16 kB / 444.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.2493, allocations: 0.7709 MB / 444.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.2526, allocations: 1.495 MB / 446.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.2539, allocations: 0.7176 MB / 447.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/0.2546, allocations: 434.7 kB / 447.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.2547, allocations: 4.5 kB / 447.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.2558, allocations: 0.7014 MB / 448.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.955e-06/0.2558, allocations: 0 / 448.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.002781/0.2586, allocations: 1.588 MB / 449.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.2587, allocations: 200.4 kB / 450 MB, free: 4.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.2592, allocations: 417.3 kB / 450.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.2594, allocations: 49.64 kB / 450.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.2596, allocations: 261.2 kB / 450.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.2598, allocations: 135 kB / 450.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/0.2603, allocations: 314.2 kB / 451.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2605, allocations: 358.8 kB / 451.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/0.2612, allocations: 449.6 kB / 451.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.262, allocations: 0.5243 MB / 452.4 MB, free: 2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.2636, allocations: 0.9719 MB / 453.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2637, allocations: 0 / 453.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002166/0.2658, allocations: 1.279 MB / 454.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.2659, allocations: 148.6 kB / 454.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.2659, allocations: 4 kB / 454.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.266, allocations: 4 kB / 454.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2662, allocations: 107.8 kB / 454.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.2663, allocations: 4 kB / 455 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.2666, allocations: 43.83 kB / 455 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005924/0.2672, allocations: 0.5658 MB / 455.6 MB, free: 14.7 MB / 366.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.0005988/0.2678, allocations: 454 kB / 456 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.2679, allocations: 47.72 kB / 456 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-05/0.268, allocations: 56.77 kB / 456.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.268, allocations: 3.984 kB / 456.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.268, allocations: 3.938 kB / 456.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.2686, allocations: 191.6 kB / 456.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.2688, allocations: 24 kB / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.269, allocations: 27.98 kB / 456.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.2694, allocations: 164.3 kB / 456.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002353/0.2718, allocations: 1.597 MB / 458.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002086/0.2739, allocations: 1.376 MB / 459.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007457/0.2746, allocations: 476.3 kB / 459.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.2749, allocations: 255.2 kB / 460.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of Backend: time 3.31e-07/0.2749, allocations: 0 / 460.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.2766, allocations: 0.9565 MB / 461.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of SimCode: time 0.003168/0.2798, allocations: 1.962 MB / 463.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of Templates: time 0.03564/0.3154, allocations: 26.19 MB / 489.3 MB, free: 11.72 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.525069713999983] Failed to read output from testmodel.py, exit status != 0: ['time', 'FF.RS1.TD1.x', 'FF.RS2.TD1.x'] 0.3235174509973149 0.33792697400000005 0.092202723 Calling exit ...