Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001303/0.001303, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.001376/0.001376, allocations: 219.9 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.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [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.002071/0.002071, allocations: 79.75 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2311, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003531/0.2346, allocations: 1.965 MB / 434 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.2368, allocations: 1.25 MB / 435.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2369, allocations: 7.938 kB / 435.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.2375, allocations: 159.5 kB / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.238, allocations: 159.4 kB / 435.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.2385, allocations: 171.4 kB / 435.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2388, allocations: 203.4 kB / 436 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2389, allocations: 21.67 kB / 436 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.2391, allocations: 87.56 kB / 436.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2392, allocations: 83.61 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2393, allocations: 12 kB / 436.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.2394, allocations: 63.91 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.2395, allocations: 47.83 kB / 436.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.2396, allocations: 75.48 kB / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.2399, allocations: 224.5 kB / 436.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2399, allocations: 4 kB / 436.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2399, allocations: 0 / 436.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2399, allocations: 0 / 436.6 MB, free: 2.867 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008393/0.2408, allocations: 0.5232 MB / 437.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2408, allocations: 12.03 kB / 437.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.2409, allocations: 28.78 kB / 437.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.2413, allocations: 274.9 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2413, allocations: 8.375 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2413, allocations: 8.125 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.2417, allocations: 171.6 kB / 437.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2417, allocations: 3.984 kB / 437.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2417, allocations: 0 / 437.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2417, allocations: 4 kB / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2418, allocations: 39.92 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.2424, allocations: 379.2 kB / 438 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.2426, allocations: 130.5 kB / 438.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2427, allocations: 51.42 kB / 438.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2427, allocations: 3.984 kB / 438.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2429, allocations: 79.33 kB / 438.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.2429, allocations: 0 / 438.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000401/0.2433, allocations: 161.3 kB / 438.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.2434, allocations: 158.2 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.2437, allocations: 279 kB / 438.8 MB, free: 308 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2437, allocations: 33.7 kB / 438.9 MB, free: 268 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.2438, allocations: 124.4 kB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2438, allocations: 23.83 kB / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.2439, allocations: 33.7 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2441, allocations: 330.8 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.2441, allocations: 23.98 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.2442, allocations: 86.03 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2444, allocations: 98.22 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2444, allocations: 0 / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002388/0.2447, allocations: 129.4 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2447, allocations: 11.94 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2447, allocations: 0 / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2447, allocations: 7.984 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.2448, allocations: 16.19 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2448, allocations: 0 / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.2449, allocations: 15.92 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2449, allocations: 15.92 kB / 439.8 MB, free: 15.29 MB / 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: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.000147/0.245, allocations: 142.6 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.2451, allocations: 23.86 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.2453, allocations: 103.4 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2454, allocations: 8 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2454, allocations: 0 / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2455, allocations: 113 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2455, allocations: 7.922 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.2456, allocations: 4 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.2456, allocations: 8 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003944/0.246, allocations: 438.7 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004235/0.2465, allocations: 0.5239 MB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.894e-05/0.2466, allocations: 48.06 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.2468, allocations: 206 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Backend: time 2.61e-07/0.2468, allocations: 0 / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.2489, allocations: 445.5 kB / 441.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of SimCode: time 0.000969/0.2499, allocations: 0.8091 MB / 442.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of Templates: time 0.006731/0.2566, allocations: 2.835 MB / 445.4 MB, free: 9.691 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.152741828002036] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 0.2647774559445679 0.27871429 0.035707903 Calling exit ...