Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.001741/0.001741, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.002231/0.002231, allocations: 207 kB / 24.48 MB, free: 4.035 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.541/1.541, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [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.001973/0.001973, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2616, allocations: 53.31 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003436/0.265, allocations: 1.921 MB / 434 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.2673, allocations: 1.309 MB / 435.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2674, allocations: 7.938 kB / 435.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.2677, allocations: 63.67 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.2681, allocations: 143.4 kB / 435.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.2687, allocations: 218 kB / 435.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.269, allocations: 179.5 kB / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2691, allocations: 21.55 kB / 435.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2692, allocations: 79.62 kB / 436 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2693, allocations: 87.66 kB / 436.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2694, allocations: 11.94 kB / 436.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.2695, allocations: 63.97 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.2696, allocations: 63.69 kB / 436.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.2697, allocations: 75.48 kB / 436.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.27, allocations: 241 kB / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2701, allocations: 0 / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2701, allocations: 0 / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2701, allocations: 0 / 436.5 MB, free: 2.941 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008055/0.2709, allocations: 0.5503 MB / 437.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2709, allocations: 8.031 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.271, allocations: 28.78 kB / 437.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.2714, allocations: 291.8 kB / 437.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2715, allocations: 4.375 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.2715, allocations: 12.12 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.2718, allocations: 166.1 kB / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2719, allocations: 0 / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2719, allocations: 3.938 kB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2719, allocations: 0 / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.272, allocations: 39.97 kB / 437.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.2726, allocations: 386.3 kB / 438 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.2728, allocations: 115.9 kB / 438.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.2729, allocations: 46.56 kB / 438.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.273, allocations: 8.047 kB / 438.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.2732, allocations: 75.33 kB / 438.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.2732, allocations: 4 kB / 438.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004063/0.2736, allocations: 153.4 kB / 438.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.2737, allocations: 158.2 kB / 438.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.2741, allocations: 334.7 kB / 438.8 MB, free: 332 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2741, allocations: 29.69 kB / 438.9 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2742, allocations: 128.1 kB / 439 MB, free: 164 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.2742, allocations: 19.84 kB / 439 MB, free: 144 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.2743, allocations: 37.95 kB / 439.1 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2745, allocations: 334.8 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.2745, allocations: 31.92 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2747, allocations: 78.86 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.2748, allocations: 92.2 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2748, allocations: 0 / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002627/0.2751, allocations: 125.4 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2751, allocations: 4.125 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2751, allocations: 8 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2751, allocations: 0 / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2752, allocations: 23.92 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2752, allocations: 3.938 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.2753, allocations: 8 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2754, allocations: 7.938 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,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 (11): * Single equations (assignments): 11 * 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.0001527/0.2755, allocations: 158.6 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2756, allocations: 31.81 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.2758, allocations: 119.4 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2758, allocations: 0 / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.2758, allocations: 7.984 kB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.276, allocations: 112.9 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.276, allocations: 7.938 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.2761, allocations: 7.984 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.2761, allocations: 4 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003756/0.2765, allocations: 355.4 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004051/0.2769, allocations: 453.1 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001129/0.277, allocations: 43.97 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.2773, allocations: 250 kB / 441.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Backend: time 7.31e-07/0.2773, allocations: 4 kB / 441.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2794, allocations: 462.5 kB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of SimCode: time 0.001065/0.2805, allocations: 0.817 MB / 442.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Templates: time 0.007524/0.288, allocations: 3.081 MB / 445.6 MB, free: 9.551 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.6184154520742595] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 0.2964006778784096 0.31117209900000004 0.037925141 Calling exit ...