Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00176/0.00176, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002056/0.002056, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.396/1.396, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 75.81 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.219, allocations: 53.3 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003981/0.2229, allocations: 2.665 MB / 434.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.2259, allocations: 1.321 MB / 436 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2261, allocations: 4 kB / 436 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.2264, allocations: 79.28 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2266, allocations: 67.44 kB / 436.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.2273, allocations: 247.6 kB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000943/0.2282, allocations: 0.738 MB / 437.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.2286, allocations: 195.5 kB / 437.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.2299, allocations: 1.158 MB / 438.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000661/0.2305, allocations: 482.2 kB / 439 MB, free: 416 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.2307, allocations: 64 kB / 439 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.2308, allocations: 68 kB / 439.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.2311, allocations: 259.1 kB / 439.4 MB, free: 24 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.2315, allocations: 354.1 kB / 439.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.233, allocations: 1.613 MB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.233, allocations: 4 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.233, allocations: 3.938 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.233, allocations: 0 / 441.3 MB, free: 14.05 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.001858/0.2349, allocations: 1.3 MB / 442.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2349, allocations: 12.03 kB / 442.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.2351, allocations: 84.47 kB / 442.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.236, allocations: 478.2 kB / 443.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.2361, allocations: 41.69 kB / 443.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.2362, allocations: 68.38 kB / 443.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.2377, allocations: 0.838 MB / 444.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2378, allocations: 0 / 444.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.2379, allocations: 24 kB / 444.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2379, allocations: 12 kB / 444.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.2392, allocations: 0.6337 MB / 444.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.2428, allocations: 1.748 MB / 446.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.244, allocations: 0.5863 MB / 447.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/0.2446, allocations: 290.4 kB / 447.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.2447, allocations: 8.547 kB / 447.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009751/0.2457, allocations: 0.5728 MB / 448 MB, free: 7.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.214e-06/0.2457, allocations: 0 / 448 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.002493/0.2482, allocations: 1.323 MB / 449.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.2483, allocations: 200.4 kB / 449.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.2488, allocations: 409.4 kB / 449.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.2489, allocations: 49.7 kB / 450 MB, free: 5.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2491, allocations: 261.2 kB / 450.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.2493, allocations: 143 kB / 450.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.2498, allocations: 322.2 kB / 450.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.25, allocations: 358.7 kB / 451 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.2506, allocations: 313.1 kB / 451.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.2513, allocations: 400.3 kB / 451.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.2528, allocations: 0.9609 MB / 452.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2528, allocations: 0 / 452.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002006/0.2549, allocations: 1.157 MB / 453.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.255, allocations: 148.5 kB / 454 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.255, allocations: 4 kB / 454 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.255, allocations: 4 kB / 454 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.2552, allocations: 103.8 kB / 454.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.2552, allocations: 8 kB / 454.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.2555, allocations: 47.77 kB / 454.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000543/0.2561, allocations: 0.5619 MB / 454.7 MB, free: 172 kB / 350.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.0005723/0.2567, allocations: 454.1 kB / 455.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.2568, allocations: 47.72 kB / 455.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.2569, allocations: 52.77 kB / 455.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2569, allocations: 7.984 kB / 455.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2569, allocations: 4 kB / 455.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/0.2575, allocations: 264.6 kB / 455.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.2577, allocations: 24 kB / 455.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.2579, allocations: 31.92 kB / 455.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.2583, allocations: 156.4 kB / 455.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002178/0.2604, allocations: 1.473 MB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001879/0.2623, allocations: 1.233 MB / 458.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006282/0.2629, allocations: 336.2 kB / 458.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.2632, allocations: 255.2 kB / 459 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Backend: time 3.71e-07/0.2632, allocations: 4 kB / 459 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.2648, allocations: 0.83 MB / 459.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of SimCode: time 0.00297/0.2678, allocations: 1.966 MB / 461.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of Templates: time 0.03181/0.2996, allocations: 24.83 MB / 486.7 MB, free: 15.03 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.340572928078473] Failed to read output from testmodel.py, exit status != 0: ['time', 'FF.RS1.TD1.x', 'FF.RS2.TD1.x'] 0.3088324670679867 0.320845217 0.084907073 Calling exit ...