Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.002038/0.002038, allocations: 110.3 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.00222/0.00222, allocations: 207.1 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.481/1.481, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001975/0.001975, allocations: 71.81 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 53.32 MB / 432 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003596/0.3161, allocations: 1.59 MB / 433.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3173, allocations: 0.5532 MB / 434.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3174, allocations: 3.938 kB / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.932e-05/0.3174, allocations: 7.938 kB / 434.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.3176, allocations: 15.94 kB / 434.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.3179, allocations: 59.75 kB / 434.3 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3181, allocations: 51.78 kB / 434.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3182, allocations: 12.17 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3183, allocations: 27.92 kB / 434.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.3184, allocations: 19.86 kB / 434.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3184, allocations: 7.938 kB / 434.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-05/0.3184, allocations: 7.938 kB / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.3185, allocations: 23.91 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.3185, allocations: 27.81 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3187, allocations: 61.64 kB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3187, allocations: 0 / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3187, allocations: 0 / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3187, allocations: 0 / 434.5 MB, free: 4.953 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006054/0.3193, allocations: 391 kB / 434.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3194, allocations: 8.031 kB / 434.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.3195, allocations: 20.88 kB / 434.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3199, allocations: 192.8 kB / 435.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3199, allocations: 4.375 kB / 435.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3199, allocations: 11.88 kB / 435.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.3202, allocations: 113 kB / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3202, allocations: 0 / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3202, allocations: 0 / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3202, allocations: 4 kB / 435.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.3203, allocations: 15.98 kB / 435.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.3207, allocations: 265.7 kB / 435.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.488e-05/0.3208, allocations: 49.16 kB / 435.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.3209, allocations: 17.77 kB / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3209, allocations: 0 / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3209, allocations: 42.5 kB / 435.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3209, allocations: 0 / 435.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002632/0.3212, allocations: 65.62 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.3212, allocations: 85.05 kB / 435.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3214, allocations: 148.4 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3214, allocations: 29.7 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.3215, allocations: 84.14 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.3215, allocations: 3.953 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3215, allocations: 17.72 kB / 436 MB, free: 3.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3217, allocations: 327 kB / 436.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.3218, allocations: 4 kB / 436.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.3218, allocations: 25.64 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.3219, allocations: 29.7 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3219, allocations: 64 / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.322, allocations: 61.58 kB / 436.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3221, allocations: 8 kB / 436.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3221, allocations: 0 / 436.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3221, allocations: 0 / 436.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.3222, allocations: 7.984 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3222, allocations: 0 / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3222, allocations: 15.88 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3222, allocations: 0 / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001042/0.3223, allocations: 125.8 kB / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.3223, allocations: 7.953 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.3224, allocations: 7.875 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3224, allocations: 0 / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3224, allocations: 0 / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.3225, allocations: 101 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3225, allocations: 0 / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.3226, allocations: 3.984 kB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3226, allocations: 4 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002314/0.3228, allocations: 212.2 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002515/0.3231, allocations: 302 kB / 437.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.882e-05/0.3231, allocations: 20.08 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.74e-05/0.3232, allocations: 111.2 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.3232, allocations: 0 / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.3237, allocations: 101.1 kB / 437.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of SimCode: time 0.000706/0.3244, allocations: 0.6128 MB / 438.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of Templates: time 0.003502/0.3279, allocations: 0.6762 MB / 438.8 MB, free: 328 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.473733578342944] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.3367997771129012 0.351322603 0.029525241 Calling exit ...