Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.001309/0.001309, allocations: 112.6 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.001495/0.001495, allocations: 212.2 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.482/1.482, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.002155/0.002155, allocations: 67.83 kB / 378.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3041, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002914/0.3071, allocations: 1.606 MB / 433.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3081, allocations: 0.5648 MB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.3082, allocations: 0 / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.385e-05/0.3083, allocations: 7.938 kB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3084, allocations: 19.86 kB / 434.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3088, allocations: 57.94 kB / 434.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3089, allocations: 51.84 kB / 434.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.309, allocations: 8.188 kB / 434.4 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3092, allocations: 31.8 kB / 434.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.3092, allocations: 23.84 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3092, allocations: 4 kB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.46e-05/0.3093, allocations: 4 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.3093, allocations: 11.98 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.3094, allocations: 35.75 kB / 434.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3095, allocations: 65.22 kB / 434.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3095, allocations: 0 / 434.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3095, allocations: 0 / 434.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3095, allocations: 3.938 kB / 434.6 MB, free: 4.871 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.0005013/0.31, allocations: 383 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3101, allocations: 8.031 kB / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3102, allocations: 20.88 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.3105, allocations: 204.8 kB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3106, allocations: 4.375 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3106, allocations: 3.938 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3109, allocations: 117.9 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3109, allocations: 0 / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3109, allocations: 0 / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3109, allocations: 0 / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.311, allocations: 31.86 kB / 435.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3113, allocations: 282.5 kB / 435.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3114, allocations: 71.78 kB / 435.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.3115, allocations: 26.64 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3115, allocations: 0 / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3115, allocations: 46.48 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3115, allocations: 0 / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002714/0.3118, allocations: 85.52 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3119, allocations: 102.8 kB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.312, allocations: 153 kB / 436.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.312, allocations: 29.7 kB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.3121, allocations: 84.14 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.3121, allocations: 8 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.3121, allocations: 17.67 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3123, allocations: 322.8 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.3124, allocations: 11.98 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.3124, allocations: 39.38 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.3125, allocations: 39.42 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3125, allocations: 0 / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001564/0.3127, allocations: 77.55 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3127, allocations: 4 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3127, allocations: 4 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3127, allocations: 0 / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.3128, allocations: 11.98 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3128, allocations: 0 / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3128, allocations: 7.938 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3128, allocations: 0 / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.432e-05/0.3129, allocations: 129.9 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.313, allocations: 11.91 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.313, allocations: 11.88 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.313, allocations: 0 / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.313, allocations: 3.938 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.3131, allocations: 96.98 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3131, allocations: 4 kB / 437 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3132, allocations: 3.984 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3132, allocations: 4 kB / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002571/0.3135, allocations: 303.4 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002923/0.3138, allocations: 405.4 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.991e-05/0.3138, allocations: 15.98 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.3139, allocations: 107.2 kB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Backend: time 2.2e-07/0.3139, allocations: 0 / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.3144, allocations: 105.3 kB / 437.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006296/0.3151, allocations: 0.6364 MB / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of Templates: time 0.003361/0.3184, allocations: 0.7439 MB / 439.3 MB, free: 15.76 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.458948129788041] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 0.3263282380066812 0.34021068800000004 0.027715037 Calling exit ...